Inventory Module 1.4.0 Release: Enhanced Catalog Support and Attribute Flexibility
Author:
Fluent Commerce
Changed on:
13 Sept 2024
Target release date: | 2024-09-12 |
---|---|
Release status: | Released |
Description
This release enhances our Module rules, increasing their flexibility and usability across different catalog types. The updates remove the hard-coded dependency on the catalogue type `DEFAULT`
, allowing these rules to be used with catalogs of various types.
We’ve also introduced support for a new `inventoryQuantity`
field in the `InventoryChanged`
, improving handling within workflows. This enhancement is a key step in preparing for the upcoming batch release. Furthermore, the addition of this field enables enhanced payloads for direct updates. Refer to this guide for instructions on how to implement these updates.
Changelog
Enhanced Rules: The following rules have been updated to support flexible catalog types, eliminate dependency on the `DEFAULT`
catalog type, and accommodate extended batch attributes:
- SplitInventoryUpdates
- LoadInventoryPosition
- ForwardIfInventoryQuantityOfTypeExists
- ForwardIfInventoryQuantityOfTypeNotExists
- CreateInventoryQuantity
- UpdateInventoryQuantity
- CreateBaseVirtualPosition
- UpdateBaseVirtualPosition
- LoadVirtualPositionAndVirtualCatalogueDetails
- NotifyVirtualCatalogueOnNetworkMatch
- DownToInventoryPositionIfExists
- SplitDeltasAndDownToInventoryPosition
- ForwardIfInventoryPositionStatusEquals
Key Changes:
- Inventory position types now inherit their type from the inventory catalog, enabling workflows and plugins to function across different catalog types without rule modifications.
- The subtype in the inventory catalog workflow must be correctly set to leverage this flexibility, ensuring rules are no longer limited to the
`DEFAULT`
catalog type. - Rule updates have removed the hard-coded inventory catalogue type (
`DEFAULT`
), increasing the usability of these rules with other catalog types. - A new field,
`inventoryQuantity`
, has been introduced for the`InventoryChanged`
event, which is produced for each record within an inventory batch. The field aggregates all attributes which now can be passed by inventory batches under the`attributes`
field and the information can be accessed by the corresponding rules in the workflows. - The CreateInventoryQuantity and UpdateInventoryQuantity now update fields like
`condition`
,`expectedOn`
, and`storageAreaRef`
if the information is passed in a inventory batch record. All other inventory batch record attributes will be available in workflows for further actions.
Package
Released capability depth: | Enhancement |
---|---|
Release bundle / Capability type: | Module |