Skip to main content

Notifications

Microsoft Dynamics AX forum
Answered

workflow error-the state of the source document or source document line cannot be updated one or more accounting dictributions is missing a ledger account or contains a ledger account that is not valid. use the accountinf distribution form or the posting p

Posted on by Microsoft Employee

hello-

I am getting this PO workflow error- does anyone know what I need to fix?

Once the invoice is approved, I have to approve and complete because there's a variance. The invoice errors as it's trying to post.

the state of the source document or source document line cannot be updated one or more accounting distribution's is missing a ledger account or contains a ledger account that is not valid. use the accounting distribution form or the posting profile to u

Categories:
  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: workflow error-the state of the source document or source document line cannot be updated one or more accounting dictributions is missing a ledger account or contains a ledger account that is not valid. use the accountinf distribution form or the posti

    Can you please elaborate the path where the setup is missing ..?

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: workflow error-the state of the source document or source document line cannot be updated one or more accounting dictributions is missing a ledger account or contains a ledger account that is not valid. use the accountinf distribution form or the posti

    ledger account was missing on distributions setup...we added in ledger acct and posted successfully no more errors.

  • Suggested answer
    Fredrik Sætre Profile Picture
    Fredrik Sætre 12,644 on at
    RE: workflow error-the state of the source document or source document line cannot be updated one or more accounting dictributions is missing a ledger account or contains a ledger account that is not valid. use the accountinf distribution form or the posti

    Go to your posting profiles (Inventory Management > Setup > Profiles) and make sure that you have accounts for all the required accounts.

    Also run the consistency check (System > Periodic > (somewhere)) for financial and inventory management to see if there are any inconsistencies.

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,682 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,000 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans