PdsRebateTableType.postLedger Method [AX 2012]

Initializes the LedgerJournal number and posts to the journal when rebate is processed.

private Voucher postLedger(boolean _forAdjustment)

Run On

Called

Parameters

_forAdjustment
Type: boolean
A Boolean value that indicates whether the rebate is an adjustment.

Return Value

Type: Voucher Extended Data Type
The voucher number.

ExceptionCondition
Error

The freight journal parameter for the rebate program module is not set correctly.

-or-

The rebate accrual journal parameter for the rebate program module is not set correctly.

-or-

The trade spending journal parameter for the rebate program module is not set correctly.

Community Additions

ADD
Show: