LedgerAllocationRequest.initParameters Method [AX 2012]

Initializes the LedgerAllocationRequest class with the specified fields.

public void initParameters(
    LedgerAllocationRuleID _ruleId, 
    TransDate _asOfDate, 
    TransDate _glPostDate, 
    LedgerAllocationZeroSourceMode _zeroSource, 
    LedgerAllocationProcessMode _processOptions, 
    ReasonRefRecID _reasonRefRecId, 
    PostReleaseDate _releaseDate)

Run On

Called

Parameters

_ruleId
Type: LedgerAllocationRuleID Extended Data Type
The ID of the rule selected.
_asOfDate
Type: TransDate Extended Data Type
The value of the AsOfDate.
_glPostDate
Type: TransDate Extended Data Type
The transaction date for the GL postings.
_zeroSource
Type: LedgerAllocationZeroSourceMode Enumeration
The value of the LedgerAllocationZeroSourceMode type selected on the form.
_processOptions
Type: LedgerAllocationProcessMode Enumeration
The value of the LedgerAllocationProcessMode type on which it depends whether to post the journal.
_reasonRefRecId
Type: ReasonRefRecID Extended Data Type
The corresponding record ID of the selected ReasonCode field value and ReasonComment field value from ReasonTableRef table.
_releaseDate
Type: PostReleaseDate Extended Data Type
The date that the transaction can be posted. If the field is blank, the transaction can be posted immediately.

Community Additions

ADD
Show: