SalesLine.editReasonCode Method [AX 2012]

Gets and sets a 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 parameter is true.

Return Value

Type: ReasonCode Extended Data Type
The reason code of a ReasonTableRef record.
Show: