Table
TrvExpRecurringSchedule
Recurring expense schedule
Holds the schedule for one recurring expense template. The key is the template, so there is one schedule per template. It stores how often the template runs, the next run date, an end date, and a processing state with a failure count.
- Table name
TrvExpRecurringSchedule- Module
Expense- Table group
Main- Table type
Regular- Data per company
No- Configuration key
Trv- Primary index
TemplateIdx- Replacement key
None- Key fields
TrvExpRecurringTemplate- Model
ExpenseManagement
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TrvExpRecurringTemplatePoints to the recurring expense template (by system record ID). | Int64 | Yes | TrvExpRecurringTemplate.RecId | None |
ConsecutiveFailuresNumber of failed runs in a row. | Integer | 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 | |
DayOfMonthThe day of the month on which the recurrence applies. | Integer | No | None | |
DayOfWeekThe weekday on which the recurrence applies. | EnumWeekDays (enum) | No | None | |
EndDateThe date on which the schedule ends. | DateTrvDateStd | No | None | |
FrequencyHow often the expense recurs: Daily, Weekly, Monthly, Quarterly or Annually. | EnumTrvExpRecurringFrequency (enum) | No | None | |
IsActiveYes/No flag showing whether the schedule is active. | EnumNoYes (enum) | 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 | |
MonthOfYearThe month on which the recurrence applies. | EnumMonthsOfYear (enum) | No | None | |
NextRunDateThe date of the next scheduled run. | Date | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessingStateCurrent processing state of the schedule: Waiting or Processing. | EnumTrvExpRecurringProcessingState (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)
TemplateIdxPrimary indexUnique, alternate key.
ProcessingIdxIsActive,ProcessingState,NextRunDateNot unique.
Relations (1)
Each relation joins TrvExpRecurringSchedule to another table on the fields shown.
TrvExpRecurringTemplate→TrvExpRecurringTemplateJoin on
TrvExpRecurringTemplate = TrvExpRecurringTemplate.RecIdZero or one TrvExpRecurringSchedule record → exactly one TrvExpRecurringTemplate record
Get this data out
No public entity reads from TrvExpRecurringSchedule. Its data is only reachable through the application, a custom entity or a database export.
Need help with TrvExpRecurringSchedule in a report, an integration or a migration? Talk to Dr Dynamics.