Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an inventMovement object based on a InventTransOrigin record.
Syntax
public InventMovement inventMovement([InventDirection _direction, boolean _noThrow])
Run On
Called
Parameters
- _direction
Type: InventDirection Enumeration
For InventTransOrigin records where different movement classes are used for issues and receipts the _direction parameter can be used to specify direction.
- _noThrow
Type: boolean
A Boolean value that specifies whether to throw an exception if movement cannot be created.
Return Value
Type: InventMovement Class
An inventMovement object.
Exceptions
Exception | Condition |
---|---|
Error | The corresponding movement can no longer be created. |