Table

PurchAgreementHeaderHistoryExt_RU

Purchase agreement confirmation history

Extension table that adds data used for Russia to the purchase agreement confirmation history. It stores VAT settings, posting profiles and the responsible worker. It links to the agreement history header table.

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

Fields (11)

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
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)
NoNone
VATOperationCodeVAT operation code used for the agreement.String
VATOperationCode_RU
NoVATOperationCodeTable_RU.OperationCodeNone
VendPostingProfileVendor posting profile used for the agreement.String
VendPostingProfile
NoVendLedger.PostingProfileNone
VendPrepaymentPostingProfileVendor posting profile used for the prepayment journal voucher.String
VendPostingProfile
NoVendLedger.PostingProfileNone
WorkerPurchResponsibleThe worker who is responsible for the purchase.Int64
WorkerPurchResponsible_RU
NoHcmWorker.RecIdNone

Indexes (1)

Relations (5)

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

  • PurchAgreementHeaderHistoryExt → AgreementHeaderHistoryExt_RU

    Join on RecId = AgreementHeaderHistoryExt_RU.RecId

    Zero or one PurchAgreementHeaderHistoryExt_RU record → exactly one AgreementHeaderHistoryExt_RU record

  • VATOperationCodeTable → VATOperationCodeTable_RU

    Join on VATOperationCode = VATOperationCodeTable_RU.OperationCode

    Many PurchAgreementHeaderHistoryExt_RU records → exactly one VATOperationCodeTable_RU record

  • VendLedgerPostingProfile → VendLedger

    Join on VendPostingProfile = VendLedger.PostingProfile

    Many PurchAgreementHeaderHistoryExt_RU records → exactly one VendLedger record

  • VendLedgerPrepaymentProfile → VendLedger

    Join on VendPrepaymentPostingProfile = VendLedger.PostingProfile

    Many PurchAgreementHeaderHistoryExt_RU records → exactly one VendLedger record

  • WorkerPurchResponsible → HcmWorker

    Join on WorkerPurchResponsible = HcmWorker.RecId

    Many PurchAgreementHeaderHistoryExt_RU records → zero or one HcmWorker record

Get this data out

No public entity reads from PurchAgreementHeaderHistoryExt_RU. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk