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 :
Finance | Project Operations, Human Resources, ...
Answered

duplicate in inventtrans

(0) ShareShare
ReportReport
Posted on by 10

i have duplicate records in inventtrans table

the item sold only 1 unit

and if we checked the inventory we will find two records as duplicate qty

, problem is applied on all items in the sales order of the store

the sales order contains the right qty for all items

but inventtrans doesn't contain it.

version is cu12

0131.F1.png

F3.png

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello SayedMohamed,

    Is only one single sales order affected by this issue or do you see the multiplication of inventtrans lines for all of your sales orders?

    Also, you put the tag 'retail'. Can you let us know how this sales order was created (manually through an import, etc.)

    Many thanks,

    Ludwig

  • SayedMohamed Profile Picture
    10 on at

    Hello Ludwig Reinhard,

    the transaction is cash-N-Carry .

    the sales order created automatically  after posting statement for the store.

    how the transaction posted twice to inventtrans table ? we don't know?

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Sayed,

    Many thanks for the update.

    Is it possible that the automatic transfer got stuck somehow and once it reverted back created those two transactions?

    This is something you probably need to discuss with your IT/development team.

    Best regards,

    Ludwig

  • SayedMohamed Profile Picture
    10 on at

    Thanks for you

    we're already discus   all  available reasons with no result.

    and the partner also doesn't reach for the problem

    we need how to fix duplicated data in inventtrans

    and how to retrieve the duplicated transaction in inventtrans table

  • Verified answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Sayed,

    A developer can certainly 'clean' that duplicated line but the main question is why it happened and how you can make sure that it won't happen again.

    It's difficult to guess what might be the reason for that; probably one of your integrations built.

    Yet, as you have already discussed internally, another way forward would be having the MS support taking a look at the issue.

    That's what I would go for next, i.e. opening a support ticket with MS.

    Best regards,

    Ludwig

  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi Sayed,

    A developer should create a script to find the duplicate records and delete them.

    Related to the cause... are you aware of any customizations? Could it be the case that during a batch process of posting the statement the system was stopped and restarted later?

  • Suggested answer
    vinitgoyal2005 Profile Picture
    6,332 on at

    Hi Sayed,

    Once the inventtrans duplicate data is deleted check if the On-Hand inventory is showing correct values ( I am 99% sure it will not). To correct it run the consistency check for that particular item with 'Fix' parameter which will correct the on-hand data.

  • SayedMohamed Profile Picture
    10 on at

    Hi André,

    we get duplicate it by sql script but we prefer to get it from the system itself

    we think the reason of the problem during statement posting.

    Thanks

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans