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...
Answered

List of tables written to when a Sales order is shipped with Lot tracking turned on.

(6) ShareShare
ReportReport
Posted on by 16
Hi is it possible to get a list of tables that are written to when a sales order is shipped that has lot tracked items on the sales order lines. 
as I cannot invoice the sales order - ite ledger entry does not exist? but it does . but I can see that there is no entry on the Tracking specificiation table. are there other tables that need to contain data ? as part of this sales shipment process. 
if I could see the table structure  and check what it is  not doing?
 
Any input welcome! 
I have the same question (0)
  • Verified answer
    Sohail Ahmed Profile Picture
    11,169 Super User 2026 Season 1 on at
    When a Sales Order with Lot Tracking is shipped in Dynamics 365 Business Central, several tables are written to as part of the process. Here's a core list of the most relevant tables involved:
     
     
    ---
     
    ✅ Core Tables Updated During Sales Shipment with Lot Tracking
     
    1. Sales Shipment Header (110)
     
     
    2. Sales Shipment Line (111)
     
     
    3. Item Ledger Entry (32)
     
     
    4. Value Entry (5802)
     
     
    5. Reservation Entry (337)
     
     
    6. Tracking Specification (336)
     
     
    7. Warehouse Entry (if WMS is enabled)
     
    Warehouse Shipment Header (7320)
     
    Warehouse Shipment Line (7321)
     
    Warehouse Register (7316)
     
     
     
     
     
    ---
     
    ⚠️ Common Causes for “Item Ledger Entry does not exist”:
     
    Tracking Specification not written correctly (Table 336)
     
    Reservation Entry is incomplete or lost before shipment
     
    Lot info not properly attached to Sales Line
     
    Customization may interfere with the standard shipping flow
     
     
     
    ---
     
    🔍 Suggested Checks:
     
    Ensure Item Tracking Lines were properly filled and assigned before shipping.
     
    Check table 337 (Reservation Entry) for correct reservations linking to the lot.
     
    Check if any integration or customization bypassed standard posting routines.
     
     
     
    ---
     
    If you’d like, I can help you write a simple query or AL snippet to trace these entries.
     
    ✅ Mark the checkbox below to make this answer Verified if it helps you.
     
     
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,810 Super User 2026 Season 1 on at
    Hello,
     
    Following Tables are updated:
    1. Sales Shipment Header (110)
    2. Sales Shipment Line (111)
    3. Item Ledger Entry (32)
    4. Value Entry (5802)
    5. Item Tracking Entry (336)
    6. Reservation Entry (337)
    7. Tracking Specification (336 or 337)
    8. Warehouse Shipment Header (7320)
    9. Warehouse Shipment Line (7321)
    10. Warehouse Entry (7312)
  • Suggested answer
    YUN ZHU Profile Picture
    99,261 Super User 2026 Season 1 on at
    This may be different depending on the sales line type you are posting.
    It is recommended that you use the Preview Posting function to view the posted tables that need to be written, plus the current tables and some master data tables, which should be all.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,204 Super User 2026 Season 1 on at

    I agree with the previous response. You can use the Preview Posting function to view the entries.

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 March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,894 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,086 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 626 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans