Fluent Commerce Logo
Docs
Sign In

ApplyThresholdControlsToInventoryPosition

Rule

Changed on:

18 Feb 2025

Overview

Apply Threshold to an Position and determine its status.

Plugin NameInventory Reference Module
Namespace[[account.id]].globalinventory

The is the foundation for 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 Module includes the following areas:

  • Product Catalogue workflow
  • Inventory Catalogue workflow
  • Control Group workflow
  • Virtual Catalogue workflow

UI Description

Apply threshold controls to an Inventory Position and determine its status.

Accepts

  • INVENTORY_POSITION

Actions

Rule parameters

There are no Input Parameters for this .

Event attributes

This does not expect any Attributes.

Exceptions

This does not throw any Exceptions.

Configuration example

1{
2  "name": "[[account.id]].globalinventory.ApplyThresholdControlsToInventoryPosition",
3  "props": null
4}

Detailed Technical Description

This will conditionally produce a MutateAction.

The condition is defined by the `threshold` and `status` values specified with a Threshold Control. The condition is met when:

  • Inventory Position On Hand quantity is lower than or equal to (<=) the Threshold Control `threshold` value
  • Inventory Position Status differs from the Threshold Control `status` value

When the condition is met, the Position Status will be updated to the new one given in the Threshold Control `status` value.

Version History

2025-02-18

v25.2.18

This has been enhanced to apply fallback logic, ensuring the correct management of Position Statuses when no Bulk Threshold are configured.

The Version refers to the Product Release Version.

2024-09-19

v24.9.19

Refers to the Product Release Version