Table

PurchAgreementHeaderExt_RU

Purchase agreement

Extra purchase agreement header settings used for Russia. It adds VAT, posting profile and responsible worker details to the agreement header. It extends AgreementHeaderExt_RU and has no key listed.

Table name
PurchAgreementHeaderExt_RU
Module
Accounts payable
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
TradeBlanketOrder
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation
Extends
AgreementHeaderExt_RU

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
VATChargeSourceShows whether VAT is charged from vendor funds or from own funds.Enum
VATChargeSource_RU (enum)
NoPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity
VATOperationCodeVAT operation code for the agreement, taken from the VAT operation codes table.String
VATOperationCode_RU
NoVATOperationCodeTable_RU.OperationCodePurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity
VendPostingProfileVendor posting profile that the agreement uses.String
VendPostingProfile
NoVendLedger.PostingProfilePurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity
VendPrepaymentPostingProfileVendor posting profile used for the prepayment journal voucher.String
VendPostingProfile
NoVendLedger.PostingProfilePurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity
WorkerPurchResponsibleWorker who is responsible for purchasing on this agreement. Points to a worker record.Int64
WorkerPurchResponsible_RU
NoHcmWorker.RecIdPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity

Relations (5)

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

  • PurchAgreementHeaderExt → AgreementHeaderExt_RU

    Join on RecId = AgreementHeaderExt_RU.RecId

    Zero or one PurchAgreementHeaderExt_RU record → exactly one AgreementHeaderExt_RU record

  • VATOperationCodeTable → VATOperationCodeTable_RU

    Join on VATOperationCode = VATOperationCodeTable_RU.OperationCode

    Many PurchAgreementHeaderExt_RU records → exactly one VATOperationCodeTable_RU record

  • VendLedgerPostingProfile → VendLedger

    Join on VendPostingProfile = VendLedger.PostingProfile

    Many PurchAgreementHeaderExt_RU records → exactly one VendLedger record

  • VendLedgerPrepaymentProfile → VendLedger

    Join on VendPrepaymentPostingProfile = VendLedger.PostingProfile

    Many PurchAgreementHeaderExt_RU records → exactly one VendLedger record

  • WorkerPurchResponsible → HcmWorker

    Join on WorkerPurchResponsible = HcmWorker.RecId

    Many PurchAgreementHeaderExt_RU records → zero or one HcmWorker record

Get this data out

Tables are not exposed directly. These public entities read from PurchAgreementHeaderExt_RU; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk