Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _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 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.