Oracle ATG Web Commerce comes with two repositories that are relevant to the inventory system: the Product Catalog and the Inventory Repository. The Product Catalog stores prices, descriptions, images, and fulfiller information. For more information, see the Using and Extending the Product Catalog chapter. The Inventory Repository stores the stockLevel
, availability information, and other inventory data.
This section describes the inventory repository that is included with Commerce out of the box. The inventory information is stored in a separate repository from the product catalog. Each inventory method takes an ID from the product catalog and uses that information to get the inventory ID.
The inventory definition is stored in atg/commerce/inventory/inventory.xml
. Each item in the inventory has the following properties.
Property | Definition |
---|---|
| The date this inventory item was created. |
| The inventory item will not be available until this date. |
| The inventory item will not be available after this date. |
| The name that is displayed to the user to represent this inventory item. |
| A description of this inventory item. |
| The SKU ID in the Product Catalog to which this inventory item refers. |
| The status of this inventory item. It is an enumerated type. The integer code for each possible value is shown. The following codes represent availability status: |
| The date on which this item will be available if not currently available. |
| The amount of stock available for purchase. The value -1 indicates that an infinite amount is available. |
| The amount of this item that can be backordered. The value –1 indicates that the inventory system accepts an infinite number of backorders for this item. |
| The amount of this item that can be preordered. The value –1 indicates the inventory system accepts an infinite number of preorders for this item. |
| If the |
| If the |
| If the |