Hi all, I have a MR script to create Transfer Orde...
# suitescript
s
Hi all, I have a MR script to create Transfer Order in the Reduce phase. But by script throws error saying "Unexpected Error", Cause: "internal error" in the line where record.save() api is written. Can any1 help me in finding the error, and to identify the actual cause of the error. Note: Tried record.save() with enableSourcing :true and ignoreMandatoryFields:true.
r
Check if there are any UE scripts that are deployed in the Transfer Order records. These are usually triggered by the MR script. your
record.save()
call might be triggering them and one of them is throwing the error.
👍 1
s
@rustyshackles: Got that, Thank you