Trigger lock record via suite script error
Hello everyone, I’m having a problem trying to lock a sales order record triggered from a SuiteLet, what I’m doing right now is:
Page init client script triggers a suitelet script.
Suitelet triggers workflow with N/workflow module and this is working.
The problem is that the sales record is not locked and the message I’m receiving in the system information log tab is the next:
Thanks
Hi Felipe24? Is there any reason why you use Suitelet for locking? Because If I am to do the locking, I will just do it in workflow or via UE