Table
VendTransState
Vendor transactions state
Holds the settlement and exchange rate adjustment state of a vendor transaction. It includes settled amounts, last settlement details, closing information and revaluation data. Each record points to a vendor transaction.
- Table name
VendTransState- Module
Accounts payable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (36)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumThe vendor account of the transaction. | String (20)VendAccount | Yes | VendTable.AccountNum | None |
ClosedDate the transaction was closed. | DateTransDate | 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 | |
ExchAdjustmentExchange rate adjustment amount, in accounting currency.low confidence | RealVendExchAdjustment | No | None | |
ExchAdjustmentReportingExchange rate adjustment amount, in reporting currency.low confidence | RealVendExchAdjustment | No | None | |
LastExchAdjDate of the last foreign currency revaluation. | DateTransDate | No | None | |
LastExchAdjRateExchange rate used at the last revaluation. | RealExchRate | No | None | |
LastExchAdjRateReportingExchange rate used at the last revaluation for reporting currency.low confidence | RealCurrencyExchangeRate | No | None | |
LastExchAdjVoucherVoucher of the last foreign currency revaluation. | String (20)Voucher | No | None | |
LastSettleAccountNumVendor account of the voucher used in the latest settlement. | String (20)VendAccount | No | None | |
LastSettleCompanyCompany of the voucher used in the latest settlement. | StringCompanyId | No | None | |
LastSettleDateDate of the latest settlement. | DateTransDate | No | None | |
LastSettleVoucherVoucher of the latest settlement. | String (20)Voucher | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OffsetRecIdReference to the offsetting vendor transaction.low confidence | Int64VendTransRefRecId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymReferencePayment reference for the transaction. | String (35)VendPaymReference | No | None | |
PostingProfileCloseVendor posting profile used when the transaction was closed. | StringVendPostingProfile | No | VendLedger.PostingProfile | 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 | |
ReportingExchAdjustmentRealizedRealized exchange rate adjustment amount, in reporting currency.low confidence | RealVendExchAdjustmentRealized | No | None | |
ReportingExchAdjustmentUnrealizedUnrealized exchange rate adjustment amount, in reporting currency.low confidence | RealVendExchAdjustmentUnrealized | No | None | |
SettleAmountCurAmount settled, in transaction currency. | RealAmountCur | No | None | |
SettleAmountMSTAmount settled, in accounting currency. | RealAmountMST | No | None | |
SettleAmountReportingAmount settled, in reporting currency. | RealAmountMSTSecondary | 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 | |
TransDateTransaction date. | DateTransDate | No | None | |
TransRecIdThe vendor transaction this state belongs to. | Int64VendTransRefRecId | Yes | VendTrans.RecId | None |
VendExchAdjustmentRealizedRealized exchange rate adjustment amount, in accounting currency.low confidence | RealVendExchAdjustmentRealized | No | None | |
VendExchAdjustmentUnrealizedUnrealized exchange rate adjustment amount, in accounting currency.low confidence | RealVendExchAdjustmentUnrealized | No | None | |
VendPaymentGroupCode of the payment group. | StringVendPaymentGrouping | No | None | |
VoucherVoucher number of the transaction. | String (20)Voucher | Yes | None |
Indexes (2)
TransRecIdIdxUnique, alternate key.
AccountVoucherDateIdxAccountNum,TransDate,VoucherNot unique.
Relations (3)
Each relation joins VendTransState to another table on the fields shown.
VendTrans→VendTransJoin on
TransRecId = VendTrans.RecIdZero or one VendTransState record → exactly one VendTrans record
VendLedger_PostingProfileClose→VendLedgerJoin on
PostingProfileClose = VendLedger.PostingProfileMany VendTransState records → zero or one VendLedger record
VendTable_AccountNum→VendTableJoin on
AccountNum = VendTable.AccountNumMany VendTransState records → exactly one VendTable record
Get this data out
No public entity reads from VendTransState. Its data is only reachable through the application, a custom entity or a database export.
Need help with VendTransState in a report, an integration or a migration? Talk to Dr Dynamics.