VendInvoiceTrans.editReasonCode Method
Gets and sets the reason code by using a ReasonCodeMap object.
Syntax
edit ReasonCode editReasonCode(boolean _set, ReasonCode _reasonCode)
Run On
Called
Parameters
- _set
Type: boolean
A Boolean value that indicates whether the reason code is set.
- _reasonCode
Type: ReasonCode Extended Data Type
The new reason code when the _set parameter is true.
Return Value
Type: ReasonCode Extended Data Type
The reason code of the record in the ReasonTableRef table.