UpdateInventoryQuantitiesStatus
Changed on:
13 Nov 2023
Overview
Updates the status of quantities to status {status} which belong to the position and are of type {filterTypes} and in statuses {filterStatuses}
Plugin Name | Inventory 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
Updates the status of inventory quantities to status {status} which belong to the inventory position and are of type {filterTypes} and in statuses {filterStatuses}
Accepts
- INVENTORY_POSITION
Actions
- This rule produces a MutationAction that will update the status of all Inventory Quantities that are one of the given statuses in {filterStatuses} and one of the given types in {filterTypes} to the given {status}
Rule parameters
Parameter | Description |
status | The status to which quantities will be updated |
filterTypes | List of quantity types that should be updated |
filterStatuses | A list of statuses to filter quantities |
Event attributes
Not Applicable for this .
Exceptions
This will throw a PropertyNotFoundException which is a subclass of RubixException if the `type`
/`filterTypes`
/`filterStatuses`
property is not provided.
Configuration example
1{
2 "name": "FLUENTRETAIL.globalinventory.UpdateInventoryQuantitiesStatus",
3 "props": {
4 "filterTypes": ["SALE","CORRECTION"],
5 "status": "INVALID",
6 "filterStatuses": ["CREATED","ACTIVE"]
7 }
8}
Detailed Technical Description
The will execute a single bulk GQL mutation which will update all Quantities tied to the specific Position that are in the array of types given in `{filterTypes}`
AND are of a current status given in `{filterStatuses}`
, these filtered Quantities will be updated to be of status `{status}`
given in the Input Parameters.
Version History
v2.0.0
refers to