Table
PurchAgreementSubcontractor
Purchase agreement subcontractors
Lists subcontractors and co-contractors on a purchase agreement, used for public sector. Each record has a vendor, a type, a validity period, participation share and bank details. It has no declared key.
- Table name
PurchAgreementSubcontractor- Module
Procurement and sourcing- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
PublicSector- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DescriptionFree-text description of the subcontractor entry. | String (60)Description | No | None | |
EndDateDate when the subcontractor entry ends. | DateTransDate | No | None | |
MaximumAmount_PSNMaximum amount for this subcontractor. Currency not stated in the metadata. | RealAmountCur | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PercentParticipationShare of the agreement, as a percentage, that this party takes part in. | RealPercent | No | None | |
PurchAgreementHeaderPoints to the purchase agreement. | Int64RefRecId | Yes | PurchAgreementHeader.RecId | None |
PurchAgreementVendorType_PSNWhether the party is a co-contractor or a subcontractor. | EnumPurchAgreementVendorType_PSN (enum) | No | 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 | |
StartDateDate when the subcontractor entry starts. | DateTransDate | No | None | |
SubcontractorIDAccount number of the subcontractor vendor. | String (20)VendAccount | Yes | VendTable.AccountNum | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendAccount_PSNVendor account that owns the bank account. Used with the bank account ID and its company. | String (20)VendAccount | No | VendBankAccount.VendAccount | None |
VendBankAccountDataAreaID_PSNCompany of the vendor bank account. Part of the link to the bank account record. | String (4)DataAreaId | No | VendBankAccount.dataAreaId | None |
VendBankAccountID_PSNID of the vendor bank account used for this subcontractor. | StringBankAccountID | No | VendBankAccount.AccountID | None |
VendTableAccount number of the vendor on the agreement. | String (20)VendAccount | Yes | VendTable.AccountNum | None |
Indexes (1)
SubcontractorIdxPurchAgreementHeader,VendTable,SubcontractorIDUnique.
Relations (4)
Each relation joins PurchAgreementSubcontractor to another table on the fields shown.
PurchAgreementHeader→PurchAgreementHeaderJoin on
PurchAgreementHeader = PurchAgreementHeader.RecIdMany PurchAgreementSubcontractor records → exactly one PurchAgreementHeader record
SubContractor→VendTableJoin on
SubcontractorID = VendTable.AccountNumMany PurchAgreementSubcontractor records → exactly one VendTable record
VendBankAccount→VendBankAccountJoin on
VendBankAccountDataAreaID_PSN = VendBankAccount.dataAreaId,VendBankAccountID_PSN = VendBankAccount.AccountID,VendAccount_PSN = VendBankAccount.VendAccountMany PurchAgreementSubcontractor records → zero or one VendBankAccount record
VendTable→VendTableJoin on
VendTable = VendTable.AccountNumMany PurchAgreementSubcontractor records → exactly one VendTable record
Get this data out
No public entity reads from PurchAgreementSubcontractor. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchAgreementSubcontractor in a report, an integration or a migration? Talk to Dr Dynamics.