Share via


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.

Return Value

Type: InventRegistrationSalesLine Class
An instance of the InventRegistrationSalesLine class.

See Also

Reference

InventRegistrationSalesLine Class