VendDocumentLineMap.editReasonCode Method [AX 2012]

Gets and sets the reason code by using a ReasonCodeMap object.

public ReasonCode editReasonCode(boolean _set, ReasonCode _reasonCode)

Run On

Called

Parameters

_set
Type: boolean
A Boolean value that specifies 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 the record in the ReasonTableRef table.

Community Additions

ADD
Show: