Hello.
In the M3EDI SalesOrder Load mapping we would like to use the line numbers provided in the file for the line number in m3, instead of the line numbers generated from OIS100 AddBatchLine.
We are using the line number from the file as input as CUPO in AddbatchLine, but this is not being used when creating the actual line number, PONR is being created from scratch.
Our current plan for this is OIS100 AddBatchHead -> AddBatchLine -> Confirm (So far everything i standard) -> Check the line numbers from the incoming file with the line numbers generated in m3 -> Where there is a mismatch run DelLineBatchEnt -> AddOrderLine with the correct line number from the file.
Is there a better way to do this? AddBatchLine doesn't take PONR as an input, but is there a way we can use the correct line numbers from the file earlier in the process, when the batch order lines are created?
Thank you
Runar