Indexing Non-ATP Inventory in HCL Commerce Search
This topic explains how HCL Commerce Search indexes non-ATP inventory using its Elasticsearch-based Search slution. It outlines how on-hand inventory from the databse is indexed, how it is tied to fulfillment centers, and how the system supports customization to fit business-specific needs.
Introduction
HCL Commerce supports five inventory systems:
- ATP (Available to Promise)
- Non-ATP
- No Inventory
- External Inventory
- DOM Inventory.
The default inventory configuration supported by the Elasticsearch-based Search solution is Non-ATP. For more details, refer, Inventory allocation.
Elasticsearch Indexing for Non-ATP Inventory
Because the non-ATP inventory model is based only on existing on-hand inventory, the
Elasticsearch-based Search solution indexes product item inventory counts for each
corresponding fulfillment center as follows:
- The INVENTORY database table provides the on-hand inventory for each catalog entry.
- This inventory data is indexed by default to either the
auth.inventoryorlive.inventoryindex, depending on the environment. - The fulfillment center associated with each catalog entry is indexed along with its respective inventory count.
- A catalog entry’s total inventory count is calculated by aggregating the on-hand inventory across all its associated fulfillment centers.
Inventory Index Purpose and Customization
The inventory index in Elasticsearch serves as a placeholder for interim on-hand
inventory counts sourced from fulfillment centers.
- The default implementations in the
auth.inventoryandlive.inventoryingest connectors can be customized or replaced with your own logic if needed. - As long as the indexed data format remains compatible, other default ingest connectors can continue to read from this inventory index and copy the data into the Product index seamlessly.