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
- _salesLine
Type: SalesLine Table
A buffer of the SalesLine table.
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. |