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 descriptionType / EDT / enumMandatoryReferencesIn public entities
BatchTaskRecIdThe batch task, as a record ID in the batch table.Int64
RefRecId
NoBatch.RecIdNone
CustomerRecIdThe customer, as a record ID in the customers table.Int64
RefRecId
NoCustTable.RecIdNone
StatementFromDateStart date of the statement period.Date
TransDate
NoNone
StatementToDateEnd date of the statement period.Date
TransDate
NoNone
AttemptCountNumber of attempts made to run the statement.Integer
Counter
NoNone
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
CustomerAccountAccount number of the customer.String (20)
CustAccount
NoNone
EmailSentYes or No value showing whether the statement email was sent.Enum
NoYes (enum)
NoNone
LastAttemptDateTimeDate and time of the most recent attempt.UtcDateTimeNoNone
LastErrorText of the error from the last failed attempt.String (1000)NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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
StatusRun status of the statement: pending, succeeded, failed (transient) or dead letter.Enum
CustAccountStatementExtRunStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (2)

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

  • Batch → Batch

    Join on BatchTaskRecId = Batch.RecId

    Many CustAccountStatementExtRunStatusTable records → zero or one Batch record

  • CustTable → CustTable

    Join on CustomerRecId = CustTable.RecId

    Many CustAccountStatementExtRunStatusTable records → zero or one CustTable record

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.

Email sales@drdynamics.co.uk