Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Clearing the Inventory

(0) ShareShare
ReportReport
Posted on by

Hi I need to set the inventory to 0.

It has no cost.

Can I just loop through the inventtrans table and set physical available to 0?

Thanks in advance.

*This post is locked for comments

  • Verified answer
    brianmaric Profile Picture
    brianmaric on at
    RE: Clearing the Inventory

    I found the solution.

    I can update the tracking dimension in a job and then it lets me change the inventory

  • brianmaric Profile Picture
    brianmaric on at
    RE: Clearing the Inventory

    it's not a record that was deleted.  It is the presence of a value (the batch number) where it is not allowed as dictated by the tracking dimension 'sa'

    a value exists where it is not allowed and this makes the record impossible to access.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Clearing the Inventory

    Do you have any modifications implemented in the system that might cause this behavior? I'm especially wondering about the asset and ownership dimension. Sounds like a rental scenario where items are linked to fixed assets.

    Are you aware of such kind of modifications that might be related/responsible for this?

    Best regards

    Ludwig

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Clearing the Inventory

    Unfortunately, i can't repeat it. Sorry. If you can, try to debug the process. It seems that the specified value was deleted from related table.

    And i truly recommend don't update InventTrans from backend.

  • brianmaric Profile Picture
    brianmaric on at
    RE: Clearing the Inventory

    813862.Capture.PNG

  • brianmaric Profile Picture
    brianmaric on at
    RE: Clearing the Inventory

    Just tried it...got this..

    Warning Item ITM0007813\Ownership=0000005273,Site=AMK,Warehouse=VEGAS,Batch number=A,Location=V01-01-01,Serial number=33520414,Asset number=IA000005938 Reference for ownership '0000005273' does not match the reference of the source
    Error Item ITM0007813\Ownership=0000005273,Site=AMK,Warehouse=VEGAS,Batch number=A,Location=V01-01-01,Serial number=33520414,Asset number=IA000005938 Update has been canceled.

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Clearing the Inventory

    Did you already tried to use Quantity adjustment function in On-hand inventory form?

    Screenshot-2018_2D00_10_2D00_27-at-02.28.59.png

  • brianmaric Profile Picture
    brianmaric on at
    RE: Clearing the Inventory

    Also, there is no cost on the items

  • brianmaric Profile Picture
    brianmaric on at
    RE: Clearing the Inventory

    Like I said, the tracking dimension is 'sa' and yet there is a batch number to the on hand inventory.  The inventory journals simply refuse to see it because the record has a batch number and the journal will not let you set one because the tracking dimension won't allow it.

    I have no idea how it got into this state.

  • Suggested answer
    Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: Clearing the Inventory

    Updating AX table such as InventTrans from the backend it's a not good idea.

    Can you explain what the data problem do you have?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans