InventAvailabilitySnapshot::newFromAvailability Method [AX 2012]
Creates a new availability snapshot of the specified availability object.
Syntax
client server public static InventAvailabilitySnapshot newFromAvailability(InventIAvailability _availability)
Run On
Called
Parameters
- _availability
Type: InventIAvailability Interface
The original availability object.
Return Value
Type: InventAvailabilitySnapshot Class
A new availability snapshot.
Exceptions
Exception | Condition |
---|---|
Error | Throws an error if the _availability parameter was not specified. |