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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumCustomer account the request is for.String (20)
CustAccount
NoCustTable.AccountNumNone
CompanyCoRegNumCompany registration number of the issuing company.String (25)
CompanyCoRegNumShortTxt
NoNone
CompanyDebitDirectIdDirect debit ID of the issuing company.String (35)
BankDebitDirectId
NoNone
CompanyGiroBank account number of the issuing company.String (48)
BankAccount
NoNone
Container
Bitmap
NoNone
CompanyPhoneTelephone number of the issuing company.String (20)
Phone
NoNone
CompanyTelefaxFax number of the issuing company.String (20)
TeleFax
NoNone
CompanyVATNumTax exempt number of the issuing company.String (20)
VATNum
NoNone
ContractIdProject contract that the request relates to.String (20)
ProjInvoiceProjId
NoProjInvoiceTable.ProjInvoiceProjIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CurrencyIdSales currency code used for the request.String (3)
ProjSalesCurrencyCode
NoCurrency.CurrencyCodeNone
CustCompanyAddressAddress of the customer company.String (250)
Addressing
NoNone
CustCompanyNameName of the customer company.String (60)
CompanyName
NoNone
CustCompanyPhoneTelephone number of the customer company.String (20)
Phone
NoNone
CustCompanyTelefaxFax number of the customer company.String (20)
TeleFax
NoNone
CustInvoiceDateDate of the related project invoice.Date
TransDate
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryAddressDelivery address text.String (250)
Addressing
NoNone
DeliveryNameCompany name at the delivery address.String (60)
CompanyName
NoNone
DocumentHeaderFree-text note for the document header.String (-1)
Notes
NoNone
DocumentLineFree-text note for a document line.String (-1)
Notes
NoNone
DocuRefHeaderVisibilityYes/No flag that appears to control whether document references show in the header.low confidenceEnum
NoYes (enum)
NoNone
DocuRefLineVisibilityYes/No flag that appears to control whether document references show on lines.low confidenceEnum
NoYes (enum)
NoNone
DueDateDate by which payment is due.Date
DueDate
NoNone
InvoiceAccountCustomer account that receives the invoice.String (20)
CustInvoiceAccount
NoCustTable.AccountNumNone
InvoiceAccountVATNumTax exempt number of the invoice account.String (20)
VATNum
NoNone
InvoiceAmountInvoice amount in the transaction currency.Real
AmountCur
NoNone
InvoiceDateDate of the project invoice.Date
TransDate
NoNone
InvoiceIdIdentifier of the project invoice.String (50)
ProjInvoiceId
YesNone
InvoiceVATNumVisibilityYes/No flag that appears to control whether the tax number is shown.low confidenceEnum
NoYes (enum)
NoNone
MandateBankIBANIBAN linked to the direct debit mandate.String (48)
BankIBAN
NoNone
MandateReferenceDirect debit mandate ID.String (35)
CustMandateId
NoNone
MandateSWIFTNoSWIFT code linked to the direct debit mandate.String (20)
SWIFTNo
NoNone
NameCustomer name.String (160)
CustName
NoNone
OurAccountNumOur account number, as known to the customer.String (20)
CustAccountExt
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymTermIdTerms of payment that apply to the request.String (100)
CustPaymTermId
NoPaymTerm.PaymTermIdNone
PrePrintLevelShowPre-print level of the stationery: blank paper, partly preprinted or preprinted.Enum
PrePrintLevel (enum)
NoNone
ProjInvoiceIdIdentifier of the related project invoice.String (50)
ProjInvoiceId
YesNone
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
RetainedAmtReqRetained amount requested, in the transaction currency.Real
AmountCur
NoNone
ShowSepaNotificationYes/No flag that appears to control whether a SEPA notice is shown.low confidenceEnum
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxValue_THTax value, used for Thailand.Real
TaxValue
NoNone

Indexes (2)

Relations (7)

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

  • Currency → Currency

    Join on CurrencyId = Currency.CurrencyCode

    Many PSACustRetentionReleaseInvoiceTmp records → zero or one Currency record

  • CustTableAccountNum → CustTable

    Join on AccountNum = CustTable.AccountNum

    Many PSACustRetentionReleaseInvoiceTmp records → zero or one CustTable record

  • CustTableInvoiceAccount → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    Many PSACustRetentionReleaseInvoiceTmp records → zero or one CustTable record

  • PaymTerm → PaymTerm

    Join on PaymTermId = PaymTerm.PaymTermId

    Many PSACustRetentionReleaseInvoiceTmp records → zero or one PaymTerm record

  • ProjInvoiceJour → ProjInvoiceJour

    Join on InvoiceDate = ProjInvoiceJour.InvoiceDate, ProjInvoiceId = ProjInvoiceJour.ProjInvoiceId

    Exactly one PSACustRetentionReleaseInvoiceTmp record → zero or one ProjInvoiceJour record

  • ProjInvoiceJourInvoiceId → ProjInvoiceJour

    Join on CustInvoiceDate = ProjInvoiceJour.InvoiceDate, InvoiceId = ProjInvoiceJour.ProjInvoiceId

    Zero or one PSACustRetentionReleaseInvoiceTmp record → exactly one ProjInvoiceJour record

  • ProjInvoiceTable → ProjInvoiceTable

    Join on ContractId = ProjInvoiceTable.ProjInvoiceProjId

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

Email sales@drdynamics.co.uk