Table
PSAContractLineInvoiceTmp
Project invoice
Temporary table with the data used to print a project invoice. It combines contract line details, customer and company address data, delivery details, tax and totals. It also has extra fields used for Malaysia (_MY) and the United Arab Emirates (_AE).
- Table name
PSAContractLineInvoiceTmp- Module
Project management and accounting- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (89)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
Amount_MYAmount; used for Malaysia. | RealAmount | No | None | |
CashDiscAmount_MYCash discount amount; used for Malaysia. | RealCashDiscAmount | No | None | |
CompanyCoRegNumCompany registration number. | String (25)CompanyCoRegNumShortTxt | No | None | |
CompanyDebitDirectIdDirect debit ID of the company. | String (35)BankDebitDirectId | No | None | |
CompanyGiroCompany bank account number. | String (48)BankAccount | No | None | |
CompanyLogoCompany logo image. | ContainerBitmap | No | None | |
CompanyPhoneCompany telephone number. | String (20)Phone | No | None | |
CompanyTelefaxCompany fax number. | String (20)TeleFax | No | None | |
CompanyVATNumTax exempt number of the company. | String (20)VATNum | No | None | |
ContractIdProject contract ID, pointing to a project contract. | String (20)ProjInvoiceProjId | No | ProjInvoiceTable.ProjInvoiceProjId | None |
ContractLineNumBilling rule identifier, pointing to a contract line item. | StringPSAContractLineNum | No | PSAContractLineItems.ContractLineNum | None |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
CurrencyCodeSales currency code, pointing to a currency. | String (3)ProjSalesCurrencyCode | No | Currency.CurrencyCode | None |
CurrencyCode_AECurrency code; used for United Arab Emirates. | String (3)CurrencyCode | No | None | |
CustAccountExtCustomer account, pointing to a customer. | String (20)CustInvoiceAccount | No | CustTable.AccountNum | None |
CustCompanyAddressCustomer address text. | String (250)Addressing | No | None | |
CustCompanyNameCustomer company name. | String (60)CompanyName | No | None | |
CustCompanyPhoneCustomer telephone number. | String (20)Phone | No | None | |
CustCompanyTelefaxCustomer fax number. | String (20)TeleFax | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryAddressDelivery address text. | String (250)Addressing | No | None | |
DeliveryNameCompany name for delivery. | String (60)CompanyName | No | None | |
DocumentHeaderNote text for the invoice header. | String (-1)Notes | No | None | |
DocumentLineNote text for the invoice line. | String (-1)Notes | No | None | |
DocuRefHeaderVisibilityYes/no flag for showing document references on the header. | EnumNoYes (enum) | No | None | |
DocuRefLineVisibilityYes/no flag for showing document references on the line. | EnumNoYes (enum) | No | None | |
DueDateDue date of the invoice. | DateDueDate | No | None | |
ExchRate_AEExchange rate; used for United Arab Emirates. | RealExchRate | No | None | |
GSTReasonCode_MYReason code; used for Malaysia. | StringReasonCode | No | None | |
GSTSummaryText_MYShort text for the GST summary; used for Malaysia. | String (30)String30 | No | None | |
InvoiceAccountVATNumTax exempt number of the invoice account. | String (20)VATNum | No | None | |
InvoiceAmountInvoice amount in transaction currency. | RealAmountCur | No | None | |
InvoiceDateInvoice date. | DateTransDate | No | None | |
InvoicedToDateAmount invoiced to date, in accounting currency. | RealAmountMST | No | None | |
InvoiceNumProject invoice number. | String (50)ProjInvoiceId | No | None | |
InvoiceRoundOffRound-off amount on the invoice. | RealRoundOff | No | None | |
InvoiceRoundOff_AERound-off amount; used for United Arab Emirates. | RealRoundOff | No | None | |
InvoiceType_MYInvoice type: invoice, GST invoice, self-billed invoice or service invoice; used for Malaysia. | EnumInvoiceType_MY (enum) | No | None | |
InvoiceVATNumVisibilityYes/no flag for showing the tax number on the invoice. | EnumNoYes (enum) | No | None | |
IsGSTSummary_MYYes/no flag for a GST summary; used for Malaysia. | EnumNoYes (enum) | No | None | |
LineDescDescription of the line. | String (60)Description | No | None | |
LineTypeContract line type: milestone, progress, time and material, fee or unit of delivery. | EnumPSAContractLineType (enum) | No | None | |
LineValueAmount of the line. | RealPSAAmount | No | None | |
MandateBankIBANIBAN of the direct debit mandate. | String (48)BankIBAN | No | None | |
MandateReferenceDirect debit mandate ID. | String (35)CustMandateId | No | None | |
MandateSWIFTNoSWIFT code of the mandate bank. | String (20)SWIFTNo | No | None | |
NetAmountNet amount in transaction currency. | RealAmountCurNet | No | None | |
OriginalInvoice_AENumber of the original invoice; used for United Arab Emirates. | String (20)CustInvoiceId | No | None | |
OurAccountNumOur account number at the customer. | String (20)CustAccountExt | No | None | |
PackingSlipInfoFree text of up to 255 characters about the packing slip. | String (255)String255 | No | None | |
PackingSlipInfoVisibilityYes/no flag for showing packing slip information. | EnumNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymTermIdTerms of payment, pointing to a payment term. | String (100)CustPaymTermId | No | PaymTerm.PaymTermId | None |
PercentRetainageRetainage percentage. | RealPercent | No | None | |
PrePrintLevelShowPre-print level: blank paper, partly preprinted or preprinted. | EnumPrePrintLevel (enum) | No | None | |
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 | |
RefInvoiceDate_MYDate of the referenced invoice; used for Malaysia. | DateTransDate | No | None | |
RefInvoiceID_MYNumber of the referenced invoice; used for Malaysia. | String (20)CustInvoiceId | No | None | |
RetainageAmountRetainage amount, in accounting currency. | RealAmountMST | No | None | |
SalesBalanceSales balance in transaction currency. | RealAmountCur | No | None | |
SalesBalance_AESales balance in transaction currency; used for United Arab Emirates. | RealAmountCur | No | None | |
ShowReportingCurTotals_AEYes/no flag for showing totals in reporting currency; used for United Arab Emirates. | EnumNoYes (enum) | No | None | |
ShowSepaNotificationYes/no flag for showing a SEPA notification. | EnumNoYes (enum) | No | None | |
SMABasePriceBase price used for index calculation. | RealSMABasePrice | No | None | |
SMAIndexIndex value. | RealSMAIndex | No | None | |
SMASpecIndexCalcYes/no flag to specify the index calculation. | EnumSMASpecIndexCalcNoYes (enum) | No | None | |
SumMarkupTotal markup in transaction currency. | RealAmountCur | No | None | |
SumMarkup_AETotal markup in transaction currency; used for United Arab Emirates. | RealMarkupSumSales | No | None | |
SumTaxTotal tax in transaction currency. | RealAmountCur | No | None | |
SumTax_AETotal tax in transaction currency; used for United Arab Emirates. | RealAmountCur | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxableBalanceTaxable amount; currency not stated in the metadata. | RealTaxTaxableAmountCur | No | None | |
TaxAmount_AESales tax amount; used for United Arab Emirates. | RealTaxAmountCur | No | None | |
TaxAmount_MYSales tax amount; used for Malaysia. | RealTaxAmountCur | No | None | |
TaxBaseAmount_AEOrigin amount for tax; used for United Arab Emirates. | RealTaxBaseCur | No | None | |
TaxBaseAmount_MYOrigin amount for tax; used for Malaysia. | RealTaxBaseCur | No | None | |
TaxBaseQty_MYTax quantity; used for Malaysia. | RealTaxQty | No | None | |
TaxCode_AESales tax code; used for United Arab Emirates. | StringTaxCode | No | None | |
TaxFreeBalanceNontaxable amount; currency not stated in the metadata. | RealTaxTaxFreeAmountCur | No | None | |
TaxRegistrationNumber_AETax registration number; used for United Arab Emirates. | String (60)TaxRegistrationNumber | No | None | |
TaxWriteCode_AETax print code; used for United Arab Emirates. | StringTaxWriteCode | No | None | |
TotalTotal amount in transaction currency. | RealAmountCur | No | None | |
TotalDiscCash discount amount. | RealDiscAmount | No | None | |
TotalDisc_AECash discount amount; used for United Arab Emirates. | RealDiscAmount | No | None | |
TotalInvoiceAmount_AETotal invoice amount, labelled as round-off; used for United Arab Emirates.low confidence | RealRoundOff | No | None | |
VATAmount_AESales tax amount; used for United Arab Emirates. | RealTaxAmount | No | None | |
VATPercent_AETax rate value; used for United Arab Emirates. | RealTaxValue | No | None |
Indexes (2)
CreatedTransactionIdIdxNot unique.
CreatedDateTimeIdxNot unique.
Relations (6)
Each relation joins PSAContractLineInvoiceTmp to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany PSAContractLineInvoiceTmp records → zero or one Currency record
CustTable→CustTableJoin on
CustAccountExt = CustTable.AccountNumMany PSAContractLineInvoiceTmp records → zero or one CustTable record
PaymTerm→PaymTermJoin on
PaymTermId = PaymTerm.PaymTermIdMany PSAContractLineInvoiceTmp records → zero or one PaymTerm record
ProjInvoiceJour→ProjInvoiceJourJoin on
InvoiceDate = ProjInvoiceJour.InvoiceDate,InvoiceNum = ProjInvoiceJour.ProjInvoiceIdMany PSAContractLineInvoiceTmp records → zero or one ProjInvoiceJour record
ProjInvoiceTable→ProjInvoiceTableJoin on
ContractId = ProjInvoiceTable.ProjInvoiceProjIdMany PSAContractLineInvoiceTmp records → zero or one ProjInvoiceTable record
PSAContractLineItems→PSAContractLineItemsJoin on
ContractLineNum = PSAContractLineItems.ContractLineNumMany PSAContractLineInvoiceTmp records → zero or one PSAContractLineItems record
Get this data out
No public entity reads from PSAContractLineInvoiceTmp. Its data is only reachable through the application, a custom entity or a database export.
Need help with PSAContractLineInvoiceTmp in a report, an integration or a migration? Talk to Dr Dynamics.