InventTableInventoryDimensionGroups::newFromItemAndDimGroups Method [AX 2012]
Creates a new instance of InventTableInventoryDimensionGroups class by using the item and dimension groups.
Syntax
server public static InventTableInventoryDimensionGroups newFromItemAndDimGroups(
DataAreaId _itemDataAreaId,
ItemId _itemId,
EcoResStorageDimensionGroupRecId _ecoResStorageDimensionGroupRecIdNew,
EcoResTrackingDimensionGroupRecId _ecoResTrackingDimensionGroupRecIdNew,
[EcoResProductRecId _product])
Run On
Server
Parameters
- _itemDataAreaId
Type: DataAreaId Extended Data Type
The dataAreaId field for the item for which dimension groups are assigned.
- _itemId
Type: ItemId Extended Data Type
The item for which dimension groups are assigned.
- _ecoResStorageDimensionGroupRecIdNew
Type: EcoResStorageDimensionGroupRecId Extended Data Type
The storage dimension group that is assigned to the item.
- _ecoResTrackingDimensionGroupRecIdNew
Type: EcoResTrackingDimensionGroupRecId Extended Data Type
The tracking dimension group that is assigned to the item.
- _product
Type: EcoResProductRecId Extended Data Type
The product for which dimension groups are assigned; optional.
Return Value
Type: InventTableInventoryDimensionGroups Class
An instance of the InventTableInventoryDimensionGroups class.