SalesTable.editReasonCodeTH Method
Gets and sets the reason code.
Syntax
edit ReasonCode editReasonCodeTH(boolean set, ReasonCode _reasonCode)
Run On
Called
Parameters
- set
Type: boolean
true if the reason code is set; otherwise, set to false.
- _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.