Table
ProjPWPVendorRetentionSetting
Pay when paid
Stores pay-when-paid settings for vendor retention. Each record sets a threshold percentage and a retention terms rule for a project, vendor or vendor group. It has no defined key.
- Table name
ProjPWPVendorRetentionSetting- 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 (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountCodeShows whether the setting applies to one vendor, a vendor group or all vendors. | EnumTableGroupAll (enum) | No | ProjPWPVendorRetentionSettingEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjIdProject the setting applies to. It points to a project record. | String (20)ProjId | No | ProjTable.ProjId | ProjPWPVendorRetentionSettingEntity |
PwpThresholdPercentPercentage threshold for pay when paid. | RealPSAPercent | No | ProjPWPVendorRetentionSettingEntity | |
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 | |
RuleIdVendor retention terms used. It points to a retainage schedule record. | String (20)PSAPurchRetainScheduleId | No | PSAVendorRetentionTermsTable.VendorRetentionTermId | ProjPWPVendorRetentionSettingEntity |
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 | |
VendorRelationVendor or vendor group the setting applies to, depending on the account code. | String (20)CustVendRel | No | VendGroup.VendGroupVendTable.AccountNum | ProjPWPVendorRetentionSettingEntity |
Indexes (2)
AccountCodeVendorRelationIdxVendorRelation,AccountCode,ProjIdUnique.
ProjIdIdxNot unique.
Relations (4)
Each relation joins ProjPWPVendorRetentionSetting to another table on the fields shown.
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdOne or more ProjPWPVendorRetentionSetting records → zero or one ProjTable record
PSAVendorRetentionTermsTable→PSAVendorRetentionTermsTableJoin on
RuleId = PSAVendorRetentionTermsTable.VendorRetentionTermIdMany ProjPWPVendorRetentionSetting records → zero or one PSAVendorRetentionTermsTable record
VendGroup→VendGroupJoin on
VendorRelation = VendGroup.VendGroup,AccountCode = TableGroupAll::GroupIdMany ProjPWPVendorRetentionSetting records → zero or one VendGroup record
VendTable→VendTableJoin on
VendorRelation = VendTable.AccountNum,AccountCode = TableGroupAll::TableMany ProjPWPVendorRetentionSetting records → zero or one VendTable record
Get this data out
Tables are not exposed directly. These public entities read from ProjPWPVendorRetentionSetting; use one of them in Power BI, Power Platform or a data management project.
ProjPWPVendorRetentionSettingEntity· 5 fields from this table
Need help with ProjPWPVendorRetentionSetting in a report, an integration or a migration? Talk to Dr Dynamics.