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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountCodeShows whether the setting applies to one vendor, a vendor group or all vendors.Enum
TableGroupAll (enum)
NoProjPWPVendorRetentionSettingEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjIdProject the setting applies to. It points to a project record.String (20)
ProjId
NoProjTable.ProjIdProjPWPVendorRetentionSettingEntity
PwpThresholdPercentPercentage threshold for pay when paid.Real
PSAPercent
NoProjPWPVendorRetentionSettingEntity
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
RuleIdVendor retention terms used. It points to a retainage schedule record.String (20)
PSAPurchRetainScheduleId
NoPSAVendorRetentionTermsTable.VendorRetentionTermIdProjPWPVendorRetentionSettingEntity
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
VendorRelationVendor or vendor group the setting applies to, depending on the account code.String (20)
CustVendRel
NoVendGroup.VendGroupVendTable.AccountNumProjPWPVendorRetentionSettingEntity

Indexes (2)

Relations (4)

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

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    One or more ProjPWPVendorRetentionSetting records → zero or one ProjTable record

  • PSAVendorRetentionTermsTable → PSAVendorRetentionTermsTable

    Join on RuleId = PSAVendorRetentionTermsTable.VendorRetentionTermId

    Many ProjPWPVendorRetentionSetting records → zero or one PSAVendorRetentionTermsTable record

  • VendGroup → VendGroup

    Join on VendorRelation = VendGroup.VendGroup, AccountCode = TableGroupAll::GroupId

    Many ProjPWPVendorRetentionSetting records → zero or one VendGroup record

  • VendTable → VendTable

    Join on VendorRelation = VendTable.AccountNum, AccountCode = TableGroupAll::Table

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

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

Email sales@drdynamics.co.uk