USAGEREPORTPROCESS

Contains parameters used for the application usage report process.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NAME nvarchar(250) Default = '' This field exists due to the fact that a business process parameter table must have a plain text identifying column.
STARTDATE datetime yes The start date of the application usage report period. This date is used to calculate records added since the start date.
DATAKEY varbinary yes
APPUSERKEY varbinary yes
COMPONENTKEY varbinary yes
DEFINITIONKEY varbinary yes
PUBLICKEY nvarchar(250) Default = '' Public key used for encrypting the report data file.
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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_USAGEREPORTPROCESS_DATEADDED DATEADDED yes
IX_USAGEREPORTPROCESS_DATECHANGED DATECHANGED
PK_USAGEREPORTPROCESS ID yes yes
UC_USAGEREPORTPROCESS_NAME NAME yes

Triggers

Trigger Name Description
TR_USAGEREPORTPROCESS_AUDIT_UPDATE
TR_USAGEREPORTPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
USAGEREPORTPROCESSSTATUS PARAMETERSETID