cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CRM Order API order lock

raffinkira
Participant
0 Likes
547

Hi all,

I have a question about CRM Order API, for example, CRM_ORDER_MAINTAIN.

As we know, on Web UI, if you tried to edit an order which was already being edited by someone else, you would see a message said this order was locked and you cannot go on to edit.

My question is, if order was updated by API call, would order be locked to prevent from updating from another API call? In a nutshell, how does CRM Order API handle with the concurrent invoke?

Regards,
Eric

View Entire Topic
anborck
Participant
0 Likes

Hi Eric,

if you use FuBa 'CRM_ORDER_MAINTAIN', the document will be locked properly. In case the document is already locked, you will get the exception 'DOCUMENT_LOCKED'.

Regards,
Andre