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

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.

See Also

Reference

InventModelTypeFactory Class