Hi guys,
I need some advice on how to update source data during Even Handler action ? The explanation is like this :
- I have a form, lets say Sales Order
- I created an On modified Event Handler on some of its field (lets say Delivery date), This Event Handler will activate a batch job doing some routine, and in the end it will need to update back this Sales Table in this Sales Order data source to acknowledge that the action is done. It need update some field in Sales Table, lets just say ActionId and Action Date.
The thing is, Sales Order form, is still in Edit mode, right? When the event handler update back Sales Table, it success. But if in Sales Order form, it will have a message saying, "Cannot edit record. The record shown has been updated by another user Press revert or...…"
Understand the cause of it, only don't know how to handle this such case ?
Kindly advice.
Thanks