The Inventory System provides a complete set of methods to support inventory handling. All users of the Inventory System need the same functionality to complete their varied tasks.
The Inventory System allows you to:
Remove items from inventory.
Notify the store of a customer’s intent to purchase an item that is not currently in stock. (backorder)
Notify the store of a customer’s intent to purchase an item that has never been in stock. (preorder)
The administrator of the store uses the inventory system to:
Place a specific number of items on a shelf for customers to purchase, backorder, or preorder.
Decrease the number of items available for purchase, backorder, or preorder, perhaps because of an error in stocking the item.
Determine the number of items available for purchase, backorder, or preorder.
Determine when a specific item will be back in stock.
There are two types of methods: those that reflect the state of the store and those that change the state of the store. The Inventory API is not intended to be a complete inventory admin interface.
ATG Commerce uses the InventoryManager
interface when performing any operation on inventory. By default, ATG Commerce is configured with one full implementation of this interface, RepositoryInventoryManager
. For more information, see the RepositoryInventoryManager section.
RepositoryInventoryManager
can be used as a complete inventory system. You can use a different inventory system by providing your own implementation of the InventoryManager
interface. For more information on the InventoryManager
interface, see the Inventory Classes section.