
Hello everyone,
I’m trying to programmatically add item tracking information (specifically serial numbers) to a Warehouse Shipment Line record in Business Central.
Here’s what I’ve done and what I’m struggling with:
I attempted to insert records into Table 336 “Tracking Specification” through a custom codeunit.
The insert operation executes successfully, but the records do not appear in the UI (e.g., under “Line Tracking” in the Warehouse Shipment Line page).
Additionally, when I check the database, I can’t find any persisted record in Table 336 after insertion — even though, when I add tracking lines manually through the UI, the data is visible and remains there even after logout and login again.
This makes me suspect that the tracking information is stored in another related table or is being managed through a temporary or buffer table before being committed by a posting process or background function.
So, my questions are:
Any guidance or documentation reference on how Business Central handles item tracking persistence for warehouse documents would be greatly appreciated.
Thanks in advance,