I'm trying to cancel a customer order at MPOS and getting the below error:
In the event viewer the same error is shown:
I'm trying to cancel a customer order at MPOS and getting the below error:
In the event viewer the same error is shown:
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.
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.
- 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.
André Arnaud de Cal... 291,703 Super User 2024 Season 2
Martin Dráb 230,433 Most Valuable Professional
nmaenpaa 101,156