RetailStatementPostSalesOrders.createAggregatedSaleLines Method [AX 2012]

Creates the sales line records in the SalesLine table for every related sales transaction.

public boolean createAggregatedSaleLines(
    boolean _forSales, 
    RetailTransactionTable _rboAggregatedHeaders, 
    SalesTable _salesHeader)

Run On

Called

Parameters

_forSales
Type: boolean
A Boolean value that indicates whether the transaction is a sales transaction.
_rboAggregatedHeaders
Type: RetailTransactionTable Table
The current RetailTransactionTable record.
_salesHeader
Type: SalesTable Table
The current SalesTable record.

Return Value

Type: boolean
true if the lines are created in the table; otherwise, false.
Show: