REFKEYS

Each row of this table defines a new primary-foreign relationship between two tables of the commerce. This option provides a specific application/business to impose a primary-foreign relationship instead of creating a new constraint at the metadata level. Thus it avoids possible frequent changes in the database metadata. This relations are picked up by the IdResolver in the process of resolution of Identifiers.

Column Descriptions:

NameTypeDescription
TABLENAMECHAR (18) NOT NULLThe table which is considered as primary table of the imposed relationship.
FKTABLE_NAMECHAR (18) NOT NULLThe table which is considered as foreign table of the imposed relationship.
FKCOLUMN_NAMECHAR (18) NOT NULLThe column which is considered as foreign column of the imposed relationship.
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
I0000300TABLENAME+FKTABLE_NAME+FKCOLUMN_NAMEUnique Index