Table

VendUnrealizedRev

Reversal journal

Used for Thailand. Stores reversal journals for unrealized purchase tax of a vendor. It is keyed by the reversal ID and holds the tax invoice details, reversal date, currency and posted status.

Table name
VendUnrealizedRev
Module
Accounts payable
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
TaxThailandGovCertification
Primary index
None
Replacement key
ReversalIdx
Key fields
ReversalId
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ReversalIdUnique ID of the reversal journal. It is the key.String (20)
VendUnrealizedRevId
YesNone
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
CurrencyCodeCurrency of the reversal, pointing to the Currency table.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostedYes/No flag showing whether the journal has been posted.Enum
JournalPosted
NoYes (enum)
NoNone
RealVendNameName of the actual vendor.String (160)
TaxUnrealizedPurchRealVendName
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
ReversalDateDate of the reversal.Date
CustVendUnrealizedRevDate
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxInvoiceDateDate of the tax invoice.Date
TaxUnrealizedPurchTaxInvoiceDate
NoNone
TaxInvoiceIdNumber of the tax invoice.String (20)
TaxUnrealizedPurchTaxInvoiceId
NoNone
TaxInvoiceReceiptDateDate the tax invoice was received.Date
TaxUnrealizedPurchTaxInvoiceRcptDate
NoNone
VendTableThe vendor account for the reversal.String (20)
VendAccount
YesVendTable.AccountNumNone

Indexes (4)

Relations (2)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many VendUnrealizedRev records → exactly one Currency record

  • VendTable → VendTable

    Join on VendTable = VendTable.AccountNum

    Many VendUnrealizedRev records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk