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 :
Microsoft Dynamics AX (Archived)

Error while Posting Movment Journal : Account number for transaction type Inventory, inventory loss does not exist.

(0) ShareShare
ReportReport
Posted on by

Hello Everyone !

I am creating and posting a movement journal through code. my journal is being created and validate properly but when it come to posting it throws an error "Account number for transaction type Inventory, inventory Profit does not exist."

some time error is :  "Account number for transaction type Inventory, inventory loss does not exist."

I have no idea why is it throwing this error. From error description I can only  understand that there is some connection missing in accounts connected with accounts but even it doesnt give me any clue as i have weak functional understanding.

Thanks.

1884.error.png

*This post is locked for comments

I have the same question (1)
  • Wali Ullah Khan Profile Picture
    55 on at

    Hi Gulfam,

    Did you check the Item group for the items which you inserted with your query that they have correct account mapping in it?

    Cheers!

    Wali

  • Verified answer
    Pravasti AK Profile Picture
    2,985 on at

    Hi,

    I think it should have some records do not have completed GL code in this table. You can manual specify GL code in this table also. And run inventory closing process again.

    also 

    check at table inventtransposting, search for suspect items that do not have ledger account specify for transaction type Production issue.

  • Community Member Profile Picture
    on at

    Thank you both for the reply.

    I have create movement journal from movement journal form with same items and same offset account with same dimensions and posted it, it worked fine.

    I assume that if there is any problem with account mapping or item group connections then it shouldn't have posted the manual journal. Isn't that the case ?

    Thanks

  • Suggested answer
    Pravasti AK Profile Picture
    2,985 on at

    Hi,

     I think the error only occurs in certain legal entities, in other legal entities the postings goes through with no problem r else it persists.

  • Community Member Profile Picture
    on at

    As i mentioned in my last comment, I have created manual movement journals and posted then with same item, dimensions, offset account and same company/legal entity.

    still facing error for journal through code.

  • Suggested answer
    Pravasti AK Profile Picture
    2,985 on at

    Hi,

    The error is with the journalcheckpost class. There is something wrong with the ledger account-financial dimension combination that you use for posting and that is not setup in your account structures.

  • Yasir Shahzad Profile Picture
    1,635 on at

    Dear M.Gulfam....have you insert these journals through DMF?

    Regards

  • Verified answer
    Wali Ullah Khan Profile Picture
    55 on at

    Hi Gulfam,

    Yup, absolutely you are right. Inventory Profit and loss accounts generally used for inventory adjustment transaction and in case if you even don't have these account mapping you will be still able to post your movement journal as it does use your adjustment account.

    Can you please recheck your item group (Inventory Adjustment account).

    Cheers!

    Wali

  • Verified answer
    Community Member Profile Picture
    on at

    There was an error in ledger dimension and default dimension for the journal.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans