Table

PSAManageInvoiceTmp

Project invoice

Temporary table with the data for a project invoice document. It holds company, customer and delivery details, bank and direct debit information, invoice lines, tax and totals, and print settings. It links to the project, customer, currency, category and payment terms, and has some country-specific fields.

Table name
PSAManageInvoiceTmp
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 (75)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
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 invoice 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
CurrencyCodeSales currency code of the invoice.String (3)
ProjSalesCurrencyCode
NoCurrency.CurrencyCodeNone
CustAccountExtCustomer account on the invoice.String (20)
CustInvoiceAccount
NoCustTable.AccountNumNone
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
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
DocuRefNotesFree-text note for document references.String (-1)
Notes
NoNone
DueDateDate by which payment is due.Date
DueDate
NoNone
FormLetter_TxtFree-text form note printed on the document.String (-1)
FormLetterTxt
NoNone
IndirectCostAmount of indirect cost.Real
Amount
NoNone
IntracodeCommodity code of the product category.String (20)
EcoResCategoryCommodityCode
NoNone
InvoiceAccountVATNumTax exempt number of the invoice account.String (20)
VATNum
NoNone
InvoiceDateDate of the project invoice.Date
TransDate
NoNone
InvoiceGroupingDetail level of the invoice: detail or summary.Enum
PSAProjInvoiceDetailGrouping (enum)
NoNone
InvoiceNumIdentifier of the project invoice.String (50)
ProjInvoiceId
NoNone
InvoiceVATNumVisibilityYes/No flag that appears to control whether the tax number is shown.low confidenceEnum
NoYes (enum)
NoNone
ItemNameProduct name shown on the line.String (60)
ItemNameDisplay
NoNone
LineNumberCounter number of the line.Integer
Counter
NoNone
LineSignOne-character symbol for the line.low confidenceString (1)
char
NoNone
LineTaxAmountSales tax amount for the line.Real
TaxAmount
NoNone
LineTxtFree text for the line.String (1000)
ItemFreeTxt
NoNone
ManageGroupingOrderLine number used to order the grouped lines.Real
LineNum
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
OurAccountNumOur account number, as known to the customer.String (20)
CustAccountExt
NoNone
PackingSlipInfoPacking slip information as free text of up to 255 characters.String (255)
String255
NoNone
PackingSlipInfoVisibilityYes/No flag for whether packing slip information is shown.Enum
NoYes (enum)
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 invoice.String (100)
CustPaymTermId
NoPaymTerm.PaymTermIdNone
PKWiUCode_PLPKWiU classification code, used for Poland.String (20)
PlPKWiUCode
NoNone
PrePrintLevelShowPre-print level of the stationery: blank paper, partly preprinted or preprinted.Enum
PrePrintLevel (enum)
NoNone
ProjCategoryProject category of the line.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
ProjIdProject the line belongs to.String (20)
ProjId
NoProjTable.ProjIdNone
ProjNameName of the project.String (60)
ProjName
NoNone
ProjTypeTransaction type of the line, such as fee, hour, expense, item, on-account, WIP, indirect cost component or retainage.Enum
ProjTransType (enum)
NoNone
PSAInvoiceTxtPreText printed before the invoice lines.String (-1)
Notes
NoNone
QRCode_SAQR code image held as a bitmap, used for Saudi Arabia.Container
Bitmap
NoNone
QRCode_WQR code image held as a bitmap; a general localisation field.low confidenceContainer
Bitmap
NoNone
QtyQuantity in hours.Real
ProjQtyEmpl
NoNone
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
RetainageAmountRetainage amount, in accounting currency.Real
AmountMST
NoNone
SalesPriceSales price of the line.Real
SalesPrice
NoNone
ShowSepaNotificationYes/No flag that appears to control whether a SEPA notice is shown.low confidenceEnum
NoYes (enum)
NoNone
SMABasePriceBase price used for index calculation.Real
SMABasePrice
NoNone
SMAIndexIndex value used in the price calculation.Real
SMAIndex
NoNone
SMASpecIndexCalcYes/No flag to specify an index calculation.Enum
SMASpecIndexCalc
NoYes (enum)
NoNone
StandardCurrencyCurrency code of the standard currency.String (3)
CurrencyCode
NoNone
SubmissionUUID_WUnique ID of an electronic submission; a general localisation field.low confidenceString (1000)
FreeText1000
NoNone
SumMarkupTotal markup amount in the transaction currency.Real
AmountCur
NoNone
SumTaxTotal tax amount in the transaction currency.Real
AmountCur
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxWriteCodePrint code for the tax.String
TaxWriteCode
NoNone
TotalAmountTotal invoice amount in the transaction currency.Real
AmountCur
NoNone
TotalDiscCash discount amount.Real
DiscAmount
NoNone
TransDateTransaction date.Date
TransDate
NoNone
WithReducedTax_JPYes/No flag about reduced tax, used for Japan.low confidenceEnum
NoYes (enum)
NoNone

Indexes (2)

Relations (7)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PSAManageInvoiceTmp records → zero or one Currency record

  • CustTable → CustTable

    Join on CustAccountExt = CustTable.AccountNum

    Many PSAManageInvoiceTmp records → zero or one CustTable record

  • PaymTerm → PaymTerm

    Join on PaymTermId = PaymTerm.PaymTermId

    Many PSAManageInvoiceTmp records → zero or one PaymTerm record

  • ProjCategory → ProjCategory

    Join on ProjCategory = ProjCategory.CategoryId

    Many PSAManageInvoiceTmp records → zero or one ProjCategory record

  • ProjInvoiceJour → ProjInvoiceJour

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

    Exactly one PSAManageInvoiceTmp record → zero or one ProjInvoiceJour record

  • ProjInvoiceTable → ProjInvoiceTable

    Join on ContractId = ProjInvoiceTable.ProjInvoiceProjId

    Many PSAManageInvoiceTmp records → zero or one ProjInvoiceTable record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many PSAManageInvoiceTmp records → zero or one ProjTable record

Get this data out

No public entity reads from PSAManageInvoiceTmp. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk