UpdateOnHand
Rule
Changed on:
12 Aug 2025
Overview
Update the onHand value of the Inventory Position according to the event attribute {InventoryPositionOnHandCalculated}| Plugin Name | Inventory Reference Module |
|---|---|
| Namespace | [[account.id]].globalinventory |
- Product Catalogue workflow
- Inventory Catalogue workflow
- Control Group workflow
- Virtual Catalogue workflow
UI Description
Update the onHand value of the Inventory Position according to the event attribute {InventoryPositionOnHandCalculated}
Accepts
- INVENTORY_POSITION
Actions
- This rule produces a MutationAction that will update the given inventory's position onHand based on the above event attribute {InventoryPositionOnHandCalculated}
Rule parameters
This rule doesn't need any Input Parameters
Event attributes
| Parameter | Description | Data Type | Required? |
| InventoryPositionOnHandCalculated | The value for the new onHand | Integer | Required |
Exceptions
If the event attribute
`{InventoryPositionOnHandCalculated}` is missing, an exception EventAttributeNotFoundException will be thrown.Configuration example
1{
2 "name": "FLUENTRETAIL.globalinventory.UpdateOnHand"
3}Detailed Technical Description
The Inventory Positions`onHand` value will be updated by a `MutationAction` using the `{InventoryPositionOnHandCalculated}` value given in the event attributes.