
Hi everyone,
I have implemented a customization in Item Tracking Lines where I divide the line quantity by the item’s UOM quantity, split the line into that No. of lines, assign an incremented Lot No. to each line, and set the line quantity equal to the UOM quantity.
The issue I am facing is that when these lines are created through my customization, the data is not saved correctly in the Reservation Entry. However, if I copy the same lines, delete all lines, and then manually paste them back, the data is saved perfectly in the Reservation Entry.It seems that Reservation Entry is not being triggered or updated properly when Item Tracking Lines are inserted via code.
Has anyone faced a similar issue or can suggest how to properly update Reservation Entry when creating Item Tracking Lines programmatically? Any help would be appreciated.
Thanks in advance.