RetailOrderManager::CreateOrderLines Method [AX 2012]

Create a sales lines from a retail transaction table entry

client server private static RecId CreateOrderLines(SalesTable salesTable, RetailTransactionTable transactionTable)

Run On

Called

Parameters

salesTable
Type: SalesTable Table
Sales order that the sales lines will be added to
transactionTable
Type: RetailTransactionTable Table
Retail transaction table entry that the lines will be created from

Return Value

Type: RecId Extended Data Type
largest InventTransId for the sales lines created

Creates entries in SalesLine, MarkupTrans, Tax and RetailSalesLine

Show: