web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Error When Cancel PO Product Receipt NonStock Item

(0) ShareShare
ReportReport
Posted on by 25

Error When Cancel PO Product Receipt NonStock Item "One or more accounting distribution is missing a ledger account or contains a ledger account that is not valid.  Use the Accounting distribution form or the Posting profile to update the ledger account." 

This message appear when trying to cancel or correct PO Product Receipt for non stocked item , While the product receipt did not create any voucher !! 

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    297,389 Super User 2025 Season 2 on at
    RE: Error When Cancel PO Product Receipt NonStock Item

    Hi Mohamed,

    So you actually do have an Accounting distribution, but the account is missing. Unfortunately, the reset button is not active now. So, like Ludwig suggested, check the inventory posting setup for missing main accounts.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Error When Cancel PO Product Receipt NonStock Item

    Hello Mohamed,

    I would recommend first going through your inventory posting matrix configuration.

    (Inventory/setup/posting/posting).

    There seems to be a setup missing, which is why you see a blank ledger account field in the form you show above.

    Once you completed the setup, try to open the form again from the PO, not the packing slip or invoice posting form.

    You might have to re-confirm the PO before you can post packing slip and invoice but this is something you can quickly check out once the accounting setup is complete.

    Best regards,

    Ludwig

  • Mohamed Salah El-Sayed Profile Picture
    25 on at
    RE: Error When Cancel PO Product Receipt NonStock Item

    This is the current situation , i need to cancel receipt no 1  

    5621.PO.jpg

  • Rachit Profile Picture
    4,015 User Group Leader on at
    RE: Error When Cancel PO Product Receipt NonStock Item

    This looks related to accounting structure rules. can you check the configuration?

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Error When Cancel PO Product Receipt NonStock Item

    Hello Mohamed,

    Have you check the financial distribution form on your PO lines and tried to complete missing details (accounts, findims)?

    That might be the easiest way to get this fixed.

    Also, do you know if somebody made changes to the account structures after the original PO product receipt was processed?

    This might be a possible explanation why things worked in the past but not any longer.

    Best regards,

    Ludwig

  • Suggested answer
    greengrimms Profile Picture
    1,400 on at
    RE: Error When Cancel PO Product Receipt NonStock Item

    Hi Mohamed,

    This is due to the LedgerDimension not being populated on the AccountingDistribution table:

    accDistribution.jpg

    As far as I know, you can navigate to the Accounting Distribution for the PO Receipt and update it there, even if the Voucher transaction hasn't been generated yet. 

    Let me know if that helps or if you need further assistance.

  • Mohamed Salah El-Sayed Profile Picture
    25 on at
    RE: Error When Cancel PO Product Receipt NonStock Item

    Hi André

    As i mentioned the original Product receipt did not create any voucher so there is no Accounting distribution as i receive a service item (Non stocked Inventory)

    So i need to cancel it also without creating any voucher

  • André Arnaud de Calavon Profile Picture
    297,389 Super User 2025 Season 2 on at
    RE: Error When Cancel PO Product Receipt NonStock Item

    Hi Mohamed,

    When you go to the accounting distributions, can you check for missing main account references? If so, try to reset the accounting distribution to see if this fixes your issue.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 775 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 634 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans