RetailStatementPost.accountPeriodicDisc Method [AX 2012]
Finds the ledger account for periodic discount for the specified periodic discount type, discount amount, item, and customer account.
public LedgerDimensionDefaultAccount accountPeriodicDisc(
RetailDiscountOfferId _offerId,
DiscAmount _periodicDiscAmount,
ItemId _itemId,
RetailItemGroupId _itemGroupId,
CustAccount _custAccount)
Run On
ServerParameters
- _offerId
- Type: RetailDiscountOfferId Extended Data Type
A RetailPeriodicOfferId value.
- _periodicDiscAmount
- Type: DiscAmount Extended Data Type
A DiscAmount object.
- _itemId
- Type: ItemId Extended Data Type
The item ID.
- _itemGroupId
- Type: RetailItemGroupId Extended Data Type
The item group ID.
- _custAccount
- Type: CustAccount Extended Data Type
The customer account.
Return Value
Type: LedgerDimensionDefaultAccount Extended Data TypeThe ledger account to which periodic discount is posted.
Community Additions
ADD
Show: