Table

VendOnHoldHistory

On hold

Keeps a history of holds placed on a vendor. Each row gives the type of hold and a period of validity. It can also carry a reason code and a short comment. The key is vendor account, valid from and valid to.

Table name
VendOnHoldHistory
Module
Accounts payable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
VendTable_AK
Key fields
VendAccount, ValidFrom, ValidTo
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
VendAccountVendor account the hold is for. Points to the vendor record.String (20)
VendAccount
NoVendTable.AccountNumNone
ValidFromDate and time from which the hold applies.UtcDateTime
ValidFromDateTime
NoNone
ValidToDate and time until which the hold applies.UtcDateTime
ValidToDateTime
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
OnHoldType of hold on the vendor, such as invoice, payment, requisition or purchase order.Enum
VendBlocked
CustVendorBlocked (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonCodeReason code for the hold. Points to a reason record.String
ReasonCode
NoReasonTable.ReasonNone
ReasonCommentShort comment explaining the hold.String (60)
ReasonComment
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

Indexes (2)

Relations (2)

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

  • ReasonTable → ReasonTable

    Join on ReasonCode = ReasonTable.Reason

    Many VendOnHoldHistory records → zero or one ReasonTable record

  • VendTable → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many VendOnHoldHistory records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk