I created a Data Directive BPM that points to a function to update/populate an ud field in orderhed. However, after it updates the ud field, the end user does anything else besides hit refresh it throughs the error row has been modified by a another user.
In the function I am Invoking BO SalesOrder.GetByID–>UpdateTableByQuery–>Invoke BO SalesOder.MasterUpdate.
As a rule of thumb, you should really avoid data directives whenever you can anyways. Method directives lead to fewer problems. Not saying you can’t use data directives. But if you have a choice with little consequence, choose the method.