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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ProjInvoiceProjIdCode that identifies the project contract.String (20)
ProjInvoiceProjId
YesProjCDSProjectContractEntityProjContractEntityProjProjectContractHeaderEntityand 2 more
BankAccountCompany bank account used for the contract.String
CompanyBankAccountId
NoBankAccountTable.AccountIDProjContractEntityProjProjectContractHeaderEntity
BankCentralBankPurposeCodeCentral bank purpose code, taken from the payment purpose codes.String
BankCentralBankPurposeCode
NoBankCentralBankPurpose.CodeProjContractEntityProjProjectContractHeaderEntity
bankcentralBankPurposeTextFree-text purpose for the central bank.String (210)
BankCentralBankPurposeText
NoProjContractEntityProjProjectContractHeaderEntity
CashDiscCash discount code for the contract.String
ProjCashDiscCode
NoCashDisc.CashDiscCodeProjProjectContractHeaderEntity
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
CurrencyIdSales currency of the contract.String (3)
ProjSalesCurrencyCode
YesCurrency.CurrencyCodeProjCDSProjectContractEntityProjContractEntityProjProjectContractHeaderEntity
CustPurchaseOrderCustomer's own purchase requisition number.String (20)
CustPurchaseOrder
NoProjProjectContractHeaderEntity
CustRefReference text given by the customer.String (60)
CustRef
NoProjProjectContractHeaderEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension values, stored as a link to a dimension set.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdProjProjectContractHeaderEntity
DefaultProjectID of the default project for the contract.String (20)
ProjId
NoNone
DescriptionName of the project contract.String (60)
Description
NoProjCDSProjectContractEntityProjContractEntityProjProjectContractHeaderEntityand 2 more
EInvoiceAccountCodeAccount code for the dimension used on electronic invoices.low confidenceString (35)
EInvoiceAccountCode
NoProjProjectContractHeaderEntity
EInvoiceLineSpecYes/No flag for whether electronic invoices are specified by line.Enum
EInvoiceLineSpecific
NoYes (enum)
NoProjProjectContractHeaderEntity
ForecastInvoiceFrequencyHow often invoices are forecast, from daily to end of project.Enum
ProjForecastInvoiceFrequency (enum)
NoProjContractEntityProjProjectContractHeaderEntity
GiroTypeType of payment slip or payment attachment on the project invoice, for example FIK or BBS.Enum
PaymentStubProjId
PaymentStub (enum)
NoProjProjectContractHeaderEntity
IndividualBufferNumber of extra buffer days set for the contract.low confidenceString (20)
Num
NoProjProjectContractHeaderEntity
IntrastatAddValue_LVIntrastat additional value, used for Latvia.Real
LvIntrastatAddValue
NoProjProjectContractHeaderEntity
InvoiceLocationLocation used for invoicing, pointing to the locations table.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdNone
ListCodeIdList code for EU reporting, such as EU trade or triangular trade.Enum
ListcodeId
Listcode (enum)
NoProjContractEntityProjProjectContractHeaderEntity
MinTimeIncrementSmallest time step used for time entries.Real
TSMinTimeIncrement
NoProjContractEntity
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
NameName used on invoices for this contract.String (60)
CompanyName
NoProjContractEntity
NumberSequenceGroupIdNumber sequence group used for the contract.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentTerms of payment for the contract.String (100)
PaymTermId
NoPaymTerm.PaymTermIdProjProjectContractHeaderEntity
PaymentschedPayment schedule for the contract.String (30)
PaymSchedId
NoPaymSched.NameProjProjectContractHeaderEntity
PostingProfileCustomer posting profile for the contract.String
CustPostingProfile
NoCustLedger.PostingProfileProjProjectContractHeaderEntity
PrintDynamicQRCode_INYes/No flag for printing a dynamic QR code on the invoice. Used for India.Enum
PrintDynamicQRCode_IN
NoYes (enum)
NoNone
ProjDataSourceIntegration source of the contract, pointing to the project data source table.Int64
ProjDataSourceRefId
NoProjDataSource.RecIdNone
ProjEnableAdvancedFundingYes/No flag for turning on advanced funding.Enum
ProjEnableAdvancedFunding
NoYes (enum)
NoNone
ProjInvoiceNetPrice_BRYes/No flag for net price, used for Brazil.Enum
ProjInvoiceNetPrice_BR
NoYes (enum)
NoProjContractEntityProjProjectContractHeaderEntity
ProjLockSalesCurrencyYes/No flag for locking the sales currency of the contract.Enum
ProjLockSalesCurrency
NoYes (enum)
NoProjContractEntityProjProjectContractHeaderEntity
ProjPriceGroupPrice group for the contract.String
ProjPriceGroupID
NoProjContractEntityProjProjectContractHeaderEntity
PSAContractDateDate of the contract.Date
ToDate
NoProjContractEntity
PSAContractLinesYes/No flag for contract lines.low confidenceEnum
NoYesId
NoYes (enum)
NoProjContractEntity
PSAProgressInvoicingFlag for progress invoicing.Enum
boolean (enum)
NoProjContractEntity
PSARetainPercentPercentage of the amount that is retained.Real
Percent
NoProjContractEntity
PSARetainScheduleIdID of the customer retention term.String (20)
PSAProjRetainScheduleId
NoProjContractEntity
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
SalesResponsibleWorker who is responsible for sales, pointing to the worker table.Int64
HcmWorkerRecId
NoHcmWorker.RecIdProjContractEntityProjProjectContractHeaderEntity
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
TaxGroupIdSales tax group for the contract.String
TaxGroup
NoTaxGroupHeading.TaxGroupProjContractEntityProjProjectContractHeaderEntity
TaxPeriodPaymentCode_PLVAT report date code, used for Poland.String
PlTaxPeriodPaymentCode
NoPlTaxDueTable.TaxPeriodPaymentCodeNone
TaxServiceCodeOnDlvAddress_BRYes/No flag for using the service tax code from the delivery address, used for Brazil.Enum
TaxServiceCodeOnDlvAddress_BR
NoYes (enum)
NoProjContractEntityProjProjectContractHeaderEntity
TimePostDetailSummaryDefault posting level for time: details or summary.Enum
TSPostDetailSummary
DetailSummary (enum)
NoProjContractEntity
TransactionCodeIdTransaction code for Intrastat reporting.String
IntrastatTransactionCodeId
NoIntrastatTransactionCode.TransactionCodeProjContractEntityProjProjectContractHeaderEntity

Indexes (4)

Relations (16)

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

  • BankAccount → BankAccountTable

    Join on BankAccount = BankAccountTable.AccountID

    Many ProjInvoiceTable records → zero or one BankAccountTable record

  • BankCentralBankPurpose → BankCentralBankPurpose

    Join on BankCentralBankPurposeCode = BankCentralBankPurpose.Code

    Many ProjInvoiceTable records → zero or one BankCentralBankPurpose record

  • CashDisc → CashDisc

    Join on CashDisc = CashDisc.CashDiscCode

    Many ProjInvoiceTable records → zero or one CashDisc record

  • Currency → Currency

    Join on CurrencyId = Currency.CurrencyCode

    Many ProjInvoiceTable records → exactly one Currency record

  • CustLedger → CustLedger

    Join on PostingProfile = CustLedger.PostingProfile

    Many ProjInvoiceTable records → zero or one CustLedger record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many ProjInvoiceTable records → zero or one DimensionAttributeValueSet record

  • IntrastatTransactionCode → IntrastatTransactionCode

    Join on TransactionCodeId = IntrastatTransactionCode.TransactionCode

    Many ProjInvoiceTable records → zero or one IntrastatTransactionCode record

  • InvoiceLocation_FK → LogisticsLocation

    Join on InvoiceLocation = LogisticsLocation.RecId

    Many ProjInvoiceTable records → zero or one LogisticsLocation record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroupId = NumberSequenceGroup.numberSequenceGroupId

    Many ProjInvoiceTable records → zero or one NumberSequenceGroup record

  • PaymSched → PaymSched

    Join on Paymentsched = PaymSched.Name

    Many ProjInvoiceTable records → zero or one PaymSched record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many ProjInvoiceTable records → zero or one PaymTerm record

  • PlTaxDueTable → PlTaxDueTable

    Join on TaxPeriodPaymentCode_PL = PlTaxDueTable.TaxPeriodPaymentCode

    Many ProjInvoiceTable records → zero or one PlTaxDueTable record

  • PriceDiscGroup → PriceDiscGroup

    Join on ProjPriceGroup = PriceDiscGroup.GroupId, PriceDiscGroup.Type = PriceGroupType::PriceGroup, PriceDiscGroup.Module = ModuleInventCustVend::Cust

    Many ProjInvoiceTable records → zero or one PriceDiscGroup record

  • SalesResponsible → HcmWorker

    Join on SalesResponsible = HcmWorker.RecId

    Many ProjInvoiceTable records → zero or one HcmWorker record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroupId = TaxGroupHeading.TaxGroup

    Many ProjInvoiceTable records → zero or one TaxGroupHeading record

  • ProjDataSource → ProjDataSource

    Join on ProjDataSource = ProjDataSource.RecId

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

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

Email sales@drdynamics.co.uk