Posting Sales to be 2 Shipment (with new 2 number series)

Hai all…

I want to ask something about Posting Sales to be 2 New Number Series

the case is like this :

I have 2 number series for sales shipment. lets say : S-SHPT and S-SHPT2

in sales line, I add 1 field named consignment (boolean)

I have sales order …it has several items on it… items that field consignment checked, would be posted to S-SHPT2 and Items that field consignment not checked, would be posted to S-SHPT

so… does anybody can give me an idea

thanks

We did something similar…

Create New Codeunit that will:

  1. save Sales Lines into temporary table and Make Qty to Ship 0.

  2. Put First NoSeries and populate “Qty. To Ship” for First type and post using CU80

  3. Put second NoSeries and populate “Qty. To Ship” for second type and post using CU80

I will recommend remove commits in the code unit 80 for this…

could it made without new CU ?

could we just develope the CU 80 only?