Changed on:
2 Nov 2023
Send an event {eventName} to inventory quantities of type {inventoryQuantityTypes} using event attributes
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:
Send an event {eventName} to inventory quantities of type {inventoryQuantityTypes} using event attributes
Parameter | Description |
eventName | The name of event to be triggered |
inventoryQuantityTypes | List of inventory quantity types |
Parameter | Description | Data Type | Required? |
inventoryPosition | The inventory position whose associated inventory quantities are receiving the event | The type is a Java object, required and defined below | Required |
`eventName`
`inventoryQuantityTypes`
`inventoryPosition`
1{
2 "name": "FLUENTRETAIL.globalinventory.SendEventToAllInventoryQuantities",
3 "props": {
4 "eventName": "QuantityResetEvent",
5 "inventoryQuantityTypes": [
6 "RESERVED"
7 ]
8 }
9}
Language: json
The rule checks all the Inventory Quantities under a given Inventory Position to find ones which match the type or types
`{inventoryQuantityTypes}`
`{eventName}`
1public class InventoryPosition {
2
3 private String ref;
4
5 private String type;
6
7 private String status;
8
9 @NonNull
10 private String productRef;
11
12 @NonNull
13 private String locationRef;
14
15 private List<InventoryQuantity> inventoryQuantities;
16
17 private List<Attribute> attributes;
18
19 @JsonPOJOBuilder(withPrefix = "")
20 public static final class Builder {
21
22 }
23}
Language: java
Name: InventoryPosition
Description:
[Warning: empty required content area]refers to the 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.