InventRegistrationSalesLine::newFromSourceDocumentLine Method [AX 2012]
Constructs and returns an instance of the InventRegistrationSalesLine class that is based on a specified SourceDocumentLine record.
Syntax
client server public static InventRegistrationSalesLine newFromSourceDocumentLine(SourceDocumentLine _sourceDocumentLine, WMSArrivalDetailTmp _wmsArrivalDetailTmp)
Run On
Called
Parameters
- _sourceDocumentLine
Type: SourceDocumentLine Table
The SourceDocumentLine 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.