InventModelTypeFactory.getInventModelTypeFromInventModel Method [AX 2012]
Creates a new instance of a subclass of the InventModelType class.
Syntax
public InventModelType getInventModelTypeFromInventModel(InventModel _inventModel)
Run On
Called
Parameters
- _inventModel
Type: InventModel Enumeration
Specifies the subclass that is to be created.
Return Value
Type: InventModelType Class
An instance of a subclass of the InventModelType class.
Exceptions
Exception | Condition |
---|---|
Error | The value of the _inventModel parameter does not specify a valid subclass. |