ONT Blanket Sales Agreements

Description

Categories
Enginatics
Repository
GitHub
Blanket sales agreements, one row per agreement line, with the minimum and maximum quantity and amount, and the quantity and amount released, fulfilled and returned by the sales order lines that reference the agreement.

Remaining is the maximum plus the returned less the released quantity or amount, the limit that Order Management validates new releases against. Agreement level amounts are shown on the first line of each agreement only, so that they can be summed. Releases counts the sales orders with a not cancelled line released against the agreement line.

Use ONT Orders and Lines with the Sales Agreement Number parameter for the release order lines.

SQL 90 lines

Parameters 13