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 revenue for the specified item and customer account.
Syntax
public LedgerDimensionDefaultAccount accountSales(
ItemId _itemId,
RetailItemGroupId _itemGroupId,
CustAccount _custAccount)
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The current value of the item ID.
- _itemGroupId
Type: RetailItemGroupId Extended Data Type
The current value of the 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 revenue is posted.
Remarks
This method calls the accountItemLedgerDimension method to find the ledger account.