Share via


SalesLineWMSRegistrationObserver::newfromSalesLine Method [AX 2012]

Creates and instance and initiates an object of the TradeWMSRegistrationObsSalesLine class based on a table buffer.

Syntax

client server public static SalesLineWMSRegistrationObserver newfromSalesLine(SalesLine _salesLine)

Run On

Called

Parameters

Return Value

Type: SalesLineWMSRegistrationObserver Class
An object of the TradeWMSRegistrationObsSalesLine class.

Exceptions

Exception Condition
Error

The method is called without an existing sales line record.

See Also

Reference

SalesLineWMSRegistrationObserver Class