CRM_ORDER_SAVE. how to identify the lock after commit work and save
I am updating a status, using crm_order_save , then commit work and wait and crm_order_initialize before i update the status to next status for the same item.
I am facing an error when i change the same item status to another status i get error some times cannot change the error.. if i keep commit work an save and wait up to 20 seconds it works ..
Is there any way to look for the lock object for the header guid.. instead of putting wait up to 20 secs.
what is the FM or lock object to check the order is not committed or still system is updating or its in middleware processing.