Primary Key Field Type
 ID uniqueidentifier

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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 INCLUDEPOSTEDTRANSACTIONS bit   Default = 0 Indicates whether or not to include posted transactions.
 ADJUSTMENTDATE datetime The date of the adjustment to the revenue record.
 ADJUSTMENTPOSTDATE datetime 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) 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 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 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 ADJUSTMENTREASONCODE.ID Indicates the reason this adjustment was made.

Index Name Field(s) Unique Primary Clustered
 IX_GENERATEBATCHPROCESS_DATEADDED DATEADDED    
 IX_GENERATEBATCHPROCESS_DATECHANGED DATECHANGED      
 PK_GENERATEBATCHPROCESS ID  
 UC_GENERATEBATCHPROCESS_NAME NAME    

Trigger Name Description
 TR_GENERATEBATCHPROCESS_AUDIT_UPDATE
 TR_GENERATEBATCHPROCESS_AUDIT_DELETE

Referenced by Field
 GENERATEBATCHPROCESSOVERWRITE GENERATEBATCHPROCESSID
 GENERATEBATCHPROCESSSTATUS PARAMETERSETID

Entity-Relationship diagram of this table