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 descriptionType / EDT / enumMandatoryReferencesIn public entities
BudgetSourceLinks to the budget source record that is being tracked.Int64
RefRecId
YesBudgetSource.RecIdNone
SequenceNumberSequence number that, with the budget source, identifies the tracking record.Int64
SequenceNum
YesNone
BudgetModelDataAreaIdCompany of the budget model that this tracking record uses.String
DataAreaId
NoBudgetModel.dataAreaIdNone
BudgetModelIdIdentifier of the budget model that this tracking record uses.String
BudgetModelId
NoBudgetModel.ModelIdNone
BudgetModelSubModelIdIdentifier of the submodel within the budget model.String
BudgetModelSubId
NoBudgetModel.SubModelIdNone
BudgetModelTypeShows whether the budget model is a main model or a submodel.Enum
HeadingSub (enum)
NoBudgetModel.TypeNone
CategoryBudget control category of the tracked amount, such as original budget, revisions, transfers, reservations or actual expenditures.Enum
BudgetControlCategory (enum)
YesNone
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
IsDefaultBudgetModelYes/no flag showing whether the budget model is the default one.Enum
NoYes (enum)
NoNone
IsDeletePendingYes/no flag showing whether the record is marked as waiting to be deleted.Enum
NoYes (enum)
NoNone
IsSimulationYes/no flag showing whether the record is for a simulation.Enum
NoYes (enum)
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
StatusStatus of the tracking record: draft or confirmed.Enum
BudgetSourceTrackingStatus (enum)
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TrackingDateDate of the tracking record.Date
TransDate
YesNone
TrackingNumberDocument number attached to the tracking record.String (50)
DocumentNumLarge
NoNone
TrackingUserUser ID linked to the tracking record; the metadata does not say whether this is the creator or another user.String
UserId
NoNone

Indexes (5)

Relations (3)

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

  • BudgetModel → BudgetModel

    Join on BudgetModelDataAreaId = BudgetModel.dataAreaId, BudgetModelSubModelId = BudgetModel.SubModelId, BudgetModelId = BudgetModel.ModelId, BudgetModelType = BudgetModel.Type

    Many BudgetSourceTracking records → zero or one BudgetModel record

  • BudgetSource → BudgetSource

    Join on BudgetSource = BudgetSource.RecId

    Zero or one BudgetSourceTracking record → exactly one BudgetSource record

  • UserInfo → UserInfo

    Join on TrackingUser = UserInfo.id

    Many 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.

Email sales@drdynamics.co.uk