Table
PSACustomerRetentionTermTable
Customer retention terms
Customer retention terms, keyed by the retention term ID. Each record has a description and an effective date. It can link to a customer, a project, a project contract and a billing rule.
- Table name
PSACustomerRetentionTermTable- Module
Project management and accounting- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
RecId- Replacement key
RetentionTermIdx- Key fields
RetentionTermId- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RetentionTermIdUnique ID of the retention term. | String (20)PSAProjRetainScheduleId | Yes | ProjCustomerRetentionTermEntityProjFundingSourceEntity | |
BillingRuleIdBilling rule linked to the term, which points to a contract line item. | StringPSAContractLineNum | No | PSAContractLineItems.ContractLineNum | ProjCustomerRetentionTermEntity |
ContractID of the project contract linked to the term. | String (20)ProjInvoiceProjId | No | ProjInvoiceTable.ProjInvoiceProjId | ProjCustomerRetentionTermEntity |
CustAccountCustomer account linked to the term. | String (20)CustAccount | No | CustTable.AccountNum | ProjCustomerRetentionTermEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionDescription of the retention term. | String (60)Description | No | ProjCustomerRetentionTermEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjIdID of the project linked to the term. | String (20)ProjId | No | ProjTable.ProjId | ProjCustomerRetentionTermEntity |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateDate from which the term is effective. | DateTransDate | Yes | ProjCustomerRetentionTermEntity |
Indexes (1)
RetentionTermIdxReplacement keyUnique, alternate key.
Relations (4)
Each relation joins PSACustomerRetentionTermTable to another table on the fields shown.
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany PSACustomerRetentionTermTable records → zero or one CustTable record
ProjInvoiceTable→ProjInvoiceTableJoin on
Contract = ProjInvoiceTable.ProjInvoiceProjIdMany PSACustomerRetentionTermTable records → zero or one ProjInvoiceTable record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany PSACustomerRetentionTermTable records → zero or one ProjTable record
PSAContractLineItems→PSAContractLineItemsJoin on
BillingRuleId = PSAContractLineItems.ContractLineNumMany PSACustomerRetentionTermTable records → zero or one PSAContractLineItems record
Get this data out
Tables are not exposed directly. These public entities read from PSACustomerRetentionTermTable; use one of them in Power BI, Power Platform or a data management project.
ProjCustomerRetentionTermEntity· 7 fields from this tableProjFundingSourceEntity· 1 field from this table
Need help with PSACustomerRetentionTermTable in a report, an integration or a migration? Talk to Dr Dynamics.