GENERATESTEPUPDATEBATCHPROCESS
This table contains information pertaining to the generate step batch business process.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(100) |
|
Default = '' |
The name of the parameter set. |
BATCHNUMBER |
nvarchar(100) |
|
Default = '' |
The unique number of the batch. |
OVERRIDEBATCHNUMBER |
bit |
|
Default = 0 |
Indicates whether or not to use the default numbering scheme for the batch. |
DESCRIPTION |
nvarchar(1000) |
|
Default = '' |
The description of the batch. |
AUTOSAVEONROWCHANGE |
bit |
|
Default = 0 |
Indicates whether or not the batch should auto save on each row change. |
ISACTIVE |
bit |
|
Default = 1 |
Indicates that this process is active. |
FIELDSTOUPDATE |
xml |
yes |
|
Contains the fields and their values to be updated by the generate process. |
OFFSET |
int |
|
Default = 0 |
|
MOVECODE |
tinyint |
|
Default = 0 |
0=Move target dates forward by, 1=Move target dates backward by |
MOVE |
nvarchar(29) (Computed) |
yes |
CASE [MOVECODE] WHEN 0 THEN N'Move target dates forward by' WHEN 1 THEN N'Move target dates backward by' END |
Provides a translation for the 'MOVECODE' field. |
DATEVALUEUNITCODE |
tinyint |
|
Default = 0 |
Stores the span of date value used to move dates. |
DATEVALUEUNIT |
nvarchar(6) (Computed) |
yes |
CASE [DATEVALUEUNITCODE] WHEN 0 THEN N'Days' WHEN 1 THEN N'Weeks' WHEN 2 THEN N'Months' WHEN 3 THEN N'Years' END |
Provides a translation for the 'DATEVALUEUNITCODE' field. |
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 |
IDSETREGISTERID |
uniqueidentifier |
|
IDSETREGISTER.ID
|
A foreign key to the ID set used to filter the records included in the generate step batch process. |
BATCHTEMPLATEID |
uniqueidentifier |
|
BATCHTEMPLATE.ID
|
A foreign key to the batch template used to generate the batch. |
APPUSERID |
uniqueidentifier |
yes |
APPUSER.ID
|
A foreign key to the owner of the batch. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_GENERATESTEPUPDATEBATCHPROCESS_DATEADDED |
DATEADDED |
|
|
yes |
IX_GENERATESTEPUPDATEBATCHPROCESS_DATECHANGED |
DATECHANGED |
|
|
|
PK_GENERATESTEPUPDATEBATCHPROCESS |
ID |
yes |
yes |
|
UC_GENERATESTEPUPDATEBATCHPROCESS_NAME |
NAME |
yes |
|
|
Triggers
Referenced by