Table

ProjAdvancedJournalLine

Project advanced journal line

Holds the lines of a project advanced journal, keyed by voucher. Each line links to a journal, project, category, worker, resource, item and dimensions. It carries quantity, cost and sales amounts with currencies and exchange rates, plus tax, offset account and posting status data. It is used by actuals import and tax information entities.

Table name
ProjAdvancedJournalLine
Module
Project management and accounting
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
Project
Primary index
Voucher
Replacement key
Voucher
Key fields
Voucher
Model
Foundation

Fields (75)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
VoucherVoucher number of the line. It is the key of the table.String (20)
ProjAdvancedJournalVoucher
NoProjAdvancedJournalLineEntityProjActualsImportEntity
AccountingDateDate used for accounting on the line.Date
TransDate
YesProjAdvancedJournalLineEntity
ActivityNumberNumber of the project activity linked to the line.String (50)
smmActivityId
NosmmActivities.ActivityNumberProjAdvancedJournalLineEntity
BookableResourceNameName of the bookable resource.String (60)
ProjBookableResourceName
NoNone
CalculatedTaxAmountTax amount worked out for the line, currency not stated in the metadata.Real
TaxAmountCur
NoNone
ContractLineIdID of the contract line the line belongs to.String
PSAContractLineNum
NoProjAdvancedJournalLineEntity
CostCurrencyCurrency code of the cost amounts.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
CostExchangeRateExchange rate used for the cost amounts.Real
ExchRate
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoProjAdvancedJournalLineBiEntity
DefaultDimensionPoints to the set of financial dimension values on the line.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
DocumentTypeKind of document for the line: usage or purchase.Enum
ProjAdvancedJournalLineDocType (enum)
NoNone
ExtendedCostTotal cost price of the line. A cost currency field is on the same record.Real
AmountCur
NoProjAdvancedJournalLineEntity
ExtendedPriceTotal sales price of the line. A sales currency field is on the same record.Real
AmountCur
NoProjAdvancedJournalLineEntity
FinTagPoints to the financial tag on the line.Int64
FinTagRecId
NoFinTag.RecIdNone
FundingSourceIdReference to the funding source of the line.Int64
ProjFundingSourceRefId
NoNone
IntercompanyBilledYes/no flag, probably showing that the line was billed between companies. No label is given.low confidenceEnum
boolean (enum)
NoNone
InventDimIdPoints to the inventory dimensions of the item.String (20)
InventDimId
NoNone
InventTransIdLot ID linking the line to inventory transactions.String (20)
TradeInventTransId
NoInventTransOrigin.InventTransIdNone
IsDiscountLedgeredYes/no flag about the discount being ledgered. No label is given.low confidenceEnum
NoYes (enum)
NoNone
IsStockedYes/no flag for whether the item is stocked. No label is given.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
ItemDescriptionDescription of the item on the line.String (255)
Description255
NoNone
ItemIdNumber of the inventoried item on the line.String (20)
ItemIdInventoried
NoInventTable.ItemIdNone
LegalEntityReference to the legal entity of the line, stored as a number.low confidenceInt64
LegalEntity
NoNone
LineDiscountLine discount value, as held in sales line discount terms.Real
SalesLineDisc
NoNone
LineNumberNumber of the line in the journal.Real
LineNum
NoProjAdvancedJournalLineEntityProjAdvancedJournalLineBiEntityTaxProjAdvancedJournalLineCostTransTaxInformationEntityand 1 more
LinePropertyIdLine property assigned to the line.String
ProjLinePropertyId
NoProjLineProperty.LinePropertyIdProjAdvancedJournalLineEntity
MatchedVendorInvoiceVendor invoice matched to the line.String (100)
ProjMatchedVendorInvoice
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OffsetAccountTypeType of the offset account, such as ledger, customer, vendor, project or bank.Enum
LedgerJournalACType (enum)
NoNone
OffsetLedgerDimensionPoints to the account and dimension combination used as the offset account.Int64
DimensionDynamicDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
OverrideSalesTaxYes/no setting that lets the line override the sales tax determination.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoProjAdvancedJournalLineEntity
PackedExtensionsContainer holding packed extension data for the line.Container
SysExtensionSerializerPackedContainer
NoNone
ParentProjAdvancedJournalLinePoints to the parent journal line, if any.Int64
RefRecId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostErrorYes/no flag showing that posting of the line failed.Enum
ProjOpsJournalLinePostError
NoYes (enum)
NoProjAdvancedJournalLineEntity
PriceCurrencyCurrency code of the sales amounts.String (3)
CurrencyCode
YesProjAdvancedJournalLineEntity
PriceExchangeRateExchange rate used for the sales amounts.Real
ExchRate
NoProjAdvancedJournalLineEntity
PriceGroupIdPrice group used for the line.String
ProjPriceGroupID
NoNone
ProjAdvancedJournalPoints to the journal header the line belongs to.Int64
ProjAdvancedJournalRecId
YesProjAdvancedJournal.RecIdProjAdvancedJournalLineEntityProjAdvancedJournalLineBiEntityTaxProjAdvancedJournalLineCostTransTaxInformationEntityand 1 more
ProjAdvancedJournalIdNumber of the journal the line belongs to.String (20)
ProjAdvancedJournalId
NoNone
ProjCategoryIdProject category of the line.String (30)
ProjCategoryId
NoProjCategory.CategoryIdProjAdvancedJournalLineEntity
ProjCDSTransTypeKind of transaction in Dataverse terms, such as cost, sales, tax or billed sales.Enum
ProjCDSTransType (enum)
NoNone
ProjDataAreaIdCompany (legal entity) the project and category belong to.String
DataAreaId
NoProjCategory.DataAreaIdProjTable.DataAreaIdProjAdvancedJournalLineEntity
ProjectSalesTaxGroupSales tax group used when the line is invoiced.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupProjAdvancedJournalLineEntity
ProjectSalesTaxItemGroupItem sales tax group used when the line is invoiced.String
ProjTaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupProjAdvancedJournalLineEntity
ProjIdID of the project the line is for.String (20)
ProjId
NoProjTable.ProjIdProjAdvancedJournalLineEntity
ProjTransDateProject date of the transaction.Date
ProjTransDate
NoNone
ProjTransIdID of the related project transaction, for example an hour transaction.String (20)
ProjTransIdBase
NoProjActualsImportEntity
ProvidedTaxAmountTax amount supplied for the line, currency not stated in the metadata.Real
TaxAmountCur
NoNone
PSAIndirectComponentGroupIndirect cost component group of the line.String
PSAIndirectComponentGroupId
NoPSAIndirectComponentGroup.ComponentGroupIdNone
QuantityHours or quantity booked on the line.Real
Qty
NoProjAdvancedJournalLineEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoProjAdvancedJournalLineBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RelatedVoucherVoucher of the related integration journal entries.String (20)
ProjAdvancedJournalRelatedVoucher
NoNone
RelatedVoucherAccountingDateAccounting date of the related voucher.Date
AccountingDate
NoNone
RelatedVoucherDataAreaIdCompany of the related voucher. No label is given.String
DataAreaId
NoNone
RelatedVoucherOriginOrigin of the related transaction, such as an hour journal or expense journal.Enum
ProjOrigin (enum)
NoNone
ResourceCategoryRoleIdPoints to the role of the resource.Int64
ResourceCategoryRecId
NoResourceCategoryView.RecIdProjAdvancedJournalLineEntity
ResourceIdPoints to the project resource on the line.Int64
ResourceRecId
NoResourceView.RecIdProjAdvancedJournalLineEntity
SourceDocumentLinePoints to the source document line linked to this line.Int64
SourceDocumentLineRecId
NoSourceDocumentLine.RecIdNone
StatusProcessing state of the line, such as draft, processing, error, posted or invalid actuals.Enum
ProjAdvancedJournalLineStatus (enum)
NoProjAdvancedJournalLineBiEntity
SubcontractLineSubcontract line linked to this journal line.String (20)
ProjSubcontractLine
NoNone
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
TaxGroupSales tax group used for taxes on the line.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupProjAdvancedJournalLineEntity
TaxItemGroupItem sales tax group used for taxes on the line.String
ProjTaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupProjAdvancedJournalLineEntity
TextFree text describing the line.String (255)
ProjAdvancedJournalText
NoProjAdvancedJournalLineEntity
TransTypeType of project transaction, such as fee, hour, expense, item or retainage.Enum
ProjTransType (enum)
NoProjAdvancedJournalLineEntity
UnitCostCost for one unit. A cost currency field is on the same record.Real
AmountCur
NoProjAdvancedJournalLineEntity
UnitPriceSales price for one unit. A sales currency field is on the same record.Real
AmountCur
NoProjAdvancedJournalLineEntity
VatDueDate_WDate of the VAT register entry.Date
VatDueDate_W
NoNone
WorkerPoints to the worker on the line.Int64
ProjWorkerRecId
NoHcmWorker.RecIdNone

Indexes (12)

Relations (24)

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

  • ProjAdvancedJournal → ProjAdvancedJournal

    Join on ProjAdvancedJournal = ProjAdvancedJournal.RecId

    Many ProjAdvancedJournalLine records → exactly one ProjAdvancedJournal record

  • Currency → Currency

    Join on CostCurrency = Currency.CurrencyCode

    Many ProjAdvancedJournalLine records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many ProjAdvancedJournalLine records → zero or one DimensionAttributeValueSet record

  • ProjCategory → ProjCategory

    Join on ProjCategoryId = ProjCategory.CategoryId, ProjDataAreaId = ProjCategory.DataAreaId

    Many ProjAdvancedJournalLine records → zero or one ProjCategory record

  • ProjLineProperty → ProjLineProperty

    Join on LinePropertyId = ProjLineProperty.LinePropertyId

    Many ProjAdvancedJournalLine records → zero or one ProjLineProperty record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId, ProjDataAreaId = ProjTable.DataAreaId

    Many ProjAdvancedJournalLine records → zero or one ProjTable record

  • ProjTaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many ProjAdvancedJournalLine records → zero or one TaxGroupHeading record

  • ProjTaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many ProjAdvancedJournalLine records → zero or one TaxItemGroupHeading record

  • Resource → ResourceView

    Join on ResourceId = ResourceView.RecId

    Many ProjAdvancedJournalLine records → zero or one ResourceView record

  • ResourceCategory → ResourceCategoryView

    Join on ResourceCategoryRoleId = ResourceCategoryView.RecId

    Many ProjAdvancedJournalLine records → zero or one ResourceCategoryView record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many ProjAdvancedJournalLine records → zero or one smmActivities record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Many ProjAdvancedJournalLine records → zero or one SourceDocumentLine record

  • Worker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many ProjAdvancedJournalLine records → zero or one HcmWorker record

  • PSAIndirectComponentGroup → PSAIndirectComponentGroup

    Join on PSAIndirectComponentGroup = PSAIndirectComponentGroup.ComponentGroupId

    Many ProjAdvancedJournalLine records → zero or one PSAIndirectComponentGroup record

  • OffsetfLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many ProjAdvancedJournalLine records → zero or one DimensionAttributeValueCombination record

  • ProjectSalesTaxGroupHeading → TaxGroupHeading

    Join on ProjectSalesTaxGroup = TaxGroupHeading.TaxGroup

    Many ProjAdvancedJournalLine records → zero or one TaxGroupHeading record

  • ProjectSalesTaxItemGroupHeading → TaxItemGroupHeading

    Join on ProjectSalesTaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many ProjAdvancedJournalLine records → zero or one TaxItemGroupHeading record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many ProjAdvancedJournalLine records → exactly one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Zero or one ProjAdvancedJournalLine record → zero or one InventTransOrigin record

  • ProjEmplTrans → ProjEmplTrans

    Join on ProjTransId = ProjEmplTrans.TransIdRef, TransType = ProjTransType::Hour, Status = ProjAdvancedJournalLineStatus::Posted

    Zero or one ProjAdvancedJournalLine record → exactly one ProjEmplTrans record

  • ProjCostTrans → ProjCostTrans

    Join on ProjTransId = ProjCostTrans.TransIdRef, TransType = ProjTransType::Cost, Status = ProjAdvancedJournalLineStatus::Posted

    Zero or one ProjAdvancedJournalLine record → exactly one ProjCostTrans record

  • ProjRevenueTrans → ProjRevenueTrans

    Join on ProjTransId = ProjRevenueTrans.TransIdRef, TransType = ProjTransType::Revenue, Status = ProjAdvancedJournalLineStatus::Posted

    Zero or one ProjAdvancedJournalLine record → exactly one ProjRevenueTrans record

  • ProjItemTrans → ProjItemTrans

    Join on ProjTransId = ProjItemTrans.ProjTransIdRef, TransType = ProjTransType::Item, Status = ProjAdvancedJournalLineStatus::Posted

    Zero or one ProjAdvancedJournalLine record → exactly one ProjItemTrans record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many ProjAdvancedJournalLine records → zero or one FinTag record

Get this data out

Tables are not exposed directly. These public entities read from ProjAdvancedJournalLine; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk