I have a script that's (supposed) to run on 'creat...
# suitescript
e
I have a script that's (supposed) to run on 'create' for Work Orders. Though, when a work order is created from a Sales Order (item is a special order work item), the script does not fire. I stripped out everything and am just logging the 'type' passed through, but nothing gets logged when creating a work order from a Sales Order. Any idea why this would be? (currently running on beforeSubmit)
b
special work order is not one of the event types for beforeSubmit entry point (https://system.na0.netsuite.com/app/help/helpcenter.nl?fid=section_4407992070.html)
use afterSubmit on the work order
e
@battk Thank you! I changed it to an afterSubmit and it worked. Appreciate the help!