Table
PSACustomerInvoiceRetain
Customer retained invoices
Holds retained amounts for project invoices, with no defined key. Each record links to a project, a billing rule, a funding source, an invoice proposal and a project invoice. It stores the amount to retain, the amount released and the amount invoiced now.
- Table name
PSACustomerInvoiceRetain- Module
Project management and accounting- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ContractLineNumBilling rule (contract line) that the retained amount relates to. | StringPSAContractLineNum | No | PSAContractLineItems.ContractLineNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FundingSourceFunding source the retained amount is linked to, by its system record ID. | Int64ProjFundingSourceRefId | No | ProjFundingSource.RecId | None |
InvoicedNowAmount invoiced in this transaction, in accounting currency. | RealAmountMST | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjIdProject that the retained amount belongs to. | String (20)ProjId | No | ProjTable.ProjId | None |
ProjInvoiceDateDate of the related project invoice. | DateTransDate | No | None | |
ProjInvoiceIdIdentifier of the related project invoice. | String (50)ProjInvoiceId | No | None | |
ProjProposalIdInvoice proposal that the record is linked to. | String (50)ProjProposalId | No | ProjProposalJour.ProposalId | 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 | |
ReleasedAmountAmount of retention that has been released, in accounting currency. | RealAmountMST | No | None | |
RetainedAmountAmount to hold back as retention, in accounting currency. | RealAmountMST | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Relations (5)
Each relation joins PSACustomerInvoiceRetain to another table on the fields shown.
ProjFundingSource→ProjFundingSourceJoin on
FundingSource = ProjFundingSource.RecIdMany PSACustomerInvoiceRetain records → zero or one ProjFundingSource record
ProjInvoiceJour→ProjInvoiceJourJoin on
ProjInvoiceDate = ProjInvoiceJour.InvoiceDate,ProjInvoiceId = ProjInvoiceJour.ProjInvoiceIdMany PSACustomerInvoiceRetain records → zero or one ProjInvoiceJour record
ProjProposalJour→ProjProposalJourJoin on
ProjProposalId = ProjProposalJour.ProposalIdMany PSACustomerInvoiceRetain records → zero or one ProjProposalJour record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany PSACustomerInvoiceRetain records → zero or one ProjTable record
PSAContractLineItems→PSAContractLineItemsJoin on
ContractLineNum = PSAContractLineItems.ContractLineNumMany PSACustomerInvoiceRetain records → zero or one PSAContractLineItems record
Get this data out
No public entity reads from PSACustomerInvoiceRetain. Its data is only reachable through the application, a custom entity or a database export.
Need help with PSACustomerInvoiceRetain in a report, an integration or a migration? Talk to Dr Dynamics.