Table

PurchBookVATProcessLogTrans_RU

VAT processing journal's specification

Holds the specification lines of the VAT processing log, used for Russia. Each line records a vendor facture, its dates, the transaction type and the settlement it relates to. It links to vendor transactions, vendor settlements, the facture journal and purchase book lines.

Table name
PurchBookVATProcessLogTrans_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 (29)

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
CorrectedFactureIdSystem identifier of the facture that was corrected.String (50)
FactureId_RU
NoNone
CorrectedPeriodDate of the period that was corrected.Date
PurchBookCorrectedPeriod_RU
NoNone
CountryGTDText listing customs declaration numbers and the origin country.String (1260)
Str1260
NoNone
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 for the facture.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, linked to the facture journal.String (50)
FactureId_RU
NoNone
InvoiceCompanyCompany (legal entity) that holds the invoice.String
CompanyId
NoNone
InvoiceRecIdRefSystem record ID of the related invoice transaction.Int64
RefRecId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentCompanyCompany (legal entity) that holds the payment.String
CompanyId
NoNone
PaymentDateDate the payment was made.Date
PaymTransDate_RU
NoNone
PaymentRecIdRefSystem record ID of the related purchase book line for the payment.Int64
RefRecId
NoNone
ProcessingTypeKind of operation: standard, or VAT 0% confirmation.Enum
PurchBookProcessingType_RU (enum)
NoNone
PurchBookTransDateDate the line was checked for the purchase book.Date
PurchBookTransDate_RU
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
RefTableIdID of the table that the reference record belongs to.Integer
RefTableId
NoNone
ReversedYes/No flag showing whether the line was cancelled.Enum
Cancelled
NoYes (enum)
NoNone
ReverseDateDate of the reversal.Date
TransDate
NoNone
ReverseSettlementRecIdPoints to the vendor settlement used for the reversal.Int64
RefRecId
NoVendSettlement.RecIdNone
SettlementDateDate of the settlement.Date
TransDate
NoNone
SettlementRecIdPoints to the vendor settlement record.Int64
RefRecId
NoVendSettlement.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransTypeType of transaction, such as invoice, payment, credit note or return.Enum
SalesPurchBookTransType_RU (enum)
NoNone

Indexes (3)

Relations (10)

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

  • CustInvoiceTrans → CustTrans

    Join on InvoiceRecIdRef = CustTrans.RecId, RefTableId = CustTrans.TableId, InvoiceCompany = CustTrans.dataAreaId

    Many PurchBookVATProcessLogTrans_RU records → zero or one CustTrans record

  • DataArea_Invoice → DataArea

    Join on InvoiceCompany = DataArea.id, DataArea.isVirtual = null

    Many PurchBookVATProcessLogTrans_RU records → zero or one DataArea record

  • DataArea_Payment → DataArea

    Join on PaymentCompany = DataArea.id, DataArea.isVirtual = null

    Many PurchBookVATProcessLogTrans_RU records → zero or one DataArea record

  • FactureJour → FactureJour_RU

    Join on FactureId = FactureJour_RU.FactureId

    Many PurchBookVATProcessLogTrans_RU records → zero or one FactureJour_RU record

  • FactureJour_Corrected → FactureJour_RU

    Join on CorrectedFactureId = FactureJour_RU.FactureId

    Many PurchBookVATProcessLogTrans_RU records → zero or one FactureJour_RU record

  • PurchBookTrans → PurchBookTrans_RU

    Join on PaymentRecIdRef = PurchBookTrans_RU.PaymentRecIdRef, InvoiceRecIdRef = PurchBookTrans_RU.InvoiceRecIdRef, RefTableId = PurchBookTrans_RU.RefTableId, FactureId = PurchBookTrans_RU.FactureId, InvoiceCompany = PurchBookTrans_RU.InvoiceCompany, PaymentCompany = PurchBookTrans_RU.PaymentCompany

    Many PurchBookVATProcessLogTrans_RU records → zero or one PurchBookTrans_RU record

  • VendInvoiceTrans → VendTrans

    Join on InvoiceRecIdRef = VendTrans.RecId, RefTableId = VendTrans.TableId, InvoiceCompany = VendTrans.dataAreaId

    Many PurchBookVATProcessLogTrans_RU records → zero or one VendTrans record

  • VendSettlement → VendSettlement

    Join on SettlementRecId = VendSettlement.RecId

    Many PurchBookVATProcessLogTrans_RU records → zero or one VendSettlement record

  • VendSettlementReverse → VendSettlement

    Join on ReverseSettlementRecId = VendSettlement.RecId

    Many PurchBookVATProcessLogTrans_RU records → zero or one VendSettlement record

  • VendTable → VendTable

    Join on AccountNum = VendTable.AccountNum

    Many PurchBookVATProcessLogTrans_RU records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk