Class ProductInventoryMgr
dw.catalog
Class ProductInventoryMgr
Object
dw.catalog.ProductInventoryMgr
This manager provides access to inventory-related objects.
Constants
INTEGRATIONMODE_B2C  :  String = "B2C"
Integration mode 'B2C' - using B2C inventory, no integration with Omnichannel Inventory
INTEGRATIONMODE_OCI  :  String = "OCI"
Integration mode 'OCI' - integration with Omnichannel Inventory enabled
INTEGRATIONMODE_OCI_CACHE  :  String = "OCI_CACHE"
Integration mode 'OCI_CACHE' - using B2C inventory, initializing cache as preparation for integration with Omnichannel Inventory
Properties
inventoryIntegrationMode  :  String  (Read Only)
The current inventory integration mode as one of
inventoryList  :  ProductInventoryList  (Read Only)
The inventory list assigned to the current site or null if no inventory list is assigned to the current site.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
static getInventoryIntegrationMode() : String
Returns the current inventory integration mode as one of
static getInventoryList() : ProductInventoryList
Returns the inventory list assigned to the current site or null if no inventory list is assigned to the current site.
static getInventoryList(listID : String) : ProductInventoryList
Returns the inventory list with the passed ID or null if no inventory list exists with that ID.
Method Detail
getInventoryIntegrationMode
static getInventoryIntegrationMode() : String
Returns the current inventory integration mode as one of
Returns:
The current inventory integration mode as a constant String.

getInventoryList
static getInventoryList() : ProductInventoryList
Returns the inventory list assigned to the current site or null if no inventory list is assigned to the current site.
Returns:
The ProductInventoryList assigned to the current site, or null.

getInventoryList
static getInventoryList(listID : String) : ProductInventoryList
Returns the inventory list with the passed ID or null if no inventory list exists with that ID.
Parameters:
listID - The ID of the inventory list to retrieve.
Returns:
The ProductInventoryList identified by listID, or null.