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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNameName of the vendor. | String (160)VendName | No | None | |
AccountNumVendor account, pointing to the vendor record. | String (20)VendAccount | No | VendTable.AccountNum | None |
CorrectedFactureIdSystem identifier of the facture that was corrected. | String (50)FactureId_RU | No | None | |
CorrectedPeriodDate of the period that was corrected. | DatePurchBookCorrectedPeriod_RU | No | None | |
CountryGTDText listing customs declaration numbers and the origin country. | String (1260)Str1260 | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryDateDate the goods or services were delivered. | DateTransDate | No | None | |
FacturedAmountsContainer holding the book amounts for the facture. | ContainerBookAmounts_RU | No | None | |
FactureDateDate the facture was registered. | DateFactureDate_RU | No | None | |
FactureExternalIdFacture number as shown on the external document. | String (30)FactureExternalId_RU | No | None | |
FactureIdSystem identifier of the facture, linked to the facture journal. | String (50)FactureId_RU | No | None | |
InvoiceCompanyCompany (legal entity) that holds the invoice. | StringCompanyId | No | None | |
InvoiceRecIdRefSystem record ID of the related invoice transaction. | Int64RefRecId | 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) that holds the payment. | StringCompanyId | No | None | |
PaymentDateDate the payment was made. | DatePaymTransDate_RU | No | None | |
PaymentRecIdRefSystem record ID of the related purchase book line for the payment. | Int64RefRecId | No | None | |
ProcessingTypeKind of operation: standard, or VAT 0% confirmation. | EnumPurchBookProcessingType_RU (enum) | No | None | |
PurchBookTransDateDate the line was checked for the purchase book. | DatePurchBookTransDate_RU | 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 record belongs to. | 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 vendor settlement used for the reversal. | Int64RefRecId | No | VendSettlement.RecId | None |
SettlementDateDate of the settlement. | DateTransDate | No | None | |
SettlementRecIdPoints to the vendor settlement record. | Int64RefRecId | No | VendSettlement.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransTypeType of transaction, such as invoice, payment, credit note or return. | EnumSalesPurchBookTransType_RU (enum) | No | None |
Indexes (3)
VendorNumIdxNot unique.
FactureIdxNot unique.
SettlementInvoiceRecIdRef,FactureId,PaymentRecIdRef,SettlementRecId,SettlementDate,CorrectedPeriod,CorrectedFactureId,InvoiceCompany,PaymentCompanyUnique, alternate key.
Relations (10)
Each relation joins PurchBookVATProcessLogTrans_RU to another table on the fields shown.
CustInvoiceTrans→CustTransJoin on
InvoiceRecIdRef = CustTrans.RecId,RefTableId = CustTrans.TableId,InvoiceCompany = CustTrans.dataAreaIdMany PurchBookVATProcessLogTrans_RU records → zero or one CustTrans record
DataArea_Invoice→DataAreaJoin on
InvoiceCompany = DataArea.id,DataArea.isVirtual = nullMany PurchBookVATProcessLogTrans_RU records → zero or one DataArea record
DataArea_Payment→DataAreaJoin on
PaymentCompany = DataArea.id,DataArea.isVirtual = nullMany PurchBookVATProcessLogTrans_RU records → zero or one DataArea record
FactureJour→FactureJour_RUJoin on
FactureId = FactureJour_RU.FactureIdMany PurchBookVATProcessLogTrans_RU records → zero or one FactureJour_RU record
FactureJour_Corrected→FactureJour_RUJoin on
CorrectedFactureId = FactureJour_RU.FactureIdMany PurchBookVATProcessLogTrans_RU records → zero or one FactureJour_RU record
PurchBookTrans→PurchBookTrans_RUJoin on
PaymentRecIdRef = PurchBookTrans_RU.PaymentRecIdRef,InvoiceRecIdRef = PurchBookTrans_RU.InvoiceRecIdRef,RefTableId = PurchBookTrans_RU.RefTableId,FactureId = PurchBookTrans_RU.FactureId,InvoiceCompany = PurchBookTrans_RU.InvoiceCompany,PaymentCompany = PurchBookTrans_RU.PaymentCompanyMany PurchBookVATProcessLogTrans_RU records → zero or one PurchBookTrans_RU record
VendInvoiceTrans→VendTransJoin on
InvoiceRecIdRef = VendTrans.RecId,RefTableId = VendTrans.TableId,InvoiceCompany = VendTrans.dataAreaIdMany PurchBookVATProcessLogTrans_RU records → zero or one VendTrans record
VendSettlement→VendSettlementJoin on
SettlementRecId = VendSettlement.RecIdMany PurchBookVATProcessLogTrans_RU records → zero or one VendSettlement record
VendSettlementReverse→VendSettlementJoin on
ReverseSettlementRecId = VendSettlement.RecIdMany PurchBookVATProcessLogTrans_RU records → zero or one VendSettlement record
VendTable→VendTableJoin on
AccountNum = VendTable.AccountNumMany 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.