Table

BatchConstraints

Has conditions

Holds dependencies between batch tasks. Each record says that one task depends on another and which status the other task must have. Both sides point to the Batch table.

Table name
BatchConstraints
Module
System administration
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
ApplicationPlatform

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BatchIdRecord ID of the task that has the condition.Int64
RefRecId
NoBatch.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DependsOnBatchIdRecord ID of the task it depends on.Int64
RefRecId
NoBatch.RecIdNone
ExpectedStatusStatus the other task must reach: error, ended, or ended or error.Enum
BatchDependencyStatus (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (2)

Each relation joins BatchConstraints to another table on the fields shown.

  • Batch → Batch

    Join on BatchId = Batch.RecId

    Many BatchConstraints records → zero or one Batch record

  • DependsOnBatch → Batch

    Join on DependsOnBatchId = Batch.RecId

    Many BatchConstraints records → zero or one Batch record

Get this data out

No public entity reads from BatchConstraints. Its data is only reachable through the application, a custom entity or a database export.

Need help with BatchConstraints in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk