Table
ProjInvoiceTable
Project contracts
Holds project contracts, identified by the project contract ID. A contract stores the invoicing defaults for its projects, such as currency, payment terms, bank account, tax group and posting profile. It also has settings for invoice frequency, retainage and advanced funding.
- Table name
ProjInvoiceTable- Module
Project management and accounting- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
ProjInvoiceIdx- Replacement key
ProjInvoiceIdx- Key fields
ProjInvoiceProjId- Model
Foundation
Fields (52)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProjInvoiceProjIdCode that identifies the project contract. | String (20)ProjInvoiceProjId | Yes | ProjCDSProjectContractEntityProjContractEntityProjProjectContractHeaderEntityand 2 more | |
BankAccountCompany bank account used for the contract. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | ProjContractEntityProjProjectContractHeaderEntity |
BankCentralBankPurposeCodeCentral bank purpose code, taken from the payment purpose codes. | StringBankCentralBankPurposeCode | No | BankCentralBankPurpose.Code | ProjContractEntityProjProjectContractHeaderEntity |
bankcentralBankPurposeTextFree-text purpose for the central bank. | String (210)BankCentralBankPurposeText | No | ProjContractEntityProjProjectContractHeaderEntity | |
CashDiscCash discount code for the contract. | StringProjCashDiscCode | No | CashDisc.CashDiscCode | ProjProjectContractHeaderEntity |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyIdSales currency of the contract. | String (3)ProjSalesCurrencyCode | Yes | Currency.CurrencyCode | ProjCDSProjectContractEntityProjContractEntityProjProjectContractHeaderEntity |
CustPurchaseOrderCustomer's own purchase requisition number. | String (20)CustPurchaseOrder | No | ProjProjectContractHeaderEntity | |
CustRefReference text given by the customer. | String (60)CustRef | No | ProjProjectContractHeaderEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension values, stored as a link to a dimension set. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | ProjProjectContractHeaderEntity |
DefaultProjectID of the default project for the contract. | String (20)ProjId | No | None | |
DescriptionName of the project contract. | String (60)Description | No | ProjCDSProjectContractEntityProjContractEntityProjProjectContractHeaderEntityand 2 more | |
EInvoiceAccountCodeAccount code for the dimension used on electronic invoices.low confidence | String (35)EInvoiceAccountCode | No | ProjProjectContractHeaderEntity | |
EInvoiceLineSpecYes/No flag for whether electronic invoices are specified by line. | EnumEInvoiceLineSpecificNoYes (enum) | No | ProjProjectContractHeaderEntity | |
ForecastInvoiceFrequencyHow often invoices are forecast, from daily to end of project. | EnumProjForecastInvoiceFrequency (enum) | No | ProjContractEntityProjProjectContractHeaderEntity | |
GiroTypeType of payment slip or payment attachment on the project invoice, for example FIK or BBS. | EnumPaymentStubProjIdPaymentStub (enum) | No | ProjProjectContractHeaderEntity | |
IndividualBufferNumber of extra buffer days set for the contract.low confidence | String (20)Num | No | ProjProjectContractHeaderEntity | |
IntrastatAddValue_LVIntrastat additional value, used for Latvia. | RealLvIntrastatAddValue | No | ProjProjectContractHeaderEntity | |
InvoiceLocationLocation used for invoicing, pointing to the locations table. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | None |
ListCodeIdList code for EU reporting, such as EU trade or triangular trade. | EnumListcodeIdListcode (enum) | No | ProjContractEntityProjProjectContractHeaderEntity | |
MinTimeIncrementSmallest time step used for time entries. | RealTSMinTimeIncrement | No | ProjContractEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NameName used on invoices for this contract. | String (60)CompanyName | No | ProjContractEntity | |
NumberSequenceGroupIdNumber sequence group used for the contract. | StringNumberSequenceGroupId | No | NumberSequenceGroup.numberSequenceGroupId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentTerms of payment for the contract. | String (100)PaymTermId | No | PaymTerm.PaymTermId | ProjProjectContractHeaderEntity |
PaymentschedPayment schedule for the contract. | String (30)PaymSchedId | No | PaymSched.Name | ProjProjectContractHeaderEntity |
PostingProfileCustomer posting profile for the contract. | StringCustPostingProfile | No | CustLedger.PostingProfile | ProjProjectContractHeaderEntity |
PrintDynamicQRCode_INYes/No flag for printing a dynamic QR code on the invoice. Used for India. | EnumPrintDynamicQRCode_INNoYes (enum) | No | None | |
ProjDataSourceIntegration source of the contract, pointing to the project data source table. | Int64ProjDataSourceRefId | No | ProjDataSource.RecId | None |
ProjEnableAdvancedFundingYes/No flag for turning on advanced funding. | EnumProjEnableAdvancedFundingNoYes (enum) | No | None | |
ProjInvoiceNetPrice_BRYes/No flag for net price, used for Brazil. | EnumProjInvoiceNetPrice_BRNoYes (enum) | No | ProjContractEntityProjProjectContractHeaderEntity | |
ProjLockSalesCurrencyYes/No flag for locking the sales currency of the contract. | EnumProjLockSalesCurrencyNoYes (enum) | No | ProjContractEntityProjProjectContractHeaderEntity | |
ProjPriceGroupPrice group for the contract. | StringProjPriceGroupID | No | ProjContractEntityProjProjectContractHeaderEntity | |
PSAContractDateDate of the contract. | DateToDate | No | ProjContractEntity | |
PSAContractLinesYes/No flag for contract lines.low confidence | EnumNoYesIdNoYes (enum) | No | ProjContractEntity | |
PSAProgressInvoicingFlag for progress invoicing. | Enumboolean (enum) | No | ProjContractEntity | |
PSARetainPercentPercentage of the amount that is retained. | RealPercent | No | ProjContractEntity | |
PSARetainScheduleIdID of the customer retention term. | String (20)PSAProjRetainScheduleId | No | ProjContractEntity | |
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 | |
SalesResponsibleWorker who is responsible for sales, pointing to the worker table. | Int64HcmWorkerRecId | No | HcmWorker.RecId | ProjContractEntityProjProjectContractHeaderEntity |
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 | |
TaxGroupIdSales tax group for the contract. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | ProjContractEntityProjProjectContractHeaderEntity |
TaxPeriodPaymentCode_PLVAT report date code, used for Poland. | StringPlTaxPeriodPaymentCode | No | PlTaxDueTable.TaxPeriodPaymentCode | None |
TaxServiceCodeOnDlvAddress_BRYes/No flag for using the service tax code from the delivery address, used for Brazil. | EnumTaxServiceCodeOnDlvAddress_BRNoYes (enum) | No | ProjContractEntityProjProjectContractHeaderEntity | |
TimePostDetailSummaryDefault posting level for time: details or summary. | EnumTSPostDetailSummaryDetailSummary (enum) | No | ProjContractEntity | |
TransactionCodeIdTransaction code for Intrastat reporting. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | ProjContractEntityProjProjectContractHeaderEntity |
Indexes (4)
ProjInvoiceIdxPrimary indexReplacement keyUnique, alternate key.
DefaultDimensionIdxNot unique.
DescriptionIdxNot unique.
ProjDataSourceIdxNot unique.
Relations (16)
Each relation joins ProjInvoiceTable to another table on the fields shown.
BankAccount→BankAccountTableJoin on
BankAccount = BankAccountTable.AccountIDMany ProjInvoiceTable records → zero or one BankAccountTable record
BankCentralBankPurpose→BankCentralBankPurposeJoin on
BankCentralBankPurposeCode = BankCentralBankPurpose.CodeMany ProjInvoiceTable records → zero or one BankCentralBankPurpose record
CashDisc→CashDiscJoin on
CashDisc = CashDisc.CashDiscCodeMany ProjInvoiceTable records → zero or one CashDisc record
Currency→CurrencyJoin on
CurrencyId = Currency.CurrencyCodeMany ProjInvoiceTable records → exactly one Currency record
CustLedger→CustLedgerJoin on
PostingProfile = CustLedger.PostingProfileMany ProjInvoiceTable records → zero or one CustLedger record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany ProjInvoiceTable records → zero or one DimensionAttributeValueSet record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCodeId = IntrastatTransactionCode.TransactionCodeMany ProjInvoiceTable records → zero or one IntrastatTransactionCode record
InvoiceLocation_FK→LogisticsLocationJoin on
InvoiceLocation = LogisticsLocation.RecIdMany ProjInvoiceTable records → zero or one LogisticsLocation record
NumberSequenceGroup→NumberSequenceGroupJoin on
NumberSequenceGroupId = NumberSequenceGroup.numberSequenceGroupIdMany ProjInvoiceTable records → zero or one NumberSequenceGroup record
PaymSched→PaymSchedJoin on
Paymentsched = PaymSched.NameMany ProjInvoiceTable records → zero or one PaymSched record
PaymTerm→PaymTermJoin on
Payment = PaymTerm.PaymTermIdMany ProjInvoiceTable records → zero or one PaymTerm record
PlTaxDueTable→PlTaxDueTableJoin on
TaxPeriodPaymentCode_PL = PlTaxDueTable.TaxPeriodPaymentCodeMany ProjInvoiceTable records → zero or one PlTaxDueTable record
PriceDiscGroup→PriceDiscGroupJoin on
ProjPriceGroup = PriceDiscGroup.GroupId,PriceDiscGroup.Type = PriceGroupType::PriceGroup,PriceDiscGroup.Module = ModuleInventCustVend::CustMany ProjInvoiceTable records → zero or one PriceDiscGroup record
SalesResponsible→HcmWorkerJoin on
SalesResponsible = HcmWorker.RecIdMany ProjInvoiceTable records → zero or one HcmWorker record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroupId = TaxGroupHeading.TaxGroupMany ProjInvoiceTable records → zero or one TaxGroupHeading record
ProjDataSource→ProjDataSourceJoin on
ProjDataSource = ProjDataSource.RecIdMany ProjInvoiceTable records → zero or one ProjDataSource record
Get this data out
Tables are not exposed directly. These public entities read from ProjInvoiceTable; use one of them in Power BI, Power Platform or a data management project.
ProjCDSProjectContractEntity· 3 fields from this tableProjContractEntity· 23 fields from this tableProjProjectContractHeaderEntity· 27 fields from this tableDimAttributeProjInvoiceTableEntity· 2 fields from this tableProjProjectCostAndRevenueProfileRuleEntity· 1 field from this tableProjInvoiceProposalExportEntity· 1 field from this table
Need help with ProjInvoiceTable in a report, an integration or a migration? Talk to Dr Dynamics.