Table
ProjInvoiceOnAcc
Project invoice lines on-account
Holds on-account lines on project invoices. Each line links to a project invoice and to a project on-account transaction. It stores the amount in both the transaction and accounting currencies, tax details and dimensions.
- Table name
ProjInvoiceOnAcc- Module
Project management and accounting- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (33)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AmountLine amount in the transaction currency. | RealAmountCur | No | BusinessDocumentProjInvoiceOnAccLineEntityProjInvoiceOnAccCDREntity | |
AmountMSTAmount in the accounting currency. | RealAmountMST | No | ProjInvoiceOnAccCDREntity | |
BookableResourceNameName of the bookable resource. | String (60)ProjBookableResourceName | No | ProjInvoiceOnAccCDREntity | |
CategoryIdProject category of the line. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | ProjInvoiceOnAccCDREntity |
CurrencyIdSales currency of the invoice line. | String (3)ProjSalesCurrencyCode | No | Currency.CurrencyCode | ProjInvoiceOnAccCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | BusinessDocumentProjInvoiceOnAccLineEntityProjInvoiceOnAccCDREntity | |
DefaultDimensionSet of financial dimension values for the line. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | ProjInvoiceOnAccCDREntity |
EInvoiceAccountCodeDimension account code, a text value of up to 35 characters used for electronic invoicing.low confidence | String (35)EInvoiceAccountCode | No | ProjInvoiceOnAccCDREntity | |
FinTagFinancial tag linked to the line, stored as a system record ID. | Int64FinTagRecId | No | FinTag.RecId | None |
InvoiceDateDate of the project invoice. | DateInvoiceDate | No | ProjInvoiceOnAccCDREntity | |
OrderLineReference_NOReference to an order line. Used for Norway. | String (30)OrderLineReference_NO | No | ProjInvoiceOnAccCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjIdProject the line belongs to. | String (20)ProjId | Yes | ProjTable.ProjId | ProjInvoiceOnAccCDREntity |
ProjInvoiceIdProject invoice the line belongs to. | String (50)ProjInvoiceId | No | ProjInvoiceOnAccCDREntity | |
PSAContractLineNumBilling rule (contract line) that the line comes from. | StringPSAContractLineNum | No | PSAContractLineItems.ContractLineNum | ProjInvoiceOnAccCDREntity |
PSAIsOnAccountYes/no flag showing whether the line is on account. | EnumNoYesIdNoYes (enum) | No | ProjInvoiceOnAccCDREntity | |
PSARefRecIdBudgetTransSystem record ID of the related project on-account transaction. | Int64PSARefRecIdBudgetTrans | No | ProjOnAccTrans.RecId | ProjInvoiceOnAccCDREntity |
PSARefTableIdBudgetTransID of the table that the reference record belongs to. | IntegerRefTableId | No | ProjInvoiceOnAccCDREntity | |
QtySales quantity on the line. | RealSalesQty | No | BusinessDocumentProjInvoiceOnAccLineEntityProjInvoiceOnAccCDREntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | BusinessDocumentProjInvoiceOnAccLineEntityProjInvoiceOnAccCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefInvoiceDate_MYDate of the original invoice. Used for Malaysia. | DateTransDate | No | ProjInvoiceOnAccCDREntity | |
RefInvoiceId_MYNumber of the original invoice. Used for Malaysia. | String (50)InvoiceId | No | ProjInvoiceOnAccCDREntity | |
SATProductCode_MXProduct code linked to an external code record. Used for Mexico. | StringSATProductCode_MX | No | ProjInvoiceOnAccCDREntity | |
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 | |
TaxAmountSales tax amount of the line. Currency not stated in the metadata. | RealTaxAmount | No | BusinessDocumentProjInvoiceOnAccLineEntityProjInvoiceOnAccCDREntity | |
TaxGroupIdSales tax group applied to the line. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | BusinessDocumentProjInvoiceOnAccLineEntityProjInvoiceOnAccCDREntity |
TaxItemGroupIdItem sales tax group applied to the line. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | ProjInvoiceOnAccCDREntity |
TaxWriteCodePrint code for the tax on the line. | StringTaxWriteCode | No | ProjInvoiceOnAccCDREntity | |
TransDateProject date of the underlying transaction. | DateProjTransDate | No | BusinessDocumentProjInvoiceOnAccLineEntityProjInvoiceOnAccCDREntity | |
TransIdID of the project on-account transaction that this line invoices. | String (20)ProjOnAccTransId | Yes | ProjOnAccTrans.TransId | BusinessDocumentProjInvoiceOnAccLineEntityProjInvoiceOnAccCDREntity |
TxtFree-text description of the line. | String (255)Description255 | No | BusinessDocumentProjInvoiceOnAccLineEntityProjInvoiceOnAccCDREntity |
Indexes (2)
TransIdxNot unique.
InvoiceIdxNot unique.
Relations (12)
Each relation joins ProjInvoiceOnAcc to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyId = Currency.CurrencyCodeMany ProjInvoiceOnAcc records → zero or one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany ProjInvoiceOnAcc records → zero or one DimensionAttributeValueSet record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany ProjInvoiceOnAcc records → zero or one FinTag record
ProjInvoiceJour→ProjInvoiceJourJoin on
InvoiceDate = ProjInvoiceJour.InvoiceDate,ProjInvoiceId = ProjInvoiceJour.ProjInvoiceIdMany ProjInvoiceOnAcc records → zero or one ProjInvoiceJour record
projOnAccTrans→ProjOnAccTransJoin on
TransId = ProjOnAccTrans.TransIdMany ProjInvoiceOnAcc records → exactly one ProjOnAccTrans record
ProjOnAccTrans_RecId→ProjOnAccTransJoin on
PSARefRecIdBudgetTrans = ProjOnAccTrans.RecIdMany ProjInvoiceOnAcc records → exactly one ProjOnAccTrans record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany ProjInvoiceOnAcc records → exactly one ProjTable record
PSAContractLineItems→PSAContractLineItemsJoin on
PSAContractLineNum = PSAContractLineItems.ContractLineNumMany ProjInvoiceOnAcc records → zero or one PSAContractLineItems record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroupId = TaxGroupHeading.TaxGroupMany ProjInvoiceOnAcc records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroupId = TaxItemGroupHeading.TaxItemGroupMany ProjInvoiceOnAcc records → zero or one TaxItemGroupHeading record
SATProductCode_MX→EInvoiceExtCodeTable_MXJoin on
SATProductCode_MX = EInvoiceExtCodeTable_MX.CodeId,EInvoiceExtCodeTable_MX.CodeType = 1Exactly one ProjInvoiceOnAcc record → exactly one EInvoiceExtCodeTable_MX record
ProjCategory→ProjCategoryJoin on
CategoryId = ProjCategory.CategoryIdMany ProjInvoiceOnAcc records → zero or one ProjCategory record
Get this data out
Tables are not exposed directly. These public entities read from ProjInvoiceOnAcc; use one of them in Power BI, Power Platform or a data management project.
BusinessDocumentProjInvoiceOnAccLineEntity· 9 fields from this tableProjInvoiceOnAccCDREntity· 28 fields from this table
Need help with ProjInvoiceOnAcc in a report, an integration or a migration? Talk to Dr Dynamics.