Very good tutorial, but I doubt if brad try to modify before adding a new one can block that does not modify that just follow the steps in the workflow?
Thanks for the nice video, I have some issues in workflow javascripts: 1. How to set value for a UDF on journal entry header 2. We are trying to set original journal entry type during journal entry add() process. But it does not update it. 3. We are getting an error while trying to update() a UDF on an A/R Invoice. Error is (com.sap.b1wf.engine.exception.WFException: Exception raised during script execution, Error during invoke DI service, service: InvoicesService, command code: Update, param count: 1, error message: Client received SOAP Fault from server: [OINV.SysRate] , 'Field cannot be updated (ODBC -1029)' Please see the server log to find more detail regarding exact cause of the failure.).