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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BudgetCheckGroupSequence number linked to a budget check group; the metadata does not say more.low confidence | Int64SequenceNum | No | None | |
BudgetCheckGroupSequenceSequence number inside a budget check group; the metadata does not say more.low confidence | Int64SequenceNum | No | None | |
BudgetControlSourceIntegratorKind of source that created the budget item, such as purchase orders, expense reports or journals. | EnumBudgetControlSourceIntegrator (enum) | No | None | |
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. | EnumBudgetSourceType (enum) | No | None | |
BudgetTransactionLineLinks to the budget account entry that this budget source refers to. | Int64RefRecId | No | BudgetTransactionLine.RecId | None |
CheckResultOutcome of the budget check, for example not performed, passed, passed with a warning or failed. | EnumBudgetCheckResult (enum) | No | None | |
CheckResultErrorWarningMore detailed reason behind a budget control error or warning, such as an invalid date or an exceeded threshold. | EnumBudgetControlErrorWarning (enum) | No | None | |
CheckResultErrorWarningTypeGroups the budget control problem into a type: invalid request or budget available check. | EnumBudgetControlErrorWarningType (enum) | No | None | |
IsDeletePendingYes/no flag showing whether the record is marked as waiting to be deleted. | EnumNoYes (enum) | No | None | |
IsOverrunApprovedYes/no flag showing whether a budget overrun has been approved. | EnumNoYes (enum) | No | None | |
LedgerEntryGeneralJournalEntryLinks to the general journal entry when the budget source is a ledger entry. | Int64RefRecId | No | GeneralJournalEntry.RecId | None |
LedgerEntryJournalLegalEntityLinks to the legal entity of the ledger journal entry. | Int64RefRecId | No | CompanyInfo.RecId | None |
LedgerEntryJournalNumberJournal batch number of the ledger journal entry. | String (20)LedgerJournalId | No | None | |
LedgerEntryJournalReferenceNumberVoucher number of the ledger journal entry. | String (20)Voucher | 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 | |
SourceDocumentLineLinks to the source document line when the budget source is a source document line. | Int64RefRecId | No | SourceDocumentLine.RecId | 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 (7)
BudgetTransactionLineIdxNot unique.
SourceDocumentLineIdxNot unique.
LegalEntityIdxNot unique.
GeneralJournalEntryIdxLedgerEntryGeneralJournalEntryNot unique.
BudgetSourceIdxBudgetSourceType,BudgetTransactionLine,SourceDocumentLine,LedgerEntryGeneralJournalEntry,LedgerEntryJournalNumber,LedgerEntryJournalReferenceNumber,LedgerEntryJournalLegalEntity,CheckResultUnique.
BudgetCheckGroupIdxBudgetCheckGroup,BudgetCheckGroupSequence,BudgetControlSourceIntegrator,IsOverrunApproved,CheckResultErrorWarningTypeNot unique.
IsDeletePendingIdxNot unique.
Relations (4)
Each relation joins BudgetSource to another table on the fields shown.
BudgetTransactionLine→BudgetTransactionLineJoin on
BudgetTransactionLine = BudgetTransactionLine.RecIdZero or one BudgetSource record → zero or one BudgetTransactionLine record
GeneralJournalEntry→GeneralJournalEntryJoin on
LedgerEntryGeneralJournalEntry = GeneralJournalEntry.RecIdZero or one BudgetSource record → zero or one GeneralJournalEntry record
LegalEntity→CompanyInfoJoin on
LedgerEntryJournalLegalEntity = CompanyInfo.RecIdMany BudgetSource records → zero or one CompanyInfo record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdZero 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.