Skip to main content

Notifications

Announcements

No record found.

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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,768 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,985 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans