Hello!
I have been tasked to create or alter the numbering sequence logic for child orders created from Blanket orders. The goal is to have the sales order number produced by the create child orders process include the original blanket order number, followed by a dash and a sequence depending on the number of child orders being created. Example below:
Blanket Order is created with 5 line items that is expected to result in 5 child orders, the OrderNbr for this blanket order is 000001
Those 5 child orders should have the following as their OrderNbr:
000001-1
000001-2
000001-3
000001-4
000001-5
I suspect we will need to alter the numbering sequence to accommodate the increased size of the sequence start and end number, but I am lost as to where we would inject the logic to achieve the above.
Any help or guidance would be greatly appreciated!