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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Posting of order (number) canceled

(0) ShareShare
ReportReport
Posted on by 110

Hi experts,

I have a need to create Product receipts from Purchase Orders,

I researched and take reference by this code Create Purchase Orders - Confirm - Product receipt - Post PO using X++ - Dynamics 365 Finance, SCM Archive (nuxulu.com).

This code works fine and create 4 product receipts in a row.

But when I use this code to post 2 receipts, for example I have 2 POs 00001 and 00002,

This code post PO 00001 successfully but when it post PO 00002, the warning "Posting of order 00001 canceled" raised.

How can I troubleshoot this issue ?

Thanks in advanced

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Hi Nguyen,

    you can troubleshoot it by debugging. 

  • Nguyen Do Huy Profile Picture
    110 on at

    Hi Nikolaos, I tried debugging but It throw the eror at the purchformletter.update(). it does not help much

  • ToddB Profile Picture
    Microsoft Employee on at

    Hi Nguyen,

    I saw the previous thread below:

    Posting a Product Receipt with Item Registration through code Dynamics 365 Finance and Operations X++

    https://community.dynam

    ics.com/ax/b/shabibax/posts/posting-a-product-receipt-with-item-registration-through-code-dynamics-365-finance-and-operations-x

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans