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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RetentionTermIdUnique ID of the retention term.String (20)
PSAProjRetainScheduleId
YesProjCustomerRetentionTermEntityProjFundingSourceEntity
BillingRuleIdBilling rule linked to the term, which points to a contract line item.String
PSAContractLineNum
NoPSAContractLineItems.ContractLineNumProjCustomerRetentionTermEntity
ContractID of the project contract linked to the term.String (20)
ProjInvoiceProjId
NoProjInvoiceTable.ProjInvoiceProjIdProjCustomerRetentionTermEntity
CustAccountCustomer account linked to the term.String (20)
CustAccount
NoCustTable.AccountNumProjCustomerRetentionTermEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionDescription of the retention term.String (60)
Description
NoProjCustomerRetentionTermEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjIdID of the project linked to the term.String (20)
ProjId
NoProjTable.ProjIdProjCustomerRetentionTermEntity
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate from which the term is effective.Date
TransDate
YesProjCustomerRetentionTermEntity

Indexes (1)

Relations (4)

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

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many PSACustomerRetentionTermTable records → zero or one CustTable record

  • ProjInvoiceTable → ProjInvoiceTable

    Join on Contract = ProjInvoiceTable.ProjInvoiceProjId

    Many PSACustomerRetentionTermTable records → zero or one ProjInvoiceTable record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many PSACustomerRetentionTermTable records → zero or one ProjTable record

  • PSAContractLineItems → PSAContractLineItems

    Join on BillingRuleId = PSAContractLineItems.ContractLineNum

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

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

Email sales@drdynamics.co.uk