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.
Assigns product, storage, and tracking dimension groups to an item.
Syntax
server public static void updateDimensionGroupsForItem(
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.
Exceptions
Exception | Condition |
---|---|
Error | A validation to see whether the groups cannot be assigned. |