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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumThe vendor account of the transaction.String (20)
VendAccount
YesVendTable.AccountNumNone
ClosedDate the transaction was closed.Date
TransDate
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
ExchAdjustmentExchange rate adjustment amount, in accounting currency.low confidenceReal
VendExchAdjustment
NoNone
ExchAdjustmentReportingExchange rate adjustment amount, in reporting currency.low confidenceReal
VendExchAdjustment
NoNone
LastExchAdjDate of the last foreign currency revaluation.Date
TransDate
NoNone
LastExchAdjRateExchange rate used at the last revaluation.Real
ExchRate
NoNone
LastExchAdjRateReportingExchange rate used at the last revaluation for reporting currency.low confidenceReal
CurrencyExchangeRate
NoNone
LastExchAdjVoucherVoucher of the last foreign currency revaluation.String (20)
Voucher
NoNone
LastSettleAccountNumVendor account of the voucher used in the latest settlement.String (20)
VendAccount
NoNone
LastSettleCompanyCompany of the voucher used in the latest settlement.String
CompanyId
NoNone
LastSettleDateDate of the latest settlement.Date
TransDate
NoNone
LastSettleVoucherVoucher of the latest settlement.String (20)
Voucher
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OffsetRecIdReference to the offsetting vendor transaction.low confidenceInt64
VendTransRefRecId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymReferencePayment reference for the transaction.String (35)
VendPaymReference
NoNone
PostingProfileCloseVendor posting profile used when the transaction was closed.String
VendPostingProfile
NoVendLedger.PostingProfileNone
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
ReportingExchAdjustmentRealizedRealized exchange rate adjustment amount, in reporting currency.low confidenceReal
VendExchAdjustmentRealized
NoNone
ReportingExchAdjustmentUnrealizedUnrealized exchange rate adjustment amount, in reporting currency.low confidenceReal
VendExchAdjustmentUnrealized
NoNone
SettleAmountCurAmount settled, in transaction currency.Real
AmountCur
NoNone
SettleAmountMSTAmount settled, in accounting currency.Real
AmountMST
NoNone
SettleAmountReportingAmount settled, in reporting currency.Real
AmountMSTSecondary
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
TransDateTransaction date.Date
TransDate
NoNone
TransRecIdThe vendor transaction this state belongs to.Int64
VendTransRefRecId
YesVendTrans.RecIdNone
VendExchAdjustmentRealizedRealized exchange rate adjustment amount, in accounting currency.low confidenceReal
VendExchAdjustmentRealized
NoNone
VendExchAdjustmentUnrealizedUnrealized exchange rate adjustment amount, in accounting currency.low confidenceReal
VendExchAdjustmentUnrealized
NoNone
VendPaymentGroupCode of the payment group.String
VendPaymentGrouping
NoNone
VoucherVoucher number of the transaction.String (20)
Voucher
YesNone

Indexes (2)

Relations (3)

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

  • VendTrans → VendTrans

    Join on TransRecId = VendTrans.RecId

    Zero or one VendTransState record → exactly one VendTrans record

  • VendLedger_PostingProfileClose → VendLedger

    Join on PostingProfileClose = VendLedger.PostingProfile

    Many VendTransState records → zero or one VendLedger record

  • VendTable_AccountNum → VendTable

    Join on AccountNum = VendTable.AccountNum

    Many 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.

Email sales@drdynamics.co.uk