Hi
i need some help as i process the order then the 3rd party websop site will assign the lot number. But after getting the lot number i also add the item tracking lines but it inserts the quantity same as in lines but when i check the tracking lines it always show the negative inventory. So kindly help me to solve this negative inventory problem in business central on item tracking lines.
Below i have attached the snap of negative inventory and also the code lines that insert in the item tracking lines.

