Hi All
I have an integration that needs to skip the document if a source fields contains a certain value. It works, but always writes an error instead of successful exit status when I use CancelDocument
The Syntax is supposed to be:
CancelDocument [message, source, status_code, field_name, field_value]
I tried
CancelDocument "PO already exists" & SourceFields("PORef"), , 0
I also tried filling in all 5 parameters, but it still writes an error instead of just a message.
Am I doing something wrong, or will cancel document ALWAYS generate an error?
TIA
Mark
*This post is locked for comments