Table
CustAccountStatementExtRunStatusTable
Customer account statement run status
Records the run status of customer account statements, one row per batch task, customer and statement date range. It shows the status, the number of attempts, the last attempt time, the last error and whether an email was sent. It links to the batch and customer tables.
- Table name
CustAccountStatementExtRunStatusTable- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
None- Primary index
RunCustomerIdx- Replacement key
None- Key fields
BatchTaskRecId, CustomerRecId, StatementFromDate, StatementToDate- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BatchTaskRecIdThe batch task, as a record ID in the batch table. | Int64RefRecId | No | Batch.RecId | None |
CustomerRecIdThe customer, as a record ID in the customers table. | Int64RefRecId | No | CustTable.RecId | None |
StatementFromDateStart date of the statement period. | DateTransDate | No | None | |
StatementToDateEnd date of the statement period. | DateTransDate | No | None | |
AttemptCountNumber of attempts made to run the statement. | IntegerCounter | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustomerAccountAccount number of the customer. | String (20)CustAccount | No | None | |
EmailSentYes or No value showing whether the statement email was sent. | EnumNoYes (enum) | No | None | |
LastAttemptDateTimeDate and time of the most recent attempt. | UtcDateTime | No | None | |
LastErrorText of the error from the last failed attempt. | String (1000) | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
StatusRun status of the statement: pending, succeeded, failed (transient) or dead letter. | EnumCustAccountStatementExtRunStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
RunCustomerIdxPrimary indexBatchTaskRecId,CustomerRecId,StatementFromDate,StatementToDateUnique, alternate key.
BatchTaskIdxNot unique.
CreatedDateTimeIdxNot unique.
Relations (2)
Each relation joins CustAccountStatementExtRunStatusTable to another table on the fields shown.
Get this data out
No public entity reads from CustAccountStatementExtRunStatusTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustAccountStatementExtRunStatusTable in a report, an integration or a migration? Talk to Dr Dynamics.