AdvancedLedgerEntryHeader.editReasonCode Method
Gets or sets a reason code.
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 to set.
Return Value
Type: ReasonCode Extended Data Type
The reason code of the record in the ReasonTableRef table.
Remarks
This method only sets the reason code when the value of the _set parameter is true.