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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNameName of the customer. | String (160)CustName | No | None | |
AccountNumCustomer account. | String (20)CustAccount | No | CustTable.AccountNum | None |
ConfirmationDateDate the sale was confirmed. | DateSalesConfirmationDate_RU | No | None | |
CountryGTDCustoms declaration numbers. | String (60)CountryGTD_RU | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpirationDateExpiration date linked to the sale. | DateSalesExpirationDate_RU | No | None | |
ExportDateDate of the export. | DateSalesExportDate_RU | No | None | |
FacturedAmountsContainer of the amounts recorded in the books. | ContainerBookAmounts_RU | No | None | |
FactureDateDate the facture was registered. | DateFactureDate_RU | No | None | |
FactureExternalIdExternal number of the facture. | String (30)FactureExternalId_RU | No | None | |
FactureIdSystem identifier of the facture. | String (50)FactureId_RU | No | None | |
InvoiceCompanyCompany (legal entity) of the invoice. | StringCompanyId | No | None | |
InvoiceRecIdRefSystem record ID of the related invoice transaction. | Int64RefRecId | No | None | |
PackageDatePackage date linked to the sale. | DateSalesPackageDate_RU | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentCompanyCompany (legal entity) of the payment. | StringCompanyId | No | None | |
PaymentDateDate of the payment. | DatePaymTransDate_RU | No | None | |
PaymentRecIdRefSystem record ID of the related sales book line for the payment. | Int64RefRecId | No | None | |
ProcessingTypeType of operation, such as VAT restoration or VAT 0% with or without confirmation. | EnumSalesBookProcessingType_RU (enum) | No | 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 | |
RefTableIdID of the table that the reference points to.low confidence | IntegerRefTableId | No | None | |
ReversedYes/No flag showing whether the line was cancelled. | EnumCancelledNoYes (enum) | No | None | |
ReverseDateDate of the reversal. | DateTransDate | No | None | |
ReverseSettlementRecIdPoints to the customer settlement used for the reversal. | Int64RefRecId | No | CustSettlement.RecId | None |
SalesBookTransDateCheck date of the sales book line. | DateSalesBookTransDate_RU | No | None | |
SettlementDateDate of the settlement. | DateTransDate | No | None | |
SettlementRecIdPoints to the customer settlement. | Int64RefRecId | No | CustSettlement.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransTypeType of transaction, such as invoice, credit note or payment. | EnumSalesPurchBookTransType_RU (enum) | No | None |
Indexes (3)
CustomerNumIdxNot unique.
FactureIdxNot unique.
SettlementIdxInvoiceRecIdRef,FactureId,PaymentRecIdRef,SettlementRecId,SettlementDate,ProcessingTypeUnique, alternate key.
Relations (9)
Each relation joins SalesBookVATProcessLogTrans_RU to another table on the fields shown.
CustInvoiceTrans→CustTransJoin on
InvoiceRecIdRef = CustTrans.RecId,RefTableId = CustTrans.TableId,InvoiceCompany = CustTrans.dataAreaIdMany SalesBookVATProcessLogTrans_RU records → zero or one CustTrans record
CustSettlement→CustSettlementJoin on
SettlementRecId = CustSettlement.RecIdMany SalesBookVATProcessLogTrans_RU records → zero or one CustSettlement record
CustSettlementReverse→CustSettlementJoin on
ReverseSettlementRecId = CustSettlement.RecIdMany SalesBookVATProcessLogTrans_RU records → zero or one CustSettlement record
CustTable→CustTableJoin on
AccountNum = CustTable.AccountNumMany SalesBookVATProcessLogTrans_RU records → zero or one CustTable record
DataArea_Invoice→DataAreaJoin on
InvoiceCompany = DataArea.id,DataArea.isVirtual = nullMany SalesBookVATProcessLogTrans_RU records → zero or one DataArea record
DataArea_Payment→DataAreaJoin on
PaymentCompany = DataArea.id,DataArea.isVirtual = nullMany SalesBookVATProcessLogTrans_RU records → zero or one DataArea record
FactureJour_RU→FactureJour_RUJoin on
FactureId = FactureJour_RU.FactureIdMany SalesBookVATProcessLogTrans_RU records → zero or one FactureJour_RU record
SalesBookTrans_RU→SalesBookTrans_RUJoin on
PaymentCompany = SalesBookTrans_RU.PaymentCompany,FactureId = SalesBookTrans_RU.FactureId,PaymentRecIdRef = SalesBookTrans_RU.PaymentRecIdRef,RefTableId = SalesBookTrans_RU.RefTableIdMany SalesBookVATProcessLogTrans_RU records → zero or one SalesBookTrans_RU record
VendInvoiceTrans→VendTransJoin on
InvoiceRecIdRef = VendTrans.RecId,RefTableId = VendTrans.TableId,InvoiceCompany = VendTrans.dataAreaIdMany 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.