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
CalledParameters
- _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 TypeThe reason code of the record in the ReasonTableRef table.
Community Additions
ADD
Show: