[29.x] Hardening subscription billing + drop shipment scenarios - #11060
[29.x] Hardening subscription billing + drop shipment scenarios#11060Joshua (mynjj) wants to merge 1 commit into
Conversation
Good Sense Reviewer - Round 1Recommendation: Accept with SuggestionsWhat this PR doesThis change creates subscription headers from the posted item-journal quantity when that quantity is available, and it also marks subscription item sales lines as invoiced when a drop shipment purchase receipt closes the associated sales order line. The quantity change is targeted: it keeps the old Problem-solution fitFit: Strong The diff addresses both reported problems. Subscription quantity now comes from the posted quantity when available, and the drop shipment close path applies the same fake-invoicing fields that already exist for the normal sales posting path. SuggestionsS1 (🟠 Moderate): Set the blank quantity setup in the test Risk assessment and necessityRisk: The regression surface is Subscription Billing around sales order release, purchase receipt posting for drop shipment, and persisted sales-line invoicing quantities. The change is limited to subscription item lines by Necessity: The change is needed because a zero subscription quantity can produce wrong downstream billing data, and a drop shipment sales order line can remain treated as shipped-not-invoiced after the purchase receipt. The scope is small and matches the affected document flow.
|
Two scenarios stemming form a customer case:
Fixes:
Obviously, verified locally the scenarios and added tests.
Fixes AB#649144