InventModelType.checkNewDimensionGroupsForItem Method [AX 2012]
Validates that the suggested new dimension groups can be used for the specified item.
Syntax
public boolean checkNewDimensionGroupsForItem(
InventDimGroupSetup _inventDimGroupSetupOrig,
InventDimGroupSetup _inventDimGroupSetupNew,
ItemId _itemId,
InventModelGroupId _modelGroupId)
Run On
Called
Parameters
- _inventDimGroupSetupOrig
Type: InventDimGroupSetup Class
The original set of dimension groups for the item.
- _inventDimGroupSetupNew
Type: InventDimGroupSetup Class
The suggested set of new dimension groups for the item.
- _itemId
Type: ItemId Extended Data Type
The item for which the validation is performed.
- _modelGroupId
Type: InventModelGroupId Extended Data Type
The inventory model group for the item.
Return Value
Type: boolean
true if validation is successful; otherwise, false.