Replies: 1 comment
-
I contacted MSFT and the logic is by design. At the time the customer is added the system doesn't know that the order is not a carry out. So it treats it as such. Hope this will help others that ran into the same issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In HQ the flag under the customer master is set to "Invoice", not 'All.
In HQ when the user adds a call center order, he/she is just given a warning message but the order can be created.
In CPOS however, when the user tries to add the customer to the cart, he/she is stopped with an error: "The customer has been blocked. Sales or transactions are no allowed".
When I right-click on the message and select Inspect, I see the message in the HTML code of the message dialog. However I cannot find where it is generated and thus what is the code that triggers it.
I have to change it to be a warning, same as for call center orders in HQ, and then to allow the flow to continue with the customer being added to the cart.
We have custom on GetCustomersServiceRequest trigger in the CRT.
When I add a breakpoint on this trigger to just see what the OnExecuted return, I can see that the Blocked is returned as true and the blockType has the value 1. 1 = Invoice.
Can anybody please point me to the trigger on the POS side or the CRT side that generates this error so that I can see if I have an extension point to override it. Note I need it when it is displayed on adding the customer to the cart, retailOperation = SetCustomer. We still want this error when the user tries to mark it as packed in CPOS.
Any help is much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions