Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Set database log for Journal : pick (TmpInventDim).InventLocationId

Posted on by 410

I would like to setup database for Warehouse field (Location) as below.

Can you suggest me where is the table for this filed.

I found in personalize is TmpInventDim but it's not work.

(TmpInventDim).InventLocationId

2019_2D00_05_2D00_03_5F00_14_2D00_52_2D00_41.jpg

*This post is locked for comments

  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Set database log for Journal : pick (TmpInventDim).InventLocationId

    It would be very hard to do a logging on warehouse changes only for the inventory transactions. The table name is InventTrans. The warehouse is not a field directly in this table, but it is referenced using the InventDimId field. Changes on this field can be a change in any of the item dimensions like color, site, location, serial number. So, you can log the InventDimID field, but you then also have to do additional work to get a warehouse change.

    What is the exact reason that your customer wants to know these changes? I do assumen it is not just for growing the database size logging this type of change. What do they expect to get out of this logging?

  • Tanyaboon Profile Picture
    Tanyaboon 410 on at
    RE: Set database log for Journal : pick (TmpInventDim).InventLocationId

    Thank you very much Ludwig Reinhard

    Could you advise me what table and module for this form ?

    So I can testing as you advised.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Set database log for Journal : pick (TmpInventDim).InventLocationId

    Hello Tanyaboon,

    Inventory transactions can in general be logged.

    However, as you have probably many inventory transactions, you have to be very careful with the fields that you select for logging.

    Otherwise you might see performance effects on your system.

    MS does in general not recommend logging transaction data.

    If you only log the warehouse fields, things might however be ok from a performance perspective.

    Before doing that, please test this carefully in a demo/test environment before you apply this in the live system.

    Best regards,

    Ludwig

  • Tanyaboon Profile Picture
    Tanyaboon 410 on at
    RE: Set database log for Journal : pick (TmpInventDim).InventLocationId

    Thank you André Arnaud de Calavon and Ludwig Reinhard for the reply.

    My client would like to check database log for Warehouse field in Inventory Transactions to know that who change warehouse location. But I tried to setup for InventDim but it's not work.

    2019_2D00_05_2D00_07_5F00_10_2D00_45_2D00_531.jpg

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: Set database log for Journal : pick (TmpInventDim).InventLocationId

    Hi Tanyaboon,

    The TmpInventDim is a temporary table and thus excluded from a database log. What is the purpose for logging the warehouse change?

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: AX2012R3 : Set database log for Journal : pick (TmpInventDim).InventLocationId

    Hello Tanyaboon,

    Why is it that you want to track/log transactional data?

    Best regards,

    Ludwig

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans