GENERATEBATCHPROCESS
This table contains information pertaining to the generate 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. |
| PROJECTEDNUMBEROFRECORDS |
int |
|
Default = 0 |
The projected number of records in this batch. |
| PROJECTEDTOTALAMOUNT |
money |
|
Default = 0 |
The projected total amount for records in this batch. |
| ISACTIVE |
bit |
|
Default = 1 |
Indicates that this process is active. |
| 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. |
| INCLUDEPOSTEDTRANSACTIONS |
bit |
|
Default = 0 |
Indicates whether or not to include posted transactions. |
| ADJUSTMENTDATE |
datetime |
yes |
|
The date of the adjustment to the revenue record. |
| ADJUSTMENTPOSTDATE |
datetime |
yes |
|
The date to use when posting the adjustment to the revenue record. |
| ADJUSTMENTPOSTSTATUSCODE |
tinyint |
|
Default = 1 |
Flag used to indicate if the adjustment has been posted. |
| ADJUSTMENTPOSTSTATUS |
nvarchar(11) (Computed) |
yes |
CASE [ADJUSTMENTPOSTSTATUSCODE] WHEN 0 THEN N'Posted' WHEN 1 THEN N'Not Posted' WHEN 2 THEN N'Do Not Post' END |
Provides a translation for the 'ADJUSTMENTPOSTSTATUSCODE' field. |
| ADJUSTMENTREASON |
nvarchar(300) |
|
Default = '' |
Gives further details for why this adjustment was made. |
| OVERWRITE |
bit |
|
Default = 0 |
Indicates whether or not to overwrite certain value(s) in the batch. |
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 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. |
| ADJUSTMENTREASONCODEID |
uniqueidentifier |
yes |
ADJUSTMENTREASONCODE.ID
|
Indicates the reason this adjustment was made. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_GENERATEBATCHPROCESS_DATEADDED |
DATEADDED |
|
|
yes |
| IX_GENERATEBATCHPROCESS_DATECHANGED |
DATECHANGED |
|
|
|
| PK_GENERATEBATCHPROCESS |
ID |
yes |
yes |
|
| UC_GENERATEBATCHPROCESS_NAME |
NAME |
yes |
|
|
Triggers
Referenced by