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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

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

(6) ShareShare
ReportReport
Posted on by 27

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,
 

Tracking Specification.png
I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    16,074 Super User 2026 Season 1 on at
    Hello,
     
    Item tracking for warehouse shipments isn’t stored directly in Table 336; that table is temporary. When you add serial numbers through the UI, data is written to Table 337 (Reservation Entry). The Item Tracking Lines page shows a temporary 336 view combining 337 and posted entries. To add tracking programmatically, use Codeunit 6500 (Item Tracking Management) or open the standard Item Tracking Lines page so it commits to 337. Posting then reads from 337 to create item ledger entries. Direct inserts into 336 won’t persist or appear in the UI.
     
    Regards,
    Oussama
  • Suggested answer
    Pallavi Phade Profile Picture
    5,622 Super User 2026 Season 1 on at
     
    Kindly use Table 337 , Reservation Entry . This is where data gets stored . Tracking Specification is temporary page which gets displayed in item tracking lines .
     
    Check Source Ref. no , Source no , Source Line no , "Positive", "Reservation status" Column . These feilds have important impact
     
    If this  helped , please mark answer as "Verified"
     
    Regards
    Pallavi Phade
  • Suggested answer
    YUN ZHU Profile Picture
    100,974 Super User 2026 Season 1 on at
    Hi, hope the following can give you some hints.
    Dynamics 365 Business Central: How to create Item Tracking Lines automatically during an inbound transaction (Customization)
     
     
    Thanks.
    ZHU
  • Suggested answer
    Aman Kakkar Profile Picture
    3,502 Super User 2026 Season 1 on at
    Hi,
     
    The source table for "Item Tracking Lines" page is temporary - 
     
     
     
    As other experts suggested, you can can find the "Item Tracking Line" details in table 337 (Reservation Entry).
     
      
    Hope this helps.
    Aman K

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,086 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,290 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,218

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans