Table
BudgetSourceTracking
Budget source tracking
Header record for tracking a budget source against a budget model. It stores the tracking date, the document number, the user and the budget category. The key is the budget source plus a sequence number. Detail rows in other tables link back to it.
- Table name
BudgetSourceTracking- Module
Budget- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
LedgerAdv2BudgetCtrl- Primary index
RecId- Replacement key
BudgetSourceIdx- Key fields
BudgetSource, SequenceNumber- Model
Foundation
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BudgetSourceLinks to the budget source record that is being tracked. | Int64RefRecId | Yes | BudgetSource.RecId | None |
SequenceNumberSequence number that, with the budget source, identifies the tracking record. | Int64SequenceNum | Yes | None | |
BudgetModelDataAreaIdCompany of the budget model that this tracking record uses. | StringDataAreaId | No | BudgetModel.dataAreaId | None |
BudgetModelIdIdentifier of the budget model that this tracking record uses. | StringBudgetModelId | No | BudgetModel.ModelId | None |
BudgetModelSubModelIdIdentifier of the submodel within the budget model. | StringBudgetModelSubId | No | BudgetModel.SubModelId | None |
BudgetModelTypeShows whether the budget model is a main model or a submodel. | EnumHeadingSub (enum) | No | BudgetModel.Type | None |
CategoryBudget control category of the tracked amount, such as original budget, revisions, transfers, reservations or actual expenditures. | EnumBudgetControlCategory (enum) | Yes | 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 | |
IsDefaultBudgetModelYes/no flag showing whether the budget model is the default one. | EnumNoYes (enum) | No | None | |
IsDeletePendingYes/no flag showing whether the record is marked as waiting to be deleted. | EnumNoYes (enum) | No | None | |
IsSimulationYes/no flag showing whether the record is for a simulation. | 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 | |
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 | |
StatusStatus of the tracking record: draft or confirmed. | EnumBudgetSourceTrackingStatus (enum) | 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 | |
TrackingDateDate of the tracking record. | DateTransDate | Yes | None | |
TrackingNumberDocument number attached to the tracking record. | String (50)DocumentNumLarge | No | None | |
TrackingUserUser ID linked to the tracking record; the metadata does not say whether this is the creator or another user. | StringUserId | No | None |
Indexes (5)
BudgetSourceIdxReplacement keyUnique, alternate key.
CategoryStatusDateIdxCategory,Status,TrackingDate,IsDeletePending,IsSimulationNot unique.
BudgetModelIdxBudgetModelDataAreaId,BudgetModelSubModelId,BudgetModelId,BudgetModelTypeNot unique.
TrackingNumberIdxNot unique.
IsDeletePendingIdxNot unique.
Relations (3)
Each relation joins BudgetSourceTracking to another table on the fields shown.
BudgetModel→BudgetModelJoin on
BudgetModelDataAreaId = BudgetModel.dataAreaId,BudgetModelSubModelId = BudgetModel.SubModelId,BudgetModelId = BudgetModel.ModelId,BudgetModelType = BudgetModel.TypeMany BudgetSourceTracking records → zero or one BudgetModel record
BudgetSource→BudgetSourceJoin on
BudgetSource = BudgetSource.RecIdZero or one BudgetSourceTracking record → exactly one BudgetSource record
UserInfo→UserInfoJoin on
TrackingUser = UserInfo.idMany BudgetSourceTracking records → exactly one UserInfo record
Get this data out
No public entity reads from BudgetSourceTracking. Its data is only reachable through the application, a custom entity or a database export.
Need help with BudgetSourceTracking in a report, an integration or a migration? Talk to Dr Dynamics.