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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

D365: Inventory Transactions - User ID who created record

(3) ShareShare
ReportReport
Posted on by 23
Hello,
 
We recently had a user execute the "warehouse Management inventory status change" functionality using the wrong filters, changing a large number of inventory pallets to an undesired inventory status.  There is a "created by" and two "modified by" fields on the table, but none are the actual user that resulted in the new record being created.   Data Source:  InventTrans, InventTransOrigin
 
 
Example of inventory transactions:
 
 
The "created by" field is related to the inventory dimension, and "Modified by" fields are related to the inventory dimension and inventory module parameter.  They are not related to the inventory transaction, and thus are not dependable for audit reasons.
 
 
How can I audit which user caused these inventory transaction records to be completed?   
 
Thank You,
Brad
 
I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,803 Most Valuable Professional on at
    Most likely, you'd have to set up logging before the change happened.
     
    InventTrans table doesn't have either CreatedBy or ModifiedBy enabled by default; you'd have to create an extension to start populating the values. You could also configure DB logging, but it would also have to be done beforehand and actually doing that on inventory transaction would be a bad of idea because of performance implications.
  • Verified answer
    Jonas "Jones" Melgaard Profile Picture
    4,926 Most Valuable Professional on at
    Hi Brad,
     
    I fully agree with Martin, especially the DB logging on inventory transactions.
     
    On an unrelated note: Warehouse Management / WHS is using something called quarantine transactions (WHSWorkQuarantine) to do the status changes in this job. It's not available from the user interface as far as I recall, but in a pinch you can have a developer or administrator help you to extract the data for analysis. It also contains the user that performed the change.
     
    Here is an example from my sandbox environment, where I have changed the status of all of my A0001 items. 
     
     
  • BradleyBrown_D365F&O Profile Picture
    23 on at
    Thank you Jones and Martin for your suggested answers.  This was incredibly helpful, letting me know the exact user id was in fact not on the inventory transaction table.  I understand a log would show the user creating records, but adding to such a high volume table is not encouraged. The suggestion to look at the WHSWorkQuarantine was exactly the work around I was looking for.  I used my system admin role in combination with the Table Browser extension to view it.  I do not have to setup additional logging, and this helps identify the true user who performed the change, which I ultimately want available should it happen again. 

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 266 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans