PREP_CODES

0 rows


Description

Contains information on defined prep codes for setup and takedown time duration

Columns

Column Type Size Nulls Auto Default Children Parents Comments
ACTIVE_HUB_KEY int identity 4 null

The Hub record ID

PREP_CODE_ID int 4 null
EVENT_TYPES.PREP_CODE_ID Defined in XML R
FACILITIES.PREP_CODE_ID Defined in XML R
TRANSACTIONS.PREP_CODE_ID Defined in XML R

The prep code ID

PREP_CODE_NAME varchar 30 null

The prep code name

SETUP_TIME_MINUTES int 4 null

The number of minutes required for setup time

TEARDOWN_TIME_MINUTES int 4 null

The number of minutes required for teardown time

SITE_ID int 4 null
SITES.SITE_ID Defined in XML R

The ID of the site that the prep code belongs to, or null for all sites

ROW_VERSION binary 8 null

System timestamp (for internal use)

LAST_SYNC_TIME datetime 16,3 (getdate())

Date and time Hub record was last modified

ACTIVE_HUB_PROCESS_ID bigint 8 null

The Hub sync process ID

ORG_ID int 4 null

Your organization’s unique identifier in the Active Net system

Indexes

Constraint Name Type Sort Column(s)
PREP_CODES_ACTIVE_HUB_KEY_PK Primary key Asc ACTIVE_HUB_KEY
PREP_CODES_PREP_CODE_ID_ORG_ID_UQ Must be unique Asc/Asc PREP_CODE_ID + ORG_ID
PREP_CODES_ROW_VERSION_IX Performance Asc ROW_VERSION
PREP_CODES_SITE_ID_IX Performance Asc SITE_ID

Relationships