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

CRM Order API order lock

raffinkira
Participant
0 Kudos
494

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

Accepted Solutions (1)

Accepted Solutions (1)

anborck
Participant
0 Kudos

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

Answers (0)