Overview
API Versioning
Deprecated
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
INTEGRATIONMODE_B2C
INTEGRATIONMODE_OCI_CACHE
INTEGRATIONMODE_OCI
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
INTEGRATIONMODE_B2C
INTEGRATIONMODE_OCI_CACHE
INTEGRATIONMODE_OCI
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.
Methods inherited from class
Object
assign
,
create
,
create
,
defineProperties
,
defineProperty
,
entries
,
freeze
,
fromEntries
,
getOwnPropertyDescriptor
,
getOwnPropertyNames
,
getOwnPropertySymbols
,
getPrototypeOf
,
hasOwnProperty
,
is
,
isExtensible
,
isFrozen
,
isPrototypeOf
,
isSealed
,
keys
,
preventExtensions
,
propertyIsEnumerable
,
seal
,
setPrototypeOf
,
toLocaleString
,
toString
,
valueOf
,
values
Method Detail
getInventoryIntegrationMode
static
getInventoryIntegrationMode
() :
String
Returns the current inventory integration mode as one of
INTEGRATIONMODE_B2C
INTEGRATIONMODE_OCI_CACHE
INTEGRATIONMODE_OCI
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.
© Copyright 2000-2023, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.
X
Privacy Update:
We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this.
Privacy Policy.