RetailPricingEngineHelper::getCrtRetailSalesLine Method [AX 2012]

Construct a SalesLine object from the Commerce Runtime from the SalesLine AX table record.

client server public static CLRObject getCrtRetailSalesLine(
    SalesPurchLine _salesLine, 
    RetailSalesPurchLineMap _retailSalesLine, 
    SalesUnit _defaultSalesUnit)

Run On



Type: SalesPurchLine Map
The SalesLine record to convert to a Commerce Runtime SalesLine object.
Type: RetailSalesPurchLineMap Map
The RetailSalesPurchLineMap record.
Type: SalesUnit Extended Data Type
Default unit of measure for sales.

Return Value

Type: CLRObject Class
The new Commerce Runtime SalesLine object.