Table
BatchJobAlerts
Batch job alerts
Stores which alerts a user wants for a batch job. Each record is keyed by batch job and user. The flags show the events the alert covers (cancelled, ended, error) and whether it is sent by email or as a pop-up.
- Table name
BatchJobAlerts- Module
System administration- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
Event- Primary index
BatchJobId- Replacement key
None- Key fields
BatchJobId, UserId- Model
ApplicationPlatform
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BatchJobIdThe batch job this alert setting belongs to. It points to the batch job record. | Int64RefRecId | No | BatchJob.RecId | None |
UserIdThe user who receives the alert. It relates to the user record. | StringUserId | Yes | None | |
BatchJobCanceledYes/No flag for an alert when the batch job is cancelled. | EnumNoYes (enum) | No | None | |
BatchJobEndedYes/No flag for an alert when the batch job ends. | EnumNoYes (enum) | No | None | |
BatchJobErrorYes/No flag for an alert when the batch job ends with an error. | EnumNoYes (enum) | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
DataPartitionData partition the record belongs to. | StringPartitionKey | Yes | None | |
EmailYes/No flag showing whether the alert is sent by email. | EnumNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PopupYes/No flag showing whether the alert is shown as a pop-up. | EnumNoYes (enum) | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
BatchJobIdPrimary indexUnique, alternate key.
DataPartitionUserIdDataPartition,UserId,BatchJobCanceled,BatchJobEnded,BatchJobError,Email,PopupNot unique.
Relations (2)
Each relation joins BatchJobAlerts to another table on the fields shown.
BatchJob→BatchJobJoin on
BatchJobId = BatchJob.RecIdMany BatchJobAlerts records → zero or one BatchJob record
UserInfo→UserInfoJoin on
UserId = UserInfo.idMany BatchJobAlerts records → exactly one UserInfo record
Get this data out
No public entity reads from BatchJobAlerts. Its data is only reachable through the application, a custom entity or a database export.
Need help with BatchJobAlerts in a report, an integration or a migration? Talk to Dr Dynamics.