Table

BudgetSource

Budget source

Holds one budget source record. Each record points to the original item that was checked against budget. That item can be a budget account entry, a source document line or a general journal entry. It also stores the budget check result and whether an overrun was approved.

Table name
BudgetSource
Module
Budget
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
LedgerAdv2BudgetCtrl
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BudgetCheckGroupSequence number linked to a budget check group; the metadata does not say more.low confidenceInt64
SequenceNum
NoNone
BudgetCheckGroupSequenceSequence number inside a budget check group; the metadata does not say more.low confidenceInt64
SequenceNum
NoNone
BudgetControlSourceIntegratorKind of source that created the budget item, such as purchase orders, expense reports or journals.Enum
BudgetControlSourceIntegrator (enum)
NoNone
BudgetSourceTypeShows which kind of record the budget source comes from: a budget account entry, a source document line, a ledger entry or a ledger journal entry.Enum
BudgetSourceType (enum)
NoNone
BudgetTransactionLineLinks to the budget account entry that this budget source refers to.Int64
RefRecId
NoBudgetTransactionLine.RecIdNone
CheckResultOutcome of the budget check, for example not performed, passed, passed with a warning or failed.Enum
BudgetCheckResult (enum)
NoNone
CheckResultErrorWarningMore detailed reason behind a budget control error or warning, such as an invalid date or an exceeded threshold.Enum
BudgetControlErrorWarning (enum)
NoNone
CheckResultErrorWarningTypeGroups the budget control problem into a type: invalid request or budget available check.Enum
BudgetControlErrorWarningType (enum)
NoNone
IsDeletePendingYes/no flag showing whether the record is marked as waiting to be deleted.Enum
NoYes (enum)
NoNone
IsOverrunApprovedYes/no flag showing whether a budget overrun has been approved.Enum
NoYes (enum)
NoNone
LedgerEntryGeneralJournalEntryLinks to the general journal entry when the budget source is a ledger entry.Int64
RefRecId
NoGeneralJournalEntry.RecIdNone
LedgerEntryJournalLegalEntityLinks to the legal entity of the ledger journal entry.Int64
RefRecId
NoCompanyInfo.RecIdNone
LedgerEntryJournalNumberJournal batch number of the ledger journal entry.String (20)
LedgerJournalId
NoNone
LedgerEntryJournalReferenceNumberVoucher number of the ledger journal entry.String (20)
Voucher
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
SourceDocumentLineLinks to the source document line when the budget source is a source document line.Int64
RefRecId
NoSourceDocumentLine.RecIdNone
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

Indexes (7)

Relations (4)

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

  • BudgetTransactionLine → BudgetTransactionLine

    Join on BudgetTransactionLine = BudgetTransactionLine.RecId

    Zero or one BudgetSource record → zero or one BudgetTransactionLine record

  • GeneralJournalEntry → GeneralJournalEntry

    Join on LedgerEntryGeneralJournalEntry = GeneralJournalEntry.RecId

    Zero or one BudgetSource record → zero or one GeneralJournalEntry record

  • LegalEntity → CompanyInfo

    Join on LedgerEntryJournalLegalEntity = CompanyInfo.RecId

    Many BudgetSource records → zero or one CompanyInfo record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Zero or one BudgetSource record → zero or one SourceDocumentLine record

Get this data out

No public entity reads from BudgetSource. Its data is only reachable through the application, a custom entity or a database export.

Need help with BudgetSource in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk