Table

RestoredVATLogTransOperLink_RU

VAT restoring operation links

Links VAT restoring operations to customer invoice lines, used for Russia. Each record has a settled quantity, tax code, lot ID and dimension set. It points to customer invoice lines, inventory transaction origins and the VAT processing log.

Table name
RestoredVATLogTransOperLink_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 (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CustInvoiceTransRecIdPoints to the customer invoice line.Int64
RefRecId
NoCustInvoiceTrans.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionFinancial dimension set for the link.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
InventTransIdLot ID that links to the inventory transaction origin.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
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
SettledQtyQuantity that has been settled.Real
InventQtySettled
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxCodeSales tax code, pointing to the tax code record.String
TaxCode
NoTaxTable.TaxCodeNone
TransDateDate of the entry, related to the VAT restoring operations.Date
TransDate
NoNone

Indexes (3)

Relations (6)

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

  • CustInvoiceTrans → CustInvoiceTrans

    Join on CustInvoiceTransRecId = CustInvoiceTrans.RecId

    Many RestoredVATLogTransOperLink_RU records → exactly one CustInvoiceTrans record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many RestoredVATLogTransOperLink_RU records → zero or one DimensionAttributeValueSet record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many RestoredVATLogTransOperLink_RU records → exactly one InventTransOrigin record

  • PurchBookVATProcessLogTrans → PurchBookVATProcessLogTrans_RU

    Join on ProcessLogTransRecId = PurchBookVATProcessLogTrans_RU.RecId

    Many RestoredVATLogTransOperLink_RU records → exactly one PurchBookVATProcessLogTrans_RU record

  • RestoredVATLogTransOper → RestoredVATLogTransOper_RU

    Join on TransDate = RestoredVATLogTransOper_RU.TransDate, TaxCode = RestoredVATLogTransOper_RU.TaxCode, DefaultDimension = RestoredVATLogTransOper_RU.DefaultDimension, InventTransId = RestoredVATLogTransOper_RU.InventTransId, ProcessLogTransRecId = RestoredVATLogTransOper_RU.ProcessLogTransRecId

    Zero or one RestoredVATLogTransOperLink_RU record → exactly one RestoredVATLogTransOper_RU record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many RestoredVATLogTransOperLink_RU records → exactly one TaxTable record

Get this data out

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

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

Email sales@drdynamics.co.uk