Table
PSACustRetentionReleaseInvoiceTmp
Customer retained payment request
Temporary table with the data for a customer retained payment request document. It combines company details, customer and delivery addresses, bank and direct debit details, invoice amounts and print settings. It links to the customer, project invoice, currency and payment terms.
- Table name
PSACustRetentionReleaseInvoiceTmp- 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 (46)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumCustomer account the request is for. | String (20)CustAccount | No | CustTable.AccountNum | None |
CompanyCoRegNumCompany registration number of the issuing company. | String (25)CompanyCoRegNumShortTxt | No | None | |
CompanyDebitDirectIdDirect debit ID of the issuing company. | String (35)BankDebitDirectId | No | None | |
CompanyGiroBank account number of the issuing company. | String (48)BankAccount | No | None | |
CompanyLogoCompany logo image, held as a bitmap. | ContainerBitmap | No | None | |
CompanyPhoneTelephone number of the issuing company. | String (20)Phone | No | None | |
CompanyTelefaxFax number of the issuing company. | String (20)TeleFax | No | None | |
CompanyVATNumTax exempt number of the issuing company. | String (20)VATNum | No | None | |
ContractIdProject contract that the request relates to. | String (20)ProjInvoiceProjId | No | ProjInvoiceTable.ProjInvoiceProjId | 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 | |
CurrencyIdSales currency code used for the request. | String (3)ProjSalesCurrencyCode | No | Currency.CurrencyCode | None |
CustCompanyAddressAddress of the customer company. | String (250)Addressing | No | None | |
CustCompanyNameName of the customer company. | String (60)CompanyName | No | None | |
CustCompanyPhoneTelephone number of the customer company. | String (20)Phone | No | None | |
CustCompanyTelefaxFax number of the customer company. | String (20)TeleFax | No | None | |
CustInvoiceDateDate of the related project invoice. | DateTransDate | 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 at the delivery address. | String (60)CompanyName | No | None | |
DocumentHeaderFree-text note for the document header. | String (-1)Notes | No | None | |
DocumentLineFree-text note for a document line. | String (-1)Notes | No | None | |
DocuRefHeaderVisibilityYes/No flag that appears to control whether document references show in the header.low confidence | EnumNoYes (enum) | No | None | |
DocuRefLineVisibilityYes/No flag that appears to control whether document references show on lines.low confidence | EnumNoYes (enum) | No | None | |
DueDateDate by which payment is due. | DateDueDate | No | None | |
InvoiceAccountCustomer account that receives the invoice. | String (20)CustInvoiceAccount | No | CustTable.AccountNum | None |
InvoiceAccountVATNumTax exempt number of the invoice account. | String (20)VATNum | No | None | |
InvoiceAmountInvoice amount in the transaction currency. | RealAmountCur | No | None | |
InvoiceDateDate of the project invoice. | DateTransDate | No | None | |
InvoiceIdIdentifier of the project invoice. | String (50)ProjInvoiceId | Yes | None | |
InvoiceVATNumVisibilityYes/No flag that appears to control whether the tax number is shown.low confidence | EnumNoYes (enum) | No | None | |
MandateBankIBANIBAN linked to the direct debit mandate. | String (48)BankIBAN | No | None | |
MandateReferenceDirect debit mandate ID. | String (35)CustMandateId | No | None | |
MandateSWIFTNoSWIFT code linked to the direct debit mandate. | String (20)SWIFTNo | No | None | |
NameCustomer name. | String (160)CustName | No | None | |
OurAccountNumOur account number, as known to the customer. | String (20)CustAccountExt | 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 that apply to the request. | String (100)CustPaymTermId | No | PaymTerm.PaymTermId | None |
PrePrintLevelShowPre-print level of the stationery: blank paper, partly preprinted or preprinted. | EnumPrePrintLevel (enum) | No | None | |
ProjInvoiceIdIdentifier of the related project invoice. | String (50)ProjInvoiceId | Yes | 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 | |
RetainedAmtReqRetained amount requested, in the transaction currency. | RealAmountCur | No | None | |
ShowSepaNotificationYes/No flag that appears to control whether a SEPA notice is shown.low confidence | EnumNoYes (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxValue_THTax value, used for Thailand. | RealTaxValue | No | None |
Indexes (2)
CreatedTransactionIdIdxNot unique.
CreatedDateTimeIdxNot unique.
Relations (7)
Each relation joins PSACustRetentionReleaseInvoiceTmp to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyId = Currency.CurrencyCodeMany PSACustRetentionReleaseInvoiceTmp records → zero or one Currency record
CustTableAccountNum→CustTableJoin on
AccountNum = CustTable.AccountNumMany PSACustRetentionReleaseInvoiceTmp records → zero or one CustTable record
CustTableInvoiceAccount→CustTableJoin on
InvoiceAccount = CustTable.AccountNumMany PSACustRetentionReleaseInvoiceTmp records → zero or one CustTable record
PaymTerm→PaymTermJoin on
PaymTermId = PaymTerm.PaymTermIdMany PSACustRetentionReleaseInvoiceTmp records → zero or one PaymTerm record
ProjInvoiceJour→ProjInvoiceJourJoin on
InvoiceDate = ProjInvoiceJour.InvoiceDate,ProjInvoiceId = ProjInvoiceJour.ProjInvoiceIdExactly one PSACustRetentionReleaseInvoiceTmp record → zero or one ProjInvoiceJour record
ProjInvoiceJourInvoiceId→ProjInvoiceJourJoin on
CustInvoiceDate = ProjInvoiceJour.InvoiceDate,InvoiceId = ProjInvoiceJour.ProjInvoiceIdZero or one PSACustRetentionReleaseInvoiceTmp record → exactly one ProjInvoiceJour record
ProjInvoiceTable→ProjInvoiceTableJoin on
ContractId = ProjInvoiceTable.ProjInvoiceProjIdMany PSACustRetentionReleaseInvoiceTmp records → zero or one ProjInvoiceTable record
Get this data out
No public entity reads from PSACustRetentionReleaseInvoiceTmp. Its data is only reachable through the application, a custom entity or a database export.
Need help with PSACustRetentionReleaseInvoiceTmp in a report, an integration or a migration? Talk to Dr Dynamics.