InventRegistrationSalesLine::newFromSalesLine Method [AX 2012]
Constructs and returns an instance of the InventRegistrationSalesLine class that is based on a specified SalesLine record.
Syntax
client server public static InventRegistrationSalesLine newFromSalesLine(SalesLine _salesLine, [WMSArrivalDetailTmp _wmsArrivalDetailTmp])
Run On
Called
Parameters
- _salesLine
Type: SalesLine Table
The SalesLine record on which the InventRegistrationSalesLine object will be based.
- _wmsArrivalDetailTmp
Type: WMSArrivalDetailTmp Table
A WMSArrivalDetailTmp record.
Return Value
Type: InventRegistrationSalesLine Class
An instance of the InventRegistrationSalesLine class.