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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingDistributionTemplateTemplate used for the line. It points to an accounting distribution template.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdNone
AdvancedLedgerEntryHeaderHeader of the entry the line belongs to. It points to a header record.Int64
RefRecId
YesAdvancedLedgerEntryHeader.RecIdAdvancedLedgerEntryEntity
AmountCurCreditCredit amount of the line.Real
AmountCurCredit
NoAdvancedLedgerEntryEntity
AmountCurDebitDebit amount of the line.Real
AmountCurDebit
NoAdvancedLedgerEntryEntity
CostPriceCost price of the line.Real
PriceCur
NoAdvancedLedgerEntryEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimensions. It points to a dimension set.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
FinTagFinancial tag on the line. It points to a financial tag.Int64
FinTagRecId
NoFinTag.RecIdNone
JournalizingDefinitionPosting definition used. It points to a posting definition record.Int64
RefRecId
YesJournalizingDefinition.RecIdAdvancedLedgerEntryEntity
LedgerDimensionLedger account of the line. It points to a dimension code combination.Int64
LedgerDimensionAccount
YesDimensionAttributeValueCombination.RecIdAdvancedLedgerEntryEntity
LineNumberLine number.Real
LineNum
NoAdvancedLedgerEntryEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjActivityNumberProject activity number. It points to an activity.String (50)
smmActivityId
NosmmActivities.ActivityNumberAdvancedLedgerEntryEntity
ProjCategoryIdProject category. It points to a project category.String (30)
ProjCategoryId
NoProjCategory.CategoryIdAdvancedLedgerEntryEntity
ProjFundingSourceFunding source of the project. It points to a funding source record.Int64
RefRecId
NoProjFundingSource.RecIdAdvancedLedgerEntryEntity
ProjIdProject ID. It points to a project.String (20)
ProjId
NoProjTable.ProjIdAdvancedLedgerEntryEntity
ProjLinePropertyIdLine property of the project line. It points to a line property.String
ProjLinePropertyId
NoProjLineProperty.LinePropertyIdAdvancedLedgerEntryEntity
ProjSalesCurrencySales currency for the project. It points to a currency.String (3)
CurrencyCode
NoCurrency.CurrencyCodeAdvancedLedgerEntryEntity
ProjTaxGroupIdSales tax group for the project line. It points to a sales tax group.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupAdvancedLedgerEntryEntity
ProjTaxItemGroupIdItem sales tax group for the project line. It points to a tax item group.String
ProjTaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupAdvancedLedgerEntryEntity
ProjTransIdProject transaction ID.String (20)
ProjTransIdBase
NoAdvancedLedgerEntryEntity
QuantityHours or quantity on the line.Real
Qty
NoAdvancedLedgerEntryEntity
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
ResourceResource for the line. It points to a resource.Int64
ResourceRecId
NoResourceView.RecIdAdvancedLedgerEntryEntity
ResourceCategoryRole or resource category. It points to a resource category.Int64
ResourceCategoryRecId
NoResourceCategoryView.RecIdAdvancedLedgerEntryEntity
SalesPriceSales price of the line.Real
SalesPrice
NoAdvancedLedgerEntryEntity
SourceDocumentLineSource document line. It points to a source document line record.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
TransactionCurrencyCurrency of the line. It points to a currency.String (3)
CurrencyCode
YesCurrency.CurrencyCodeAdvancedLedgerEntryEntity
TransactionTextFree text that describes the transaction.String (60)
AdvancedLedgerEntryTransText
YesAdvancedLedgerEntryEntity
WorkerWorker linked to the line, held as a record ID.Int64
AdvancedLedgerEntryWorkerRecId
NoNone

Indexes (4)

Relations (18)

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

  • AccountingDistributionTemplate → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many AdvancedLedgerEntryLine records → zero or one AccountingDistributionTemplate record

  • AdvancedLedgerEntryHeader → AdvancedLedgerEntryHeader

    Join on AdvancedLedgerEntryHeader = AdvancedLedgerEntryHeader.RecId

    Many AdvancedLedgerEntryLine records → exactly one AdvancedLedgerEntryHeader record

  • Currency → Currency

    Join on TransactionCurrency = Currency.CurrencyCode

    Many AdvancedLedgerEntryLine records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many AdvancedLedgerEntryLine records → zero or one DimensionAttributeValueSet record

  • JournalizingDefinition → JournalizingDefinition

    Join on JournalizingDefinition = JournalizingDefinition.RecId

    Many AdvancedLedgerEntryLine records → exactly one JournalizingDefinition record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many AdvancedLedgerEntryLine records → exactly one DimensionAttributeValueCombination record

  • ProjCategory → ProjCategory

    Join on ProjCategoryId = ProjCategory.CategoryId

    Many AdvancedLedgerEntryLine records → zero or one ProjCategory record

  • ProjFundingSource → ProjFundingSource

    Join on ProjFundingSource = ProjFundingSource.RecId

    Many AdvancedLedgerEntryLine records → zero or one ProjFundingSource record

  • ProjLineProperty → ProjLineProperty

    Join on ProjLinePropertyId = ProjLineProperty.LinePropertyId

    Many AdvancedLedgerEntryLine records → zero or one ProjLineProperty record

  • ProjSalesCurrency → Currency

    Join on ProjSalesCurrency = Currency.CurrencyCode

    Many AdvancedLedgerEntryLine records → zero or one Currency record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many AdvancedLedgerEntryLine records → zero or one ProjTable record

  • ProjTaxGroupHeading → TaxGroupHeading

    Join on ProjTaxGroupId = TaxGroupHeading.TaxGroup

    Many AdvancedLedgerEntryLine records → zero or one TaxGroupHeading record

  • ProjTaxItemGroupHeading → TaxItemGroupHeading

    Join on ProjTaxItemGroupId = TaxItemGroupHeading.TaxItemGroup

    Many AdvancedLedgerEntryLine records → zero or one TaxItemGroupHeading record

  • Resource → ResourceView

    Join on Resource = ResourceView.RecId

    Many AdvancedLedgerEntryLine records → zero or one ResourceView record

  • ResourceCategory → ResourceCategoryView

    Join on ResourceCategory = ResourceCategoryView.RecId

    Many AdvancedLedgerEntryLine records → zero or one ResourceCategoryView record

  • smmActivities → smmActivities

    Join on ProjActivityNumber = smmActivities.ActivityNumber

    Many AdvancedLedgerEntryLine records → zero or one smmActivities record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Many AdvancedLedgerEntryLine records → zero or one SourceDocumentLine record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

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

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

Email sales@drdynamics.co.uk