Table
AdvancedLedgerEntryLine
Advanced ledger entry lines
Holds the lines of an advanced ledger entry. Each line belongs to a header and has a ledger account, debit and credit amounts and dimensions. It also has project fields such as project, category, resource and funding source. No key is given in the metadata.
- Table name
AdvancedLedgerEntryLine- Module
General ledger- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
AdvancedLedgerEntry- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (33)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingDistributionTemplateTemplate used for the line. It points to an accounting distribution template. | Int64AccountingDistributionTemplateRecId | No | AccountingDistributionTemplate.RecId | None |
AdvancedLedgerEntryHeaderHeader of the entry the line belongs to. It points to a header record. | Int64RefRecId | Yes | AdvancedLedgerEntryHeader.RecId | AdvancedLedgerEntryEntity |
AmountCurCreditCredit amount of the line. | RealAmountCurCredit | No | AdvancedLedgerEntryEntity | |
AmountCurDebitDebit amount of the line. | RealAmountCurDebit | No | AdvancedLedgerEntryEntity | |
CostPriceCost price of the line. | RealPriceCur | No | AdvancedLedgerEntryEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimensions. It points to a dimension set. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
FinTagFinancial tag on the line. It points to a financial tag. | Int64FinTagRecId | No | FinTag.RecId | None |
JournalizingDefinitionPosting definition used. It points to a posting definition record. | Int64RefRecId | Yes | JournalizingDefinition.RecId | AdvancedLedgerEntryEntity |
LedgerDimensionLedger account of the line. It points to a dimension code combination. | Int64LedgerDimensionAccount | Yes | DimensionAttributeValueCombination.RecId | AdvancedLedgerEntryEntity |
LineNumberLine number. | RealLineNum | No | AdvancedLedgerEntryEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjActivityNumberProject activity number. It points to an activity. | String (50)smmActivityId | No | smmActivities.ActivityNumber | AdvancedLedgerEntryEntity |
ProjCategoryIdProject category. It points to a project category. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | AdvancedLedgerEntryEntity |
ProjFundingSourceFunding source of the project. It points to a funding source record. | Int64RefRecId | No | ProjFundingSource.RecId | AdvancedLedgerEntryEntity |
ProjIdProject ID. It points to a project. | String (20)ProjId | No | ProjTable.ProjId | AdvancedLedgerEntryEntity |
ProjLinePropertyIdLine property of the project line. It points to a line property. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | AdvancedLedgerEntryEntity |
ProjSalesCurrencySales currency for the project. It points to a currency. | String (3)CurrencyCode | No | Currency.CurrencyCode | AdvancedLedgerEntryEntity |
ProjTaxGroupIdSales tax group for the project line. It points to a sales tax group. | StringProjTaxGroup | No | TaxGroupHeading.TaxGroup | AdvancedLedgerEntryEntity |
ProjTaxItemGroupIdItem sales tax group for the project line. It points to a tax item group. | StringProjTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | AdvancedLedgerEntryEntity |
ProjTransIdProject transaction ID. | String (20)ProjTransIdBase | No | AdvancedLedgerEntryEntity | |
QuantityHours or quantity on the line. | RealQty | No | AdvancedLedgerEntryEntity | |
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 | |
ResourceResource for the line. It points to a resource. | Int64ResourceRecId | No | ResourceView.RecId | AdvancedLedgerEntryEntity |
ResourceCategoryRole or resource category. It points to a resource category. | Int64ResourceCategoryRecId | No | ResourceCategoryView.RecId | AdvancedLedgerEntryEntity |
SalesPriceSales price of the line. | RealSalesPrice | No | AdvancedLedgerEntryEntity | |
SourceDocumentLineSource document line. It points to a source document line record. | 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 | |
TransactionCurrencyCurrency of the line. It points to a currency. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | AdvancedLedgerEntryEntity |
TransactionTextFree text that describes the transaction. | String (60)AdvancedLedgerEntryTransText | Yes | AdvancedLedgerEntryEntity | |
WorkerWorker linked to the line, held as a record ID. | Int64AdvancedLedgerEntryWorkerRecId | No | None |
Indexes (4)
AdvancedLedgerEntryLineNumberIdxAdvancedLedgerEntryHeader,LineNumberUnique, alternate key.
smmActivitiesIdxNot unique.
DimensionAttributeValueSetIdxNot unique.
SourceDocumentLineIdxSourceDocumentLine,Partition,dataAreaIdNot unique.
Relations (18)
Each relation joins AdvancedLedgerEntryLine to another table on the fields shown.
AccountingDistributionTemplate→AccountingDistributionTemplateJoin on
AccountingDistributionTemplate = AccountingDistributionTemplate.RecIdMany AdvancedLedgerEntryLine records → zero or one AccountingDistributionTemplate record
AdvancedLedgerEntryHeader→AdvancedLedgerEntryHeaderJoin on
AdvancedLedgerEntryHeader = AdvancedLedgerEntryHeader.RecIdMany AdvancedLedgerEntryLine records → exactly one AdvancedLedgerEntryHeader record
Currency→CurrencyJoin on
TransactionCurrency = Currency.CurrencyCodeMany AdvancedLedgerEntryLine records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany AdvancedLedgerEntryLine records → zero or one DimensionAttributeValueSet record
JournalizingDefinition→JournalizingDefinitionJoin on
JournalizingDefinition = JournalizingDefinition.RecIdMany AdvancedLedgerEntryLine records → exactly one JournalizingDefinition record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany AdvancedLedgerEntryLine records → exactly one DimensionAttributeValueCombination record
ProjCategory→ProjCategoryJoin on
ProjCategoryId = ProjCategory.CategoryIdMany AdvancedLedgerEntryLine records → zero or one ProjCategory record
ProjFundingSource→ProjFundingSourceJoin on
ProjFundingSource = ProjFundingSource.RecIdMany AdvancedLedgerEntryLine records → zero or one ProjFundingSource record
ProjLineProperty→ProjLinePropertyJoin on
ProjLinePropertyId = ProjLineProperty.LinePropertyIdMany AdvancedLedgerEntryLine records → zero or one ProjLineProperty record
ProjSalesCurrency→CurrencyJoin on
ProjSalesCurrency = Currency.CurrencyCodeMany AdvancedLedgerEntryLine records → zero or one Currency record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany AdvancedLedgerEntryLine records → zero or one ProjTable record
ProjTaxGroupHeading→TaxGroupHeadingJoin on
ProjTaxGroupId = TaxGroupHeading.TaxGroupMany AdvancedLedgerEntryLine records → zero or one TaxGroupHeading record
ProjTaxItemGroupHeading→TaxItemGroupHeadingJoin on
ProjTaxItemGroupId = TaxItemGroupHeading.TaxItemGroupMany AdvancedLedgerEntryLine records → zero or one TaxItemGroupHeading record
Resource→ResourceViewJoin on
Resource = ResourceView.RecIdMany AdvancedLedgerEntryLine records → zero or one ResourceView record
ResourceCategory→ResourceCategoryViewJoin on
ResourceCategory = ResourceCategoryView.RecIdMany AdvancedLedgerEntryLine records → zero or one ResourceCategoryView record
smmActivities→smmActivitiesJoin on
ProjActivityNumber = smmActivities.ActivityNumberMany AdvancedLedgerEntryLine records → zero or one smmActivities record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdMany AdvancedLedgerEntryLine records → zero or one SourceDocumentLine record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany AdvancedLedgerEntryLine records → zero or one FinTag record
Get this data out
Tables are not exposed directly. These public entities read from AdvancedLedgerEntryLine; use one of them in Power BI, Power Platform or a data management project.
AdvancedLedgerEntryEntity· 22 fields from this table
Need help with AdvancedLedgerEntryLine in a report, an integration or a migration? Talk to Dr Dynamics.