Share via


RetailStatementPost.accountPeriodicDisc Method [AX 2012]

Finds the ledger account for periodic discount for the specified periodic discount type, discount amount, item, and customer account.

Syntax

public LedgerDimensionDefaultAccount accountPeriodicDisc(
    RetailDiscountOfferId _offerId, 
    DiscAmount _periodicDiscAmount, 
    ItemId _itemId, 
    RetailItemGroupId _itemGroupId, 
    CustAccount _custAccount)

Run On

Server

Parameters

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
The ledger account to which periodic discount is posted.

Remarks

The ledger account returned is based on whether it is discount offer, mix and match or multi-buy.

See Also

Reference

RetailStatementPost Class