web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Serial Number Tracking Information to Warehouse Shipment Line via API (Table 336 not Persisting)

(0) ShareShare
ReportReport
Posted on by 17

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:

  1. Which table(s) actually store the serial number tracking information for Warehouse Shipment Lines once it’s properly saved through the UI?
  2. What is the correct way (or recommended API/codeunit) to programmatically create and persist serial number tracking entries that appear in the UI just like manually added ones?
  3. If the data flows through multiple tables (e.g., temporary “Tracking Specification” buffers), could you please clarify the sequence or logic that moves data from temporary to permanent storage?

Any guidance or documentation reference on how Business Central handles item tracking persistence for warehouse documents would be greatly appreciated.

 

Thanks in advance,
 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 169

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 69 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 67

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans