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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustInvoiceTransRecIdPoints to the customer invoice line. | Int64RefRecId | No | CustInvoiceTrans.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionFinancial dimension set for the link. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
InventTransIdLot ID that links to the inventory transaction origin. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessLogTransRecIdPoints to the specification line of the VAT processing log. | Int64PurchBookLogTransRefRecId_RU | No | PurchBookVATProcessLogTrans_RU.RecId | 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 | |
SettledQtyQuantity that has been settled. | RealInventQtySettled | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxCodeSales tax code, pointing to the tax code record. | StringTaxCode | No | TaxTable.TaxCode | None |
TransDateDate of the entry, related to the VAT restoring operations. | DateTransDate | No | None |
Indexes (3)
TaxDimInventIdxTransDate,TaxCode,DefaultDimension,InventTransId,ProcessLogTransRecIdNot unique.
TransRecIdNot unique.
DefaultDimensionIdxNot unique.
Relations (6)
Each relation joins RestoredVATLogTransOperLink_RU to another table on the fields shown.
CustInvoiceTrans→CustInvoiceTransJoin on
CustInvoiceTransRecId = CustInvoiceTrans.RecIdMany RestoredVATLogTransOperLink_RU records → exactly one CustInvoiceTrans record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany RestoredVATLogTransOperLink_RU records → zero or one DimensionAttributeValueSet record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany RestoredVATLogTransOperLink_RU records → exactly one InventTransOrigin record
PurchBookVATProcessLogTrans→PurchBookVATProcessLogTrans_RUJoin on
ProcessLogTransRecId = PurchBookVATProcessLogTrans_RU.RecIdMany RestoredVATLogTransOperLink_RU records → exactly one PurchBookVATProcessLogTrans_RU record
RestoredVATLogTransOper→RestoredVATLogTransOper_RUJoin on
TransDate = RestoredVATLogTransOper_RU.TransDate,TaxCode = RestoredVATLogTransOper_RU.TaxCode,DefaultDimension = RestoredVATLogTransOper_RU.DefaultDimension,InventTransId = RestoredVATLogTransOper_RU.InventTransId,ProcessLogTransRecId = RestoredVATLogTransOper_RU.ProcessLogTransRecIdZero or one RestoredVATLogTransOperLink_RU record → exactly one RestoredVATLogTransOper_RU record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany 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.