PurchTable.editReasonCode Method
Gets and sets the reason code by using the ReasonCodeMap map.
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 _set is true.
Return Value
Type: ReasonCode Extended Data Type
The reason code of the record in the ReasonTableRef table.