Changed on:
2 Jan 2024
Forward the event {eventName} if the inventory position onHand value has changed
Plugin Name | Inventory Reference Module |
---|---|
Namespace | [[account.id]].globalinventory |
The Inventory Reference Module is the foundation for inventory related implementations. It provides reference Workflows for inventory ingestion and processing. Extensible by design, use this Module as a base to build a solution to the needs of your customers.
The Inventory Module includes the following areas:
Forward the event {eventName} if the inventory position onHand value has changed
Parameter | Description |
eventName | The name of event to be triggered |
Parameter | Description | Data Type | Required? |
inventoryPositionOnHandCalculated | The newly recalculated onHand value (expected to come from the previous CalculateOnHand rule) | Integer | Required |
inventoryPositionOnHand | The current onHand (before new execution of IC workflow) | Integer | Required |
`{eventName}`
`{inventoryPositionOnHand}`
`{inventoryPositionOnHandCalculated}`
1{
2 "name": "FLUENTRETAIL.globalinventory.ForwardIfOnHandChanged",
3 "props": {
4 "eventName": "on_hand_changed"
5 }
6}
Language: json
The rule compares the
`{inventoryPositionOnHandCalculated}`
`{inventoryPositionOnHand}`
`{eventName}`
refers to plugin
Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.