RetailStatementPost.accountSalesDisc Method [AX 2012]

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

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.

See Also

Reference

RetailStatementPost Class