Data entity
AdvancedLedgerEntryEntity
Holds the lines of advanced ledger entries, with details from the entry header. Each line has a debit or credit amount, a currency, an accounting date and a transaction text. It can also refer to a project, a funding source, a posting definition and a fiscal calendar period. The key is the header transaction number and the line number.
- Entity name
AdvancedLedgerEntryEntity- Public entity name
AdvancedLedgerEntry- OData collection
AdvancedLedgerEntries- Category
Document- Module
General ledger- Read-only
No- Data management enabled
Yes- Configuration key
AdvancedLedgerEntry- Keys
HeaderTransactionNumber, LineNumber- Staging table
AdvancedLedgerEntryStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/AdvancedLedgerEntries- Dataverse virtual table
mserp_advancedledgerentryentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
AdvancedLedgerEntryLine· rootAdvancedLedgerEntryHeader· OuterJoin toAdvancedLedgerEntryLineFiscalCalendarPeriod· OuterJoin toAdvancedLedgerEntryHeader· read-onlyFiscalCalendarYear· OuterJoin toFiscalCalendarPeriod· read-onlyFiscalCalendar· OuterJoin toFiscalCalendarYear· read-onlyJournalizingDefinitionHeader(tableJournalizingDefinition) · OuterJoin toAdvancedLedgerEntryHeader· read-onlyJournalizingDefinitionLine(tableJournalizingDefinition) · OuterJoin toAdvancedLedgerEntryLine· read-onlyProjFundingSource· OuterJoin toAdvancedLedgerEntryLine· read-onlyLedgerAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toAdvancedLedgerEntryLine· read-only
Fields (45)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LineCurrencyCurrency of the line. It points to a currency. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | AdvancedLedgerEntryLine.TransactionCurrency |
HeaderIdHeader of the entry the line belongs to. It points to a header record. | Int64RefRecId | Yes | No (private) | AdvancedLedgerEntryHeader.RecId | AdvancedLedgerEntryLine.AdvancedLedgerEntryHeader |
CreditCredit amount of the line. | RealAmountCurCredit | No | Yes | AdvancedLedgerEntryLine.AmountCurCredit | |
DebitDebit amount of the line. | RealAmountCurDebit | No | Yes | AdvancedLedgerEntryLine.AmountCurDebit | |
CostPriceCost price of the line. | RealPriceCur | No | Yes | AdvancedLedgerEntryLine.CostPrice | |
LineJournalizingDefinitionIdPosting definition used. It points to a posting definition record. | Int64RefRecId | Yes | No (private) | JournalizingDefinition.RecId | AdvancedLedgerEntryLine.JournalizingDefinition |
LedgerAccountLedger account of the line. It points to a dimension code combination. | Int64LedgerDimensionAccount | Yes | No (private) | DimensionAttributeValueCombination.RecId | AdvancedLedgerEntryLine.LedgerDimension |
LineNumberLine number. | RealLineNum | No | Yes | AdvancedLedgerEntryLine.LineNumber | |
ProjectActivityNumberProject activity number. It points to an activity. | String (50)smmActivityId | No | Yes | smmActivities.ActivityNumber | AdvancedLedgerEntryLine.ProjActivityNumber |
ProjectCategoryProject category. It points to a project category. | String (30)ProjCategoryId | No | Yes | ProjCategory.CategoryId | AdvancedLedgerEntryLine.ProjCategoryId |
ProjectFundingSourceIdFunding source of the project. It points to a funding source record. | Int64RefRecId | No | No (private) | ProjFundingSource.RecId | AdvancedLedgerEntryLine.ProjFundingSource |
ProjectIDProject ID. It points to a project. | String (20)ProjId | No | Yes | ProjTable.ProjId | AdvancedLedgerEntryLine.ProjId |
ProjectLinePropertyLine property of the project line. It points to a line property. | StringProjLinePropertyId | No | Yes | ProjLineProperty.LinePropertyId | AdvancedLedgerEntryLine.ProjLinePropertyId |
ProjectSalesCurrencySales currency for the project. It points to a currency. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | AdvancedLedgerEntryLine.ProjSalesCurrency |
ProjectSalesTaxGroupSales tax group for the project line. It points to a sales tax group. | StringProjTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | AdvancedLedgerEntryLine.ProjTaxGroupId |
ProjectItemSalesTaxGroupItem sales tax group for the project line. It points to a tax item group. | StringProjTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | AdvancedLedgerEntryLine.ProjTaxItemGroupId |
ProjectTransactionIDProject transaction ID. | String (20)ProjTransIdBase | No | Yes | AdvancedLedgerEntryLine.ProjTransId | |
QuantityHours or quantity on the line. | RealQty | No | Yes | AdvancedLedgerEntryLine.Quantity | |
ResourceIdResource for the line. It points to a resource. | Int64ResourceRecId | No | No (private) | ResourceView.RecId | AdvancedLedgerEntryLine.Resource |
ResourceCategoryIdRole or resource category. It points to a resource category. | Int64ResourceCategoryRecId | No | No (private) | ResourceCategoryView.RecId | AdvancedLedgerEntryLine.ResourceCategory |
SalesPriceSales price of the line. | RealSalesPrice | No | Yes | AdvancedLedgerEntryLine.SalesPrice | |
TransactionTextLineFree text that describes the transaction. | String (60)AdvancedLedgerEntryTransText | Yes | Yes | AdvancedLedgerEntryLine.TransactionText | |
HeaderAccountingDateAccounting date of the entry. | DateTransDate | No | Yes | AdvancedLedgerEntryHeader.AccountingDate | |
FiscalPeriodIdFiscal calendar period. It points to a period record. | Int64RefRecId | Yes | No (private) | FiscalCalendarPeriod.RecId | AdvancedLedgerEntryHeader.FiscalCalendarPeriod |
HeaderJournalizingDefinitionIdPosting definition used. It points to a posting definition record. | Int64RefRecId | Yes | No (private) | JournalizingDefinition.RecId | AdvancedLedgerEntryHeader.JournalizingDefinition |
ReasonIdReason linked to the entry. It points to a reason reference record. | Int64ReasonRefRecID | No | No (private) | ReasonTableRef.RecId | AdvancedLedgerEntryHeader.ReasonTableRef |
ReversingDateDate on which the entry is reversed. | DateTransDate | No | Yes | AdvancedLedgerEntryHeader.ReverseDate | |
ReversingEntryYes/No flag that shows whether this is a reversing entry. | Enum
| No | Yes | AdvancedLedgerEntryHeader.ReverseEntry | |
HeaderCurrencyCurrency of the entry. It points to a currency. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | AdvancedLedgerEntryHeader.TransactionCurrency |
HeaderTransactionNumberNumber that identifies the entry. It is the key of the table. | String (20)AdvancedLedgerEntryId | No | Yes | AdvancedLedgerEntryHeader.TransactionNumber | |
HeaderTransactionTextFree text that describes the transaction. | String (60)AdvancedLedgerEntryTransText | No | Yes | AdvancedLedgerEntryHeader.TransactionText | |
FiscalCalendarYearIdLink to the fiscal year that contains the period. | Int64FiscalCalendarYearRecId | No | No (private) | FiscalCalendarYear.RecId | FiscalCalendarPeriod.FiscalCalendarYear |
FiscalCalendarPeriodNameName of the period. It is unique within the fiscal year. | String (60)PeriodName | No | Yes | FiscalCalendarPeriod.Name | |
FiscalCalendarIdLink to the fiscal calendar that the year belongs to. | Int64FiscalCalendarRecId | No | No (private) | FiscalCalendar.RecId | FiscalCalendarYear.FiscalCalendar |
FiscalCalendarYearNameName of the fiscal year, for example a year label. | StringFiscalYearName | No | Yes | FiscalCalendarYear.Name | |
FiscalCalendarShort code that identifies the fiscal calendar. It is the key of the table. | StringFiscalCalendarID | No | Yes | FiscalCalendar.CalendarId | |
HeaderPostingDefinitionCode that identifies the posting definition. It is the key of the table. | StringJournalizingDefinitionCode | No | Yes | JournalizingDefinition.JournalizingDefinitionCode | |
LinePostingDefinitionCode that identifies the posting definition. It is the key of the table. | StringJournalizingDefinitionCode | No | Yes | JournalizingDefinition.JournalizingDefinitionCode | |
ProjFundingSourceContractID of the project contract that this funding source belongs to. | String (20)ProjInvoiceProjId | No | Yes | ProjInvoiceTable.ProjInvoiceProjId | ProjFundingSource.ContractId |
ProjFundingSourceCode that identifies the funding source within the contract. | String (20)ProjFundingSourceId | No | Yes | ProjFundingSource.FundingSourceId | |
LedgerAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
HeaderTransactionStatusStatus of the document, such as draft or posted. | Enum
| No | Yes | AdvancedLedgerEntryHeader.TransactionStatus | |
PSNBankTransactionTypeBank transaction type, used for public sector. | StringBankTransactionType | No | Yes | AdvancedLedgerEntryHeader.PSNBankTransactionType | |
PSNDoUpdateBankYes/No flag for updating bank balances, used for public sector. | Enum
| No | Yes | AdvancedLedgerEntryHeader.PSNDoUpdateBank | |
PSNIsCorrectionYes/No flag for a prior-year correction, used for public sector. | EnumPSNPriorYearCorrection
| No | Yes | AdvancedLedgerEntryHeader.PSNIsCorrection |
Foreign keys (21)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
LineCurrency→Currency.CurrencyCode(key of Currency)Many AdvancedLedgerEntryLine records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
HeaderId→AdvancedLedgerEntryHeader.RecId(key of AdvancedLedgerEntryHeader)Many AdvancedLedgerEntryLine records → exactly one AdvancedLedgerEntryHeader record
Not exposed by a public entity.
LineJournalizingDefinitionId→JournalizingDefinition.RecId(key of JournalizingDefinition)Many AdvancedLedgerEntryLine records → exactly one JournalizingDefinition record
JournalizingDefinition details: see JournalizingPostingDefinitionEntity, JournalizingPostingDefinitionEntryEntity, JournalizingTransactionPostingDefinitionBankEntity
LedgerAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many AdvancedLedgerEntryLine records → exactly one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
ProjectActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Many AdvancedLedgerEntryLine records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
ProjectCategory→ProjCategory.CategoryId(key of ProjCategory)Many AdvancedLedgerEntryLine records → zero or one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
ProjectFundingSourceId→ProjFundingSource.RecId(key of ProjFundingSource)Many AdvancedLedgerEntryLine records → zero or one ProjFundingSource record
ProjFundingSource details: see ProjFundingSourceEntity, ProjCDSProjectContractEntity, ProjBeginningBalanceCostSaleEntity
ProjectID→ProjTable.ProjId(key of ProjTable)Many AdvancedLedgerEntryLine records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ProjectLineProperty→ProjLineProperty.LinePropertyId(key of ProjLineProperty)Many AdvancedLedgerEntryLine records → zero or one ProjLineProperty record
ProjLineProperty details: see ProjProjectLinePropertyEntity, TrvExpMobileProjLinePropertyEntity, ProjBillingTypeLinePropertyEntity
ProjectSalesCurrency→Currency.CurrencyCode(key of Currency)Many AdvancedLedgerEntryLine records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ProjectSalesTaxGroup→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many AdvancedLedgerEntryLine records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
ProjectItemSalesTaxGroup→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many AdvancedLedgerEntryLine records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
ResourceId→ResourceView.RecId(key of ResourceView)Many AdvancedLedgerEntryLine records → zero or one ResourceView record
Not exposed by a public entity.
ResourceCategoryId→ResourceCategoryView.RecId(key of ResourceCategoryView)Many AdvancedLedgerEntryLine records → zero or one ResourceCategoryView record
Not exposed by a public entity.
FiscalPeriodId→FiscalCalendarPeriod.RecId(key of FiscalCalendarPeriod)Exactly one AdvancedLedgerEntryHeader record → exactly one FiscalCalendarPeriod record
FiscalCalendarPeriod details: see FiscalPeriodEntity, BudgetCycleEntity, ELJournalNumberEntity
HeaderJournalizingDefinitionId→JournalizingDefinition.RecId(key of JournalizingDefinition)Many AdvancedLedgerEntryHeader records → exactly one JournalizingDefinition record
JournalizingDefinition details: see JournalizingPostingDefinitionEntity, JournalizingPostingDefinitionEntryEntity, JournalizingTransactionPostingDefinitionBankEntity
ReasonId→ReasonTableRef.RecId(key of ReasonTableRef)Exactly one AdvancedLedgerEntryHeader record → zero or one ReasonTableRef record
ReasonTableRef details: see CustInvoiceJournalLineEntity, PurchPurchaseOrderConfirmationHeaderEntity, PurchPurchaseOrderHeaderEntity
HeaderCurrency→Currency.CurrencyCode(key of Currency)Many AdvancedLedgerEntryHeader records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
FiscalCalendarYearId→FiscalCalendarYear.RecId(key of FiscalCalendarYear)Many FiscalCalendarPeriod records → exactly one FiscalCalendarYear record
FiscalCalendarYear details: see FiscalCalendarYearEntity, MCRReqPlanContinuityEntity, FiscalYearEntity
FiscalCalendarId→FiscalCalendar.RecId(key of FiscalCalendar)Many FiscalCalendarYear records → exactly one FiscalCalendar record
FiscalCalendar details: see LedgerFiscalYearEntity, BudgetTrackingWorkspaceParametersEntity, FiscalCalendarEntity
ProjFundingSourceContract→ProjInvoiceTable.ProjInvoiceProjId(key of ProjInvoiceTable)Many ProjFundingSource records → exactly one ProjInvoiceTable record
ProjInvoiceTable details: see ProjProjectContractHeaderEntity, ProjContractEntity, ProjCDSProjectContractEntity
Need help with AdvancedLedgerEntryEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.