Changed on:
25 Aug 2024
Conditionally trigger another Ruleset when the Inventory Quantity of the specified type does NOT exist.
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 event {eventName} if the inventory quantity of the type {type} does NOT exist.
Name | Type | Description |
|
| The name of event to be triggered if inventory quantity of the specified type does not exist |
|
| Inventory quantity type |
Name | Type | Description | Required? |
inventoryQuantityExists | Boolean | Indicates if the inventory quantity exists or not | Optional |
inventoryQuantityTypes | List<String> | All the inventory quantity types that exist for the given inventory position | Optional |
This rule does NOT throw any exceptions.
1{
2 "name": "[[account.id]].globalinventory.ForwardIfInventoryQuantityOfTypeNotExists",
3 "props": {
4 "eventName": "BatchInventoryQuantityCreate",
5 "type": "LAST_ON_HAND"
6 }
7}
Language: json
This Rule will conditionally produce a SendEventAction with entitySubtype derived from {entitySubtype}. If {entitySubtype} is null, entitySubtype would be hardcoded to 'DEFAULT'.
The Rule condition is defined by the existence of the Inventory Quantity of
`type`
`eventName`
Refers to the Product Release Version
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.