Changed on:
26 Apr 2024
Notifies the inventory positions of the incoming deltas with event {eventName}
Plugin Name | Inventory Reference Module |
---|---|
Namespace | {{accountId}}.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 Modules includes the following areas:
Notifies the inventory positions of the incoming deltas with event {eventName}
Parameter | Description | Notes |
eventName | The name of the event to be triggered | Required |
Parameter | Description | Data Type | Required? |
deltas | A list of deltas to be created | [InventoryDelta] | Yes |
Parameter | Description | Data Type | Required? |
deltaId | The Id of the delta that uniquely identifies this delta element | String | No |
type | The inventory position type | String | No |
productRef | The ref of the variant product associated to the inventory position | String | No |
locationRef | The location ref associated to the inventory position | String | No |
qty | The quantity | Integer | No |
If there is no inventory position found for any of the deltas, RubixException will be thrown and the entire execution of this rule will be halted.
1{
2 "name": "FLUENTRETAIL.globalinventory.SplitDeltasAndDownToInventoryPosition",
3 "props": {
4 "eventName": "CreateInventoryDelta"
5 }
6}
Language: json
This rule parses/deserializes the
`deltas`
`InventoryDelta`
`deltas`
`DEFAULT`
inventory position ref = product_ref:location_ref:DEFAULT
This generated inventory position ref is used to group all the
`InventoryDelta`
`InventoryDelta`
`deltas`
`InventoryDelta`
`InventoryDelta`
1 public class InventoryDelta {
2 private String productRef;
3 private String locationRef;
4 private Integer qty;
5 private String type;
6 private String deltaId;
7 }
Language: java
Name: InventoryDelta
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.