PX_CDSPEC

This table contains addition promotion code information.

Column Descriptions:

NameTypeDescription
PX_PROMOTION_IDINTEGER NOT NULLPrimary key. Foreign key to PX_PROMOTION.
CODETYPESMALLINT NOT NULL DEFAULT 00: Public code 1: Generated code 2: Imported code
PATTERNVARCHAR (128)Pattern for advanced code.
COUNTBIGINTNumber of total codes to be generated.
CODESTATUSSMALLINT NOT NULL DEFAULT 00: Not populated 1: Populated 2: Processing 3: Canceled 4: Generation failed 5: Importing failed
TRANSFERABLESMALLINT NOT NULL DEFAULT 00: Transferring allowed 1: Transferring not allowed
VALIDFROMTIMESTAMPCurrently not in use.
VALIDUNTILTIMESTAMPCurrently not in use.
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>PX_PROMOTION_IDPrimary Key

Constrained By Parent Tables:

ConstraintColumnsParent TableParent ColumnsType
F_3604PX_PROMOTION_IDPX_PROMOTIONPX_PROMOTION_IDCascade