RetailPricingEngineHelper::getCrtRetailSalesLine Method [AX 2012]
Construct a SalesLine object from the Commerce Runtime from the SalesLine AX table record.
Syntax
client server public static CLRObject getCrtRetailSalesLine(
SalesPurchLine _salesLine,
RetailSalesPurchLineMap _retailSalesLine,
SalesUnit _defaultSalesUnit)
Run On
Called
Parameters
- _salesLine
Type: SalesPurchLine Map
The SalesLine record to convert to a Commerce Runtime SalesLine object.
- _retailSalesLine
Type: RetailSalesPurchLineMap Map
The RetailSalesPurchLineMap record.
- _defaultSalesUnit
Type: SalesUnit Extended Data Type
Default unit of measure for sales.
Return Value
Type: CLRObject Class
The new Commerce Runtime SalesLine object.