Table

RestoredVATLogTrans_RU

VAT restoring journal specification

Holds the specification lines of the VAT restoring journal, used for Russia. Each line records a vendor facture with VAT amounts split by rate and by fixed asset, direct or indirect. It links to the totals by date, to facture journals, vendor transactions and the VAT processing log.

Table name
RestoredVATLogTrans_RU
Module
Sales and purchase books (Russia)
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNameName of the vendor.String (160)
VendName
NoNone
AccountNumVendor account, pointing to the vendor record.String (20)
VendAccount
NoVendTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryDateDate the goods or services were delivered.Date
TransDate
NoNone
FacturedAmountsContainer holding the book amounts.Container
BookAmounts_RU
NoNone
FactureDateDate the facture was registered.Date
FactureDate_RU
NoNone
FactureExternalIdFacture number as shown on the external document.String (30)
FactureExternalId_RU
NoNone
FactureIdSystem identifier of the facture; it joins to the facture journal together with the module.String (50)
FactureId_RU
NoFactureJour_RU.FactureIdNone
FactureModuleSource module of the facture, such as customer, vendor or advance report.Enum
FactureModule_RU (enum)
NoFactureJour_RU.ModuleNone
IncludeYes/No flag showing whether the line is included in the calculation.Enum
IncludeIntoCalc_RU
NoYes (enum)
NoNone
InvoiceRecIdPoints to the vendor transaction of the invoice.Int64
VendTransRefRecId
NoVendTrans.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessLogTransRecIdPoints to the specification line of the VAT processing log.Int64
PurchBookLogTransRefRecId_RU
NoPurchBookVATProcessLogTrans_RU.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxReducedAssetVAT at the reduced 10% rate for fixed assets.Real
TaxAmountAssetVAT10_RU
NoNone
TaxReducedDirectVAT at the reduced 10% rate for direct expenses.Real
TaxAmountDirectVAT10_RU
NoNone
TaxReducedIndirectVAT at the reduced 10% rate for indirect expenses.Real
TaxAmountIndirectVAT10_RU
NoNone
TaxStandardAssetVAT at the standard rate for fixed assets (labelled 18%; the type name refers to 20%).Real
TaxAmountAssetVAT20_RU
NoNone
TaxStandardDirectVAT at the standard rate for direct expenses (labelled 18%; the type name refers to 20%).Real
TaxAmountDirectVAT20_RU
NoNone
TaxStandardIndirectVAT at the standard rate for indirect expenses (labelled 18%; the type name refers to 20%).Real
TaxAmountIndirectVAT20_RU
NoNone
TransDateDate of the journal, pointing to the VAT restoring journal totals.Date
TransDate
NoRestoredVATLogTable_RU.TransDateNone

Indexes (1)

Relations (5)

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

  • FactureJour → FactureJour_RU

    Join on FactureId = FactureJour_RU.FactureId, FactureModule = FactureJour_RU.Module

    Many RestoredVATLogTrans_RU records → exactly one FactureJour_RU record

  • LogTable → RestoredVATLogTable_RU

    Join on TransDate = RestoredVATLogTable_RU.TransDate

    Many RestoredVATLogTrans_RU records → exactly one RestoredVATLogTable_RU record

  • PurchBookVATProcessLogTrans → PurchBookVATProcessLogTrans_RU

    Join on ProcessLogTransRecId = PurchBookVATProcessLogTrans_RU.RecId

    Many RestoredVATLogTrans_RU records → exactly one PurchBookVATProcessLogTrans_RU record

  • VendInvoiceTrans → VendTrans

    Join on InvoiceRecId = VendTrans.RecId

    Many RestoredVATLogTrans_RU records → exactly one VendTrans record

  • VendTable → VendTable

    Join on AccountNum = VendTable.AccountNum

    Many RestoredVATLogTrans_RU records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk