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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Cancel customer order - MPOS

(0) ShareShare
ReportReport
Posted on by 155

I'm trying to cancel a customer order at MPOS and getting the below error:

customer-order-cancel-error.jpg

In the event viewer the same error is shown:

event-viewer-error_5F00_1.jpg

I have the same question (0)
  • Suggested answer
    Shaimaa Abo Gabal Profile Picture
    on at

    Hi,

    This is a product defect issue reported to us , Please check below KBs and apply the one that related to your version:

    Description:
    When the user recall some customer order and try to cancel it , POS receives error:  

    The Real-time Service call failed. This may be because of an unhandled exception or because the headquarters did not recognize the Real-time Service Profile permissions. Contact your system admin.


    pastedimage1581341919108v1.png

    - Error details from logs 

    "A record in (SalesTable) can not be edited.
    Operation can not be completed because the record was not marked for update. Remember the clauses TTSBEGIN / TTSCOMMIT and FORUPDATE."

    Root cause :

    At the beginning of the CancelCustomerOrder method, the sales table is not selected for update, this can cause errors if the code tries to update that record before it's selected for update. In 10.0.4, some logic was added to update the Estimate field on the SalesTable in a method that gets called early on in the CancelCustomerOrder flow. If that logic gets triggered it can cause the call to fail, because it is trying to update a SalesTable record that has not been selected for update. This will be fixed by a code change to select the sales table for update at the beginning of the SalesTable method.

  • Oksana Kovaliova Profile Picture
    3,597 on at

    Hi,

    You should be able to see exact error in Event viewer of F&O or Retail server (via direct event viewer access or LCS search) - this way should tell you what exactly was wrong during RTS call.

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

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

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 131 Super User 2026 Season 1

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 94 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans