Table

SalesBookVATProcessLogTrans_RU

VAT processing journal's specification

Detail lines of the VAT processing journal, used for Russia. Each line relates to a facture, a customer, and an invoice or payment settlement. It records the type of operation, such as VAT restoration or VAT 0% handling.

Table name
SalesBookVATProcessLogTrans_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 (30)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNameName of the customer.String (160)
CustName
NoNone
AccountNumCustomer account.String (20)
CustAccount
NoCustTable.AccountNumNone
ConfirmationDateDate the sale was confirmed.Date
SalesConfirmationDate_RU
NoNone
CountryGTDCustoms declaration numbers.String (60)
CountryGTD_RU
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExpirationDateExpiration date linked to the sale.Date
SalesExpirationDate_RU
NoNone
ExportDateDate of the export.Date
SalesExportDate_RU
NoNone
FacturedAmountsContainer of the amounts recorded in the books.Container
BookAmounts_RU
NoNone
FactureDateDate the facture was registered.Date
FactureDate_RU
NoNone
FactureExternalIdExternal number of the facture.String (30)
FactureExternalId_RU
NoNone
FactureIdSystem identifier of the facture.String (50)
FactureId_RU
NoNone
InvoiceCompanyCompany (legal entity) of the invoice.String
CompanyId
NoNone
InvoiceRecIdRefSystem record ID of the related invoice transaction.Int64
RefRecId
NoNone
PackageDatePackage date linked to the sale.Date
SalesPackageDate_RU
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) of the payment.String
CompanyId
NoNone
PaymentDateDate of the payment.Date
PaymTransDate_RU
NoNone
PaymentRecIdRefSystem record ID of the related sales book line for the payment.Int64
RefRecId
NoNone
ProcessingTypeType of operation, such as VAT restoration or VAT 0% with or without confirmation.Enum
SalesBookProcessingType_RU (enum)
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 points to.low confidenceInteger
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 customer settlement used for the reversal.Int64
RefRecId
NoCustSettlement.RecIdNone
SalesBookTransDateCheck date of the sales book line.Date
SalesBookTransDate_RU
NoNone
SettlementDateDate of the settlement.Date
TransDate
NoNone
SettlementRecIdPoints to the customer settlement.Int64
RefRecId
NoCustSettlement.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransTypeType of transaction, such as invoice, credit note or payment.Enum
SalesPurchBookTransType_RU (enum)
NoNone

Indexes (3)

Relations (9)

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

  • CustInvoiceTrans → CustTrans

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

    Many SalesBookVATProcessLogTrans_RU records → zero or one CustTrans record

  • CustSettlement → CustSettlement

    Join on SettlementRecId = CustSettlement.RecId

    Many SalesBookVATProcessLogTrans_RU records → zero or one CustSettlement record

  • CustSettlementReverse → CustSettlement

    Join on ReverseSettlementRecId = CustSettlement.RecId

    Many SalesBookVATProcessLogTrans_RU records → zero or one CustSettlement record

  • CustTable → CustTable

    Join on AccountNum = CustTable.AccountNum

    Many SalesBookVATProcessLogTrans_RU records → zero or one CustTable record

  • DataArea_Invoice → DataArea

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

    Many SalesBookVATProcessLogTrans_RU records → zero or one DataArea record

  • DataArea_Payment → DataArea

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

    Many SalesBookVATProcessLogTrans_RU records → zero or one DataArea record

  • FactureJour_RU → FactureJour_RU

    Join on FactureId = FactureJour_RU.FactureId

    Many SalesBookVATProcessLogTrans_RU records → zero or one FactureJour_RU record

  • SalesBookTrans_RU → SalesBookTrans_RU

    Join on PaymentCompany = SalesBookTrans_RU.PaymentCompany, FactureId = SalesBookTrans_RU.FactureId, PaymentRecIdRef = SalesBookTrans_RU.PaymentRecIdRef, RefTableId = SalesBookTrans_RU.RefTableId

    Many SalesBookVATProcessLogTrans_RU records → zero or one SalesBookTrans_RU record

  • VendInvoiceTrans → VendTrans

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

    Many SalesBookVATProcessLogTrans_RU records → zero or one VendTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk