ATG Commerce uses the following tables to store inventory information:

dcs_inventory

This table stores all the inventory information for each SKU in the product catalog.

Column

Data Type

Constraint

inventory_id

VARCHAR(40)

NOT NULL UNIQUE

(primary key)

The unique identifier associated with this inventory.

version

INTEGER

NOT NULL

The version of this row. The GSA uses this value.

creation_date

DATE

NULL

The date this inventory was created.

start_date

DATE

NULL

The date on which this inventory will become available. This is an optional field that can be used by the SQL Repository as part of an RQL filter to prevent items from being loaded from the database.

end_date

DATE

NULL

The last date on which this inventory will be available. This is an optional field that can be used by the SQL Repository as part of an RQL filter to prevent items from being loaded from the database.

display_name

VARCHAR(254)

NULL

The name a user sees when viewing this row.

description

VARCHAR(254)

NULL

A text description of the inventory.

catalog_ref_id

VARCHAR(40)

NOT NULL

The inventory of this SKU in the product catalog.

avail_status

INTEGER

NOT NULL

Indicates whether this inventory is in stock, out of stock, backorderable, preorderable, or if the value should be derived at runtime based on stock_level, backorder_level, and preorder_level.

availability_date

DATE

NULL

The date on which the inventory is expected to be available.

stock_level

INTEGER

NULL

The number of items in stock.

backorder_level

INTEGER

NULL

The number of items that may be backordered.

preorder_level

INTEGER

NULL

The number of items that may be preorderable.

stock_thresh

INTEGER

NULL

If the stock_level value dips below this value, a ThresholdReached event is sent.

backorder_thresh

INTEGER

NULL

If the backorder_level value dips below this value, a ThresholdReached event is sent.

preorder_thresh

INTEGER

NULL

If the preorder_level value dips below this value, a ThresholdReached event is sent.

 
loading table of contents...