A function for the SO header WF 0 cancels the SO and line automatuiclly
Would like your help.
we have a customized WF that is in the OE header, has an approval process..... IF rejected we placed teh function "REJECT_PENDING_CANC: OE_RMA_WF. UPD_FLOW_STATUS_CODE_REJ"
now users would like to have the SO auto cancelled after rejection instead of going in to each SO and manually cancel it
Can anyone be so kind to have and share a function to be used in the WF that knows how to cancel the SO and the referenced lines
Thanks in advance
Michael