Table

PSAProjInvoiceTmp

Project invoice

Temporary table holding invoice line data for printing a project invoice. Each row describes a project transaction with its project, category, quantity, price and amounts. It links to projects and project categories, and has fields for several countries.

Table name
PSAProjInvoiceTmp
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 (67)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AddressAddress text.low confidenceString (250)
Addressing
NoNone
Amount_MYAmount, used for Malaysia.Real
Amount
NoNone
BookableResourceNameName of the bookable resource.String (60)
ProjBookableResourceName
NoNone
CashDiscAmount_MYCash discount amount, used for Malaysia.Real
CashDiscAmount
NoNone
CategoryProject category of the line. Points to a project category record.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
CompanyAddressAddress of the company.String (250)
LogisticsAddressing
NoNone
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
CurrencyCode_AECurrency code, used for the United Arab Emirates.String (3)
CurrencyCode
NoNone
CustAddressAddress of the customer.String (250)
LogisticsAddressing
NoNone
CustFaxCustomer fax number.String (20)
TeleFax
NoNone
CustNameCustomer name.String (160)
CustName
NoNone
CustPhoneCustomer telephone number.String (20)
Phone
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DocumentHeaderNote text for the document header.String (-1)
Notes
NoNone
DocumentLineNote text for the document line.String (-1)
Notes
NoNone
DocuRefHeaderVisibilityYes/No flag for showing document references on the header.Enum
NoYes (enum)
NoNone
DocuRefLineVisibilityYes/No flag for showing document references on the line.Enum
NoYes (enum)
NoNone
GiroType_BEType of payment attachment on the customer invoice, such as FIK, BBS or a coloured slip.Enum
PaymentStubInvoiceId
PaymentStub (enum)
NoNone
GSTReliefItemNumber_MYGST relief item number, used for Malaysia.String
TaxGSTReliefItemNumber_MY
NoNone
GSTReliefSchedule_MYGST relief schedule, used for Malaysia.String
TaxGSTReliefSchedule_MY
NoNone
GSTSummaryText_MYShort GST summary text, used for Malaysia.String (30)
String30
NoNone
IntracodeCommodity code of the item category.String (20)
EcoResCategoryCommodityCode
NoNone
InvoiceAccountVATNumTax exempt number of the invoice account.String (20)
VATNum
NoNone
InvoiceVATNumVisibilityYes/No flag for showing the invoice account tax number.Enum
NoYes (enum)
NoNone
IsGSTSummary_MYYes/No flag marking a GST summary line, used for Malaysia.Enum
NoYes (enum)
NoNone
IsPreBillApplicableYes/No flag for whether pre-billing applies.Enum
NoYes (enum)
NoNone
ItemNameProduct name.String (60)
ItemNameDisplay
NoNone
ItemPriceAfterDiscountItem price after discount, in transaction currency.Real
AmountCur
NoNone
LineAmountLine amount, in transaction currency.Real
AmountCur
NoNone
LineAmountMSTLine amount, in accounting currency.Real
AmountMST
NoNone
LineNumberCounter number of the line.Integer
Counter
NoNone
LineSignSingle-character symbol for the line.low confidenceString (1)
char
NoNone
LineTaxAmountSales tax amount on the line.Real
TaxAmount
NoNone
PackingSlipInfoText with packing slip information.String (255)
String255
NoNone
PackingSlipInfoVisibilityYes/No flag for showing packing slip information.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
PKWiUCode_PLPKWiU classification code, used for Poland.String (20)
PlPKWiUCode
NoNone
ProjectNameName of the project.String (60)
ProjName
NoNone
ProjectReferenceNumberProject ID used as a reference. Points to a project.String (20)
ProjId
NoProjTable.ProjIdNone
ProjIdProject ID. Points to a project.String (20)
ProjId
NoProjTable.ProjIdNone
QuantityQuantity 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
RefInvoiceDate_MYDate of a reference invoice, used for Malaysia.Date
TransDate
NoNone
RefInvoiceID_MYID of a reference invoice, used for Malaysia.String (20)
CustInvoiceId
NoNone
SalesPriceSales price of the line.Real
SalesPrice
NoNone
SalesPriceMSTSales price. The name points to accounting currency, but the currency is not stated in the metadata.low confidenceReal
SalesPrice
NoNone
SMABasePriceBase price, from the service management area.Real
SMABasePrice
NoNone
SMAIndexIndex value, from the service management area.Real
SMAIndex
NoNone
SMASpecIndexCalcYes/No flag to specify an index calculation.Enum
SMASpecIndexCalc
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmount_AESales tax amount, used for the United Arab Emirates. The currency is not stated in the metadata.Real
TaxAmountCur
NoNone
TaxAmount_MYSales tax amount, used for Malaysia.Real
TaxAmountCur
NoNone
TaxBaseAmount_AETax base amount, used for the United Arab Emirates. The currency is not stated in the metadata.Real
TaxBaseCur
NoNone
TaxBaseAmount_MYTax base amount, used for Malaysia.Real
TaxBaseCur
NoNone
TaxBaseQty_MYTax base quantity, used for Malaysia.Real
TaxQty
NoNone
TaxCode_AESales tax code, used for the United Arab Emirates.String
TaxCode
NoNone
TaxWriteCodePrint code for the tax.String
TaxWriteCode
NoNone
TransactionOriginWhere the project transaction came from, such as an hour journal, expense journal or item journal.Enum
ProjTransactionOrigin
ProjOrigin (enum)
NoNone
TransDateDate of the transaction.Date
TransDate
NoNone
TransTableIdID of the table the transaction comes from.Integer
RefTableId
NoNone
TransTableLabelShort text label for the source table.String (20)
String20
NoNone
TransTxtDescription text of the transaction.String (255)
Description255
NoNone
VATAmount_AECorrected VAT amount, used for the United Arab Emirates. The currency is not stated in the metadata.low confidenceReal
TaxAmount
NoNone
VATPercent_AEVAT rate value, used for the United Arab Emirates.Real
TaxValue
NoNone
WithReducedTax_JPYes/No flag for reduced tax, used for Japan.Enum
NoYes (enum)
NoNone

Indexes (2)

Relations (3)

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

  • ProjCategory → ProjCategory

    Join on Category = ProjCategory.CategoryId

    Many PSAProjInvoiceTmp records → zero or one ProjCategory record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many PSAProjInvoiceTmp records → zero or one ProjTable record

  • ProjTableRef → ProjTable

    Join on ProjectReferenceNumber = ProjTable.ProjId

    Many PSAProjInvoiceTmp records → zero or one ProjTable record

Get this data out

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

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

Email sales@drdynamics.co.uk