Table

ProjBegBalJournalTrans_CostSales

Journal lines for beginning balances

Holds journal lines for beginning balances of project cost and sales transactions. Each line links to a journal, project, category, worker, resource, item and funding source. It carries quantity, cost and sales amounts and the transaction and ledger status. It has no defined key and feeds the beginning balance cost and sale entity.

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

Fields (36)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ActivityNumberNumber of the project activity on the line.String (50)
ProjActivityNumber
NoProjActivity.ActivityNumbersmmActivities.ActivityNumberProjBeginningBalanceCostSaleEntity
ContractLineIdID of the contract line the line relates to.String
PSAContractLineNum
NoPSAContractLineItems.ContractLineNumNone
CostAmountCost amount of the line, in the project currency as the type suggests.Real
CostAmountProject
NoProjBeginningBalanceCostSaleEntity
CostPriceCost price per unit, currency not stated in the metadata.Real
ProjCostPriceCost
NoProjBeginningBalanceCostSaleEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionPoints to the set of financial dimension values on the line.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdProjBeginningBalanceCostSaleEntity
ItemIdNumber of the item on the line.String (20)
ItemId
NoInventTable.ItemIdProjBeginningBalanceCostSaleEntity
JournalIdID of the project journal the line belongs to.String (20)
ProjJournalId
NoProjJournalTable.JournalIdNone
LineNumNumber of the line in the journal.Real
LineNum
NoProjBeginningBalanceCostSaleEntity
LinePropertyIdLine property assigned to the line.String
ProjLinePropertyId
YesProjLineProperty.LinePropertyIdProjBeginningBalanceCostSaleEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjAccruableYes/no flag for whether revenue is accrued.Enum
ProjAccruable
boolean (enum)
NoProjBeginningBalanceCostSaleEntity
ProjCategoryIdProject category of the line.String (30)
ProjCategoryId
YesProjCategory.CategoryIdProjBeginningBalanceCostSaleEntity
ProjFundingSourcePoints to the project funding source of the line.Int64
RefRecId
NoProjFundingSource.RecIdProjBeginningBalanceCostSaleEntity
ProjIdID of the project the line is for.String (20)
ProjId
YesProjTable.ProjIdProjBeginningBalanceCostSaleEntity
ProjLedgerCostStatusLedger status of the cost, such as no ledger, balance, profit and loss, never ledger or deferred.Enum
ProjLedgerCostStatus
ProjLedgerStatus (enum)
NoProjBeginningBalanceCostSaleEntity
ProjSalesAmountSales amount of the line, currency not stated in the metadata.Real
ProjSalesAmount
NoProjBeginningBalanceCostSaleEntity
ProjSalesCurrencyIdCurrency code of the sales amount.String (3)
ProjSalesCurrencyCode
YesCurrency.CurrencyCodeProjBeginningBalanceCostSaleEntity
ProjTaxGroupIdSales tax group of the line.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupProjBeginningBalanceCostSaleEntity
ProjTaxItemGroupIdItem sales tax group of the line.String
ProjTaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupProjBeginningBalanceCostSaleEntity
ProjTransDateProject date of the transaction.Date
ProjTransDate
YesProjBeginningBalanceCostSaleEntity
ProjTransStatusPostedInvoicedStatus of the transaction: posted or invoiced.Enum
ProjTransStatusPostedInvoiced (enum)
NoProjBeginningBalanceCostSaleEntity
ProjTransTypeType of cost transaction: hour, expense or item.Enum
BegBalProjTransTypeCost (enum)
YesProjBeginningBalanceCostSaleEntity
QuantityQuantity or hours on the line.Real
QtyHours
NoProjBeginningBalanceCostSaleEntity
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
ResourcePoints to the project resource on the line.Int64
ResourceRecId
NoResResourceIdentifier.RecIdResourceView.RecIdProjBeginningBalanceCostSaleEntity
ResourceCategoryPoints to the role of the resource.Int64
ResourceCategoryRecId
NoResourceCategoryView.RecIdProjBeginningBalanceCostSaleEntity
SalesPriceSales price per unit, currency not stated in the metadata.Real
ProjSalesPriceCost
NoProjBeginningBalanceCostSaleEntity
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
TransDateVoucher date of the journal line.Date
JournalTransDate
NoProjBeginningBalanceCostSaleEntity
TransIdID of the project transaction.String (20)
ProjTransIdBase
NoNone
TxtFree text describing the line.String (512)
LedgerJournalTransTxt
NoProjBeginningBalanceCostSaleEntity
VoucherVoucher number of the line.String (20)
Voucher
NoProjBeginningBalanceCostSaleEntity
WorkerPoints to the worker on the line.Int64
ProjWorkerRecId
NoHcmWorker.RecIdNone

Indexes (4)

Relations (24)

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

  • Currency → Currency

    Join on ProjSalesCurrencyId = Currency.CurrencyCode

    Many ProjBegBalJournalTrans_CostSales records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many ProjBegBalJournalTrans_CostSales records → zero or one DimensionAttributeValueSet record

  • FundingSource → ProjFundingSource

    Join on ProjFundingSource = ProjFundingSource.RecId

    Many ProjBegBalJournalTrans_CostSales records → zero or one ProjFundingSource record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many ProjBegBalJournalTrans_CostSales records → zero or one InventTable record

  • ProjActivity → ProjActivity

    Join on ActivityNumber = ProjActivity.ActivityNumber

    Many ProjBegBalJournalTrans_CostSales records → zero or one ProjActivity record

  • ProjCategoryCost → ProjCategory

    Join on ProjCategory.CategoryType = ProjCategoryType::Cost, ProjTransType = BegBalProjTransTypeCost::Cost, ProjCategoryId = ProjCategory.CategoryId

    Many ProjBegBalJournalTrans_CostSales records → zero or one ProjCategory record

  • ProjCategoryHour → ProjCategory

    Join on ProjCategory.CategoryType = ProjCategoryType::Hour, ProjTransType = BegBalProjTransTypeCost::Hour, ProjCategoryId = ProjCategory.CategoryId

    Many ProjBegBalJournalTrans_CostSales records → zero or one ProjCategory record

  • ProjCategoryItem → ProjCategory

    Join on ProjCategory.CategoryType = ProjCategoryType::Item, ProjTransType = BegBalProjTransTypeCost::Item, ProjCategoryId = ProjCategory.CategoryId

    Many ProjBegBalJournalTrans_CostSales records → zero or one ProjCategory record

  • ProjJournalTable → ProjJournalTable

    Join on JournalId = ProjJournalTable.JournalId

    Many ProjBegBalJournalTrans_CostSales records → zero or one ProjJournalTable record

  • projJournalTxt → ProjJournalTxt

    Join on ProjTransType = BegBalProjTransTypeCost::Cost, Txt = ProjJournalTxt.Txt

    Many ProjBegBalJournalTrans_CostSales records → zero or one ProjJournalTxt record

  • ProjLineProperty → ProjLineProperty

    Join on LinePropertyId = ProjLineProperty.LinePropertyId

    Many ProjBegBalJournalTrans_CostSales records → exactly one ProjLineProperty record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many ProjBegBalJournalTrans_CostSales records → exactly one ProjTable record

  • ProjTransTypeCostWorker → HcmWorker

    Join on Worker = HcmWorker.RecId, ProjTransType = BegBalProjTransTypeCost::Cost

    Many ProjBegBalJournalTrans_CostSales records → zero or one HcmWorker record

  • ProjTransTypeEmplWorker → HcmWorker

    Join on Worker = HcmWorker.RecId, ProjTransType = BegBalProjTransTypeCost::Hour

    Many ProjBegBalJournalTrans_CostSales records → zero or one HcmWorker record

  • ProjTransTypeItem → InventTable

    Join on ItemId = InventTable.ItemId, ProjTransType = BegBalProjTransTypeCost::Item

    Many ProjBegBalJournalTrans_CostSales records → zero or one InventTable record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many ProjBegBalJournalTrans_CostSales records → zero or one smmActivities record

  • TaxGroupHeading → TaxGroupHeading

    Join on ProjTaxGroupId = TaxGroupHeading.TaxGroup

    Many ProjBegBalJournalTrans_CostSales records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on ProjTaxItemGroupId = TaxItemGroupHeading.TaxItemGroup

    Many ProjBegBalJournalTrans_CostSales records → zero or one TaxItemGroupHeading record

  • ProjTransTypeCostResource → ResourceView

    Join on Resource = ResourceView.RecId, ProjTransType = BegBalProjTransTypeCost::Cost

    Many ProjBegBalJournalTrans_CostSales records → zero or one ResourceView record

  • ProjTransTypeEmplResource → ResourceView

    Join on Resource = ResourceView.RecId, ProjTransType = BegBalProjTransTypeCost::Hour

    Many ProjBegBalJournalTrans_CostSales records → zero or one ResourceView record

  • Resource → ResourceView

    Join on Resource = ResourceView.RecId

    Many ProjBegBalJournalTrans_CostSales records → zero or one ResourceView record

  • ResourceCategory → ResourceCategoryView

    Join on ResourceCategory = ResourceCategoryView.RecId

    Many ProjBegBalJournalTrans_CostSales records → zero or one ResourceCategoryView record

  • ResourceTable → ResResourceIdentifier

    Join on Resource = ResResourceIdentifier.RecId

    Many ProjBegBalJournalTrans_CostSales records → exactly one ResResourceIdentifier record

  • PSAContractLineItems → PSAContractLineItems

    Join on ContractLineId = PSAContractLineItems.ContractLineNum

    Many ProjBegBalJournalTrans_CostSales records → zero or one PSAContractLineItems record

Get this data out

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

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

Email sales@drdynamics.co.uk