CATGPCALCD

A row in this table indicates that a CalculationCode is attached to all CatalogEntries (and their PRODUCT_ITEM children) in a CatalogGroup for the specified Store and TradingAgreement (or all TradingAgreements).

Column Descriptions:

NameTypeDescription
STORE_IDINTEGER NOT NULLThe store associated with the catalog entry.
CATGPCALCD_IDBIGINT NOT NULLGenerated unique key.
TRADING_IDBIGINTThe Trading Agreement for the catalog entry. NULL implies all Trading Agreements.
CATGROUP_IDBIGINT NOT NULLThe CatalogGroup for the catalog entry. If any of the CatalogEntries in the CatalogGroup have children in the CATENTREL table with a CATRELTYPE_ID of "PRODUCT_ITEM", then the CalculationCode is also attached to those children.
CALCODE_IDINTEGERThe Calculation Code for the catalog group.
CALFLAGSSMALLINTContains the following bit values:
0 (default) or null - union
The attachments defined by this row are in addition to the attachments that are defined in other stores on the store path.
1 - cancel
Instead of defining attachments, this row cancels attachments that are defined for stores later in the store path of the specified calculation code to the specified catalog groups for the specified trading agreements.
OPTCOUNTERSMALLINT NOT NULL DEFAULT 0The optimistic concurrency control counter for the table. Every time there is an update to the table, the counter is incremented.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>CATGPCALCD_IDPrimary Key
I0000066STORE_ID+CATGROUP_ID+CALCODE_ID+TRADING_IDUnique Index
I0000520CALCODE_IDNon-Unique Index
I0000521CATGROUP_IDNon-Unique Index
I0000522TRADING_IDNon-Unique Index

Constrained By Parent Tables:

ConstraintColumnsParent TableParent ColumnsType
F_209TRADING_IDTRADINGTRADING_IDCascade
F_210CATGROUP_IDCATGROUPCATGROUP_IDCascade
F_211STORE_IDSTORESTORE_IDCascade
F_212CALCODE_IDCALCODECALCODE_IDCascade