RetailStatementPost.accountSales Method [AX 2012]

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

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.

See Also

Reference

RetailStatementPost Class