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 :
Supply chain | Supply Chain Management, Commerce
Answered

Finding table name and field for warehouse on SO header or lines in databse log

(0) ShareShare
ReportReport
Posted on by 45

Hello,

I need to track warehouse change on Sales order using databse log

but I cannot find the table name or field name 

Can you please help

Thanks

I have the same question (0)
  • Suggested answer
    Danny Bilodeau Profile Picture
    4,687 Super User 2025 Season 2 on at
    RE: Finding table name and field for warehouse on SO header or lines in databse log

    Hi Chourouk,

    You will find under the <Trade> node.  If you select Show Table names, you will find these:

    pastedimage1665103367797v1.png pastedimage1665103385303v2.png

  • Chourouk Souissi Profile Picture
    45 on at
    RE: Finding table name and field for warehouse on SO header or lines in databse log

    Hello Danny,

    thank you for your reply

    I couldnt find the field related to Warehouse on that table

    Could you please help?

    thanks

  • Verified answer
    Danny Bilodeau Profile Picture
    4,687 Super User 2025 Season 2 on at
    RE: Finding table name and field for warehouse on SO header or lines in databse log

    Hi Chourouk,

    In the Sales Table, the warehouse field name is actually <InventLocationID>.  You can validate in the table itself if you have the table viewer extension for Google.

    In the SalesLine table, you have to look for teh field <InventDimID>.  There is a unique InventDim value for a specific combination of all inventory dimensions (Product, Storage and Tracing).  Any changes in one of these will cause the InventDim to be changed.

    Kind regards,

    Danny

  • Chourouk Souissi Profile Picture
    45 on at
    RE: Finding table name and field for warehouse on SO header or lines in databse log

    Thank you Danny for your reply

    As InventDimID do not show the old and new values for the Warehouse directly I used Sales table (InventLocationId)


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 > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 947

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 176 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans