so for example i am using a billing operation to g...
# suitescript
m
so for example i am using a billing operation to generate this invoice. but this does not execute the workflow that is active on the invoice record. this workflow changes a value on 'beforeSubmit'.
I am wondering if a Script does provide this ability.
e
Workflows are just a UI on top of SuiteScript; Workflows and Scripts respond to identical triggers. If something does not trigger a Workflow, it will not trigger a Script (assuming all other conditions are the same)
m
Thanks, i will try to figure out another solution then.
I have just tested it anyhow and found that UserEvent BeforeSubmit will run with invoices generated from the billing operation but a workflow with a set fieldvalue on beforesubmit will not. Lucky me i guess ;)
e
hm, interesting