| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
NAME |
nvarchar(100) | Default = '' | ||
DESCRIPTION |
nvarchar(255) | Default = '' | ||
CAPACITY |
int | Default = 0 | The default capacity for this program | |
DATEADDED |
datetime | Default = getdate() | Indicates the date this record was added. | |
DATECHANGED |
datetime | Default = getdate() | Indicates the date this record was last changed. | |
TS |
timestamp | Timestamp. | ||
TSLONG |
bigint (Computed) | ![]() |
CONVERT(bigint, TS) | Numeric representation of the timestamp. |
ISACTIVE |
bit | Default = 1 | Indicates whether this program is active | |
ISDAILYADMISSION |
bit | Default = 0 | Indicates whether this is a daily admission program | |
ISPREREGISTERED |
bit | Default = 0 | Indicates whether this program creates pre-registered events. | |
PUBLICDESCRIPTIONTEXT |
nvarchar(max) | Default = '' | The plain text public description. | |
PUBLICDESCRIPTIONHTML |
nvarchar(max) | Default = '' | The HTML public description. | |
DEFAULTPRICINGSTRUCTURECODE |
tinyint | Default = 0 | Quick itinerary default pricing structure code. | |
DEFAULTPRICINGSTRUCTURE |
nvarchar(10) (Computed) | ![]() |
CASE [DEFAULTPRICINGSTRUCTURECODE] WHEN 0 THEN N'No default' WHEN 1 THEN N'Per ticket' WHEN 2 THEN N'Flat rate' END | Provides a translation for the 'DEFAULTPRICINGSTRUCTURECODE' field. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
HOLDLISTID |
uniqueidentifier | ![]() |
HOLDLIST.ID | FK to HOLDLIST |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
PRICELISTID |
uniqueidentifier | ![]() |
PRICELIST.ID | The price list this program draws prices from |
PROGRAMCATEGORYCODEID |
uniqueidentifier | ![]() |
PROGRAMCATEGORYCODE.ID | The category used to group similar types of programs together for reporting. |
DEFAULTRATESCALEID |
uniqueidentifier | ![]() |
RATESCALE.ID | If quick itineraries made with this program should default to flat rate pricing, this is the flat rate to use. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_PROGRAM_DATEADDED |
DATEADDED | ![]() |
||
IX_PROGRAM_DATECHANGED |
DATECHANGED | |||
IX_PROGRAM_PROGRAMCATEGORYCODEID |
PROGRAMCATEGORYCODEID | |||
PK_PROGRAM |
ID | ![]() |
![]() |
|
UC_PROGRAM_NAME |
NAME | ![]() |
| Trigger Name | Description |
|---|---|
TR_PROGRAM_AUDIT_UPDATE |
|
TR_PROGRAM_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
DAILYSALEITEMPROGRAM |
PROGRAMID |
DISCOUNTGROUPDETAILPROGRAM |
PROGRAMID |
EVENT |
PROGRAMID |
EVENTCONFLICT |
PROGRAMID |
ITINERARYITEM |
PROGRAMID |
PROGRAMDISCOUNT |
PROGRAMID |
PROGRAMDOCUMENT |
PROGRAMID |
PROGRAMFEE |
PROGRAMID |
PROGRAMGLMAPPING |
ID |
PROGRAMGROUPPROGRAM |
PROGRAMID |
PROGRAMLOCATION |
PROGRAMID |
PROGRAMPREFERENCEGROUP |
PROGRAMID |
PROGRAMPRICE |
PROGRAMID |
PROGRAMRESOURCE |
PROGRAMID |
PROGRAMSALESMETHOD |
PROGRAMID |
PROGRAMSTAFFRESOURCE |
PROGRAMID |
PROGRAMTAX |
PROGRAMID |
RATESCALEAPPLICATION |
PROGRAMID |
RATESCALEPROGRAM |
PROGRAMID |
RESERVATIONRATESCALEAPPLICATION |
PROGRAMID |
RESERVATIONRATESCALEPROGRAM |
PROGRAMID |
REVENUESPLITORDER |
PROGRAMID |
SALESORDERITEMTICKET |
PROGRAMID |
TICKET |
PROGRAMID |
TRACKITEM |
PROGRAMID |
Entity-Relationship diagram of this table (PROGRAMTAX-TRACKITEM)

ID
NAME
TSLONG
HOLDLISTID
IX_PROGRAM_DATEADDED
IX_PROGRAM_DATECHANGED