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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
VendAccountVendor account the hold is for. Points to the vendor record. | String (20)VendAccount | No | VendTable.AccountNum | None |
ValidFromDate and time from which the hold applies. | UtcDateTimeValidFromDateTime | No | None | |
ValidToDate and time until which the hold applies. | UtcDateTimeValidToDateTime | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
OnHoldType of hold on the vendor, such as invoice, payment, requisition or purchase order. | EnumVendBlockedCustVendorBlocked (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ReasonCodeReason code for the hold. Points to a reason record. | StringReasonCode | No | ReasonTable.Reason | None |
ReasonCommentShort comment explaining the hold. | String (60)ReasonComment | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
VendTable_AKReplacement keyVendAccount,ValidFrom,ValidToUnique, alternate key.
ReasonTableIdxNot unique.
Relations (2)
Each relation joins VendOnHoldHistory to another table on the fields shown.
ReasonTable→ReasonTableJoin on
ReasonCode = ReasonTable.ReasonMany VendOnHoldHistory records → zero or one ReasonTable record
VendTable→VendTableJoin on
VendAccount = VendTable.AccountNumMany 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.