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 19
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
 
  • BradleyBrown_D365F&O Profile Picture
    19 on at
    D365: Inventory Transactions - User ID who created record
    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. 
  • Verified answer
    Jonas "Jones" Melgaard Profile Picture
    3,510 Super User 2025 Season 1 on at
    D365: Inventory Transactions - User ID who created record
    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. 
     
     
  • Verified answer
    Martin Dráb Profile Picture
    233,013 Most Valuable Professional on at
    D365: Inventory Transactions - User ID who created record
    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans