DOCUMENTPRINTINGRULE (4.0SP20)

Holds printing rule information for a document.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

DOCUMENTID

uniqueidentifier

false

Foreign key to document table

DELIVERYMETHODID

uniqueidentifier

false

Foreign key to delivery method table

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

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_DOCUMENTPRINTINGRULE_DATEADDED

DATEADDED

False

False

True

IX_DOCUMENTPRINTINGRULE_DATECHANGED

DATECHANGED

False

False

False

PK_DOCUMENTPRINTINGRULE

ID

True

True

False

UIX_DOCUMENTPRINTINGRULE_DOCUMENTID_DELIVERYMETHODID

DOCUMENTID

DELIVERYMETHODID

True

False

False

Triggers
Trigger Name Description

TR_DOCUMENTPRINTINGRULE_AUDIT_UPDATE

TR_DOCUMENTPRINTINGRULE_AUDIT_DELETE

Referenced by
Referenced by Field

DOCUMENTPRINTINGRULESALESMETHOD

DOCUMENTPRINTINGRULEID