PROGRAMGROUPPRICE (4.0SP14)

Stores prices belongs program group.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

PROGRAMGROUPID

uniqueidentifier

false

The ID of the program group the program belongs to.

COMBINATIONPRICETYPEID

uniqueidentifier

true

The ID of the price type available in the combination.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

FACEPRICE

money

false

0

The Face Price of a Price

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_PROGRAMGROUPPRICE_DATEADDED

DATEADDED

False

False

True

IX_PROGRAMGROUPPRICE_DATECHANGED

DATECHANGED

False

False

False

PK_PROGRAMGROUPPRICE

ID

True

True

False

UIX_PROGRAMGROUPPRICE_PROGRAMGROUPID_COMBINATIONPRICETYPEID

PROGRAMGROUPID

COMBINATIONPRICETYPEID

True

False

False

Triggers
Trigger Name Description

TR_PROGRAMGROUPPRICE_AUDIT_UPDATE

TR_PROGRAMGROUPPRICE_AUDIT_DELETE