SalesComplementaryInvoiceHeader.editReasonCode Method [AX 2012]

Gets and sets the reason code.

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 value is true.

Return Value

Type: ReasonCode Extended Data Type
The reason code of the record in the ReasonTableRef table.
Show: