I need to create a file on save of a transaction, ...
# suitescript
j
I need to create a file on save of a transaction, and save the file in a field on that transaction. I can’t seem to return a value of type File though in the Workflow action. Thoughts?
b
potentially return the internal id of the created file
otherwise set the field in the script
j
yeah I think I’ll do the latter
makes it less reusable but not a biggie
j
• return an internal ID • stored the internal ID in a workflow field (integer type) • set the File field on the record per the workflow field
j
Yeah that’s a possibility. I hate WF fields though.