Changed on:
24 Oct 2024
Update an Aggregate Virtual Position and calculate its Available-to-Sell (ATS) quantity.
Aggregate Virtual Position ATS calculation is based on the associated Inventory Positions Stock on Hand (SOH) quantities and the applied Controls.
The associated Inventory Positions are defined with:
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:
Updates an aggregate virtual position including inventory positions in the given {statuses}.
Name | Type | Description |
|
| Statuses of the Inventory Positions to be used for Aggregate Virtual Position ATS calculation |
Name | Type | Description | Required |
|
| Virtual Position Reference | Required |
|
| Product Reference of the Virtual Position | Required |
|
| Group Reference of the Virtual Position | Required |
|
| Reference of the Virtual Catalog | Required |
|
| Reference of the Inventory Catalog associated with the Virtual Catalog | Required |
|
| Reference of the Product Catalog associated with the Virtual Catalog | Required |
|
| Reference of the Control Group associated with the Virtual Catalog | Required |
|
| Network IDs of the Virtual Catalog | Required |
`PropertyNotFoundException`
`EventAttributeNotFoundException`
1{
2 "name": "[[account.id]].globalinventory.UpdateAggregateVirtualPosition",
3 "props": {
4 "statuses": [
5 "ACTIVE",
6 "AT_RISK",
7 "OUT_OF_STOCK"
8 ]
9 }
10}
Language: json
This Rule execution includes the following steps:
`virtualCatalogueNetworkIds`
`virtualCatalogueInventoryCatalogueRef`
`virtualPositionProductRef`
`statuses`
`CreateAggregateVirtualPosition`
This Rule has been optimized to load all the related Controls (by Product, its Categories, and list of Locations) at once for efficient Aggregate Virtual Position Available-to-Sell (ATS) calculations.
The Rule Version refers to the Product Release Version.
refers to the plguin
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.