Share via


RetailOrderManager::CreateEachOrderLine Method [AX 2012]

Create a sales lines from a retail transaction table entry for gift card item the quantity is divded into individual sales line

Syntax

client server private static InventTransId CreateEachOrderLine(
    SalesTable salesTable, 
    RetailTransactionSalesTrans salesTrans, 
    RetailTransactionTable transactionTable, 
    RetailNetAmount netAmount, 
   [boolean isGiftCardItem])

Run On

Called

Parameters

  • salesTable
    Type: SalesTable Table
    Sales order that the sales lines will be added to
  • isGiftCardItem
    Type: boolean
    If the current sales line is a giftcard item

Return Value

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

Remarks

Creates entries in SalesLine, MarkupTrans, Tax and RetailSalesLine

See Also

Reference

RetailOrderManager Class