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 sales discount for the item and customer account passed as parameter.
Syntax
public LedgerDimensionDefaultAccount accountSalesDisc(
ItemId _itemId,
RetailItemGroupId _itemGroupId,
CustAccount _custAccount)
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The current value of item ID.
- _itemGroupId
Type: RetailItemGroupId Extended Data Type
The current value of Item group ID.
- _custAccount
Type: CustAccount Extended Data Type
The current value of customer account.
Return Value
Type: LedgerDimensionDefaultAccount Extended Data Type
The ledger account to which sales discount is posted.
Remarks
This method calls the accountItemLedgerDimension method to find the ledger account.