Table

FactureJour_RU

Facture

Holds facture headers, used for Russia. A facture is a tax document for sales or purchases, and each record has a number, dates, amounts, a source module and a type. Records link to customers, vendors, currencies and other factures for corrections and revisions.

Table name
FactureJour_RU
Module
Sales and purchase books (Russia)
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (78)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountAdjustmentFlag showing that the facture is for an amount difference.Enum
FactureAmountAdjustment_RU
NoYes (enum)
NoNone
CommPartnerAccount number of the commission partner, a customer or vendor.String (20)
CustVendAC
NoNone
ConfirmationDateDate of confirmation.Date
SalesConfirmationDate_RU
NoNone
ConsigneeCustomer account of the consignee.String (20)
CustAccountConsignee_RU
NoCustTable.AccountNumNone
ConsignorVendor account of the shipper.String (20)
VendAccountConsignor_RU
NoVendTable.AccountNumNone
CorrectedFactureDateDate of the facture that is corrected.Date
FactureDate_RU
NoNone
CorrectedFactureExternalIdExternal number of the facture that is corrected.String (30)
FactureExternalId_RU
NoNone
CorrectedPeriodDate of the period that the correction applies to.Date
TransDate
NoNone
CorrectionTypeKind of correction: none, correction or revision.Enum
FactureCorrectionType_RU (enum)
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency code of the facture.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
CustVendInvoiceAccountInvoice account of the customer, vendor or employee.String (20)
CustVendAC
NoCustTable.AccountNumEmployeeTable_RU.EmployeeIdVendTable.AccountNumNone
CustVendTransRecIdRecord ID of the related customer or vendor transaction.Int64
RefRecId
NoNone
CustVendTransTableIdTable ID that goes with the related transaction record ID.Integer
RefTableId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryInfoNoPrintFlag to leave delivery information off the printout.Enum
DeliveryInfoNoPrint_RU
NoYes (enum)
NoNone
DeliveryPostalAddressPostal address record used for delivery.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
DocumentDateDate of the document.Date
DocumentDate
NoNone
DocumentNumNumber of the document.String (20)
DocumentNum
NoNone
ExchAdjInvoiceRecIdCustomer or vendor transaction linked to an exchange adjustment.Int64
RefRecId
NoCustTrans.RecIdVendTrans.RecIdNone
ExportDateDate the facture was exported.Date
SalesExportDate_RU
NoNone
ExportProcessingFlag showing that the facture is put into processing for export.Enum
NoYesId
NoYes (enum)
NoNone
FactureAmountTotal amount of the facture.Real
FactureAmount_RU
NoNone
FactureAmountDisplayTotal amount of the facture, shown for display.Real
FactureAmount_RU
NoNone
FactureDateDate the facture was registered.Date
FactureDate_RU
YesNone
FactureDate_ExternalDate shown on the external facture.Date
FactureDate_External_RU
NoNone
FactureExternalIdExternal number of the facture.String (30)
FactureExternalId_RU
NoNone
FactureIdSystem identifier of the facture.String (50)
FactureId_RU
YesFactureJour_RU.FactureIdNone
FactureReportDateDate used for reporting the facture.Date
FactureReportDate_RU
NoNone
FactureTaxSales tax amount of the facture.Real
FactureTax_RU
NoNone
FactureTaxDisplaySales tax amount of the facture, shown for display.Real
FactureTax_RU
NoNone
FactureTypeSource of the facture, such as invoice, prepayment, advance report or tax correction.Enum
FactureType_RU (enum)
NoNone
FineCalculationDateDate used to calculate a fine.Date
SalesExportFineCalcDate_RU
NoNone
HeaderRevisionPurpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
InventOwnerIdInventory owner linked to the facture.String (40)
InventOwnerId_RU
NoInventOwner_RU.InventOwnerIdNone
InventProfileTypeKind of activity, such as basic, commission agent, principal's agent or bailee.Enum
InventProfileType_RU (enum)
NoNone
JointCorrectionFlag showing that the correction is consolidated.Enum
FactureJointCorrection_RU
NoYes (enum)
NoNone
LanguageIdLanguage code used for the facture.String (7)
LanguageId
NoLanguageTable.LanguageIdNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ModuleModule the facture comes from, such as customer, vendor or advance report.Enum
FactureModule_RU (enum)
NoFactureJour_RU.ModuleNone
NumberSequenceGroupIdNumber sequence group linked to the facture.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdNone
OffSessionIdIdentifier of the official session in the officials report lines.String (20)
OffSessionId_RU
NoNone
OperationTypeCodesOperation codes of the facture.String (8)
FactureOperationTypeCodes_RU
NoOperationTypeList_RU.CodeNone
OrigFactureExternalIdDisplayExternal number of the original facture, shown for display.String (30)
FactureExternalId_RU
NoNone
OrigRevisionNumDisplayRevision number of the original facture, shown for display.Integer
RevisionNum_RU
NoNone
PackageDateDate of the package.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
PaymentOrderNumNumber of the payment order.String (20)
BankPaymentOrderBase_RU
NoNone
PaymentRecIDCustomer transaction record for the payment.Int64
PaymentRefRecId_RU
NoCustTrans.RecIdNone
PaymentTransDateDate of the payment order.Date
TransDate
NoNone
PostingLogRecIdPoints to the posting log record for customer and vendor transactions.Int64
RefRecId
NoCustVendTransPostingLog_RU.RecIdNone
PrepaymTaxCorrectionPurpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
PrintInMSTFlag to print amounts in the national currency.Enum
PrintInMST_RU
NoYes (enum)
NoNone
ProcessingTypeOperation type for the sales book, such as VAT 0%, unconfirmed VAT 0% or overdue confirmation.Enum
SalesBookFactureProcessingType_RU (enum)
NoNone
ProcessVATFlag showing whether VAT is processed.Enum
FacturePostProcessVAT
NoYes (enum)
NoNone
PurchBookVATProcessParametersRecIdVAT operation code, pointing to a VAT process parameters record.Int64
PurchBookVATProcessParametersRecId_RU
NoPurchBookVATProcessParameters_RU.RecIdNone
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
RefCommReportTransPoints to the report line on prepayment for the principal.Int64
RefRecId
NoCommReportTransPrepayment_RU.RecIdNone
RefLastCorrFacturePoints to the latest correcting facture.Int64
RefRecId
NoFactureJour_RU.RecIdNone
RefOriginalFacturePoints to the original facture.Int64
RefRecId
NoFactureJour_RU.RecIdNone
RefRevisedFacturePoints to the revised facture.Int64
RefRecId
NoFactureJour_RU.RecIdNone
ReversedFlag showing that the facture is cancelled.Enum
Cancelled
NoYes (enum)
NoNone
ReverseDateDate of the cancellation.Date
TransDate
NoNone
RevisedFlag showing that the facture has been revised.Enum
FactureRevised_RU
NoYes (enum)
NoNone
RevisionNumRevision number of the facture.Integer
RevisionNum_RU
NoNone
SeqNumberCounter value for the facture.Integer
Counter
NoNone
SettlementDateDate of the settlement.Date
TransDate
NoNone
SettlementRecIdPoints to the customer settlement record.Int64
SettlementRefRecId_RU
NoCustSettlement.RecIdNone
SourceExportFactureDateRegistration date of the source facture for export.Date
FactureDate_RU
NoNone
SourceExportFactureIdSystem identifier of the source facture for export.String (50)
FactureId_RU
NoNone
SourceExportFactureIdExtExternal number of the export facture.String (30)
FactureExternalId_RU
NoNone
StatusChangeDateDate of the latest status change.Date
SalesConfirmationDate_RU
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UseOriginalDocumentAsFactureFlag to use the original document number as the facture number.Enum
UseOriginalDocumentAsFacture_RU
NoYes (enum)
NoNone
VATOnPaymentFlag showing that VAT applies on payment.Enum
VATOnPayment_RU
NoYes (enum)
NoNone
VATTaxAgentFlag showing that a tax agent is involved.Enum
NoYes (enum)
NoNone
VoucherVoucher number linked to the facture.String (20)
Voucher
NoNone

Indexes (14)

Relations (36)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many FactureJour_RU records → exactly one Currency record

  • CustSettlement → CustSettlement

    Join on SettlementRecId = CustSettlement.RecId

    Many FactureJour_RU records → zero or one CustSettlement record

  • CustTable → CustTable

    Join on CustVendInvoiceAccount = CustTable.AccountNum, Module = FactureModule_RU::Cust

    Many FactureJour_RU records → zero or one CustTable record

  • CustTable_Consignee → CustTable

    Join on Consignee = CustTable.AccountNum

    Many FactureJour_RU records → zero or one CustTable record

  • CustTable_TaxCorrection → CustTable

    Join on CustVendInvoiceAccount = CustTable.AccountNum, Module = FactureModule_RU::TaxCorrectionSales

    Many FactureJour_RU records → zero or one CustTable record

  • CustTable_TaxCorrection_Purch → CustTable

    Join on CustVendInvoiceAccount = CustTable.AccountNum, Module = FactureModule_RU::TaxCorrectionPurch_Cust

    Many FactureJour_RU records → zero or one CustTable record

  • CustTrans → CustTrans

    Join on CustVendTransRecId = CustTrans.RecId, CustVendTransTableId = CustTrans.TableId, FactureType = FactureType_RU::AmoutDifference

    Many FactureJour_RU records → zero or one CustTrans record

  • CustTrans_AdvAdj → CustTrans

    Join on CustVendTransRecId = CustTrans.RecId, CustVendTransTableId = CustTrans.TableId, FactureType = FactureType_RU::AdvanceAdjustment

    Many FactureJour_RU records → zero or one CustTrans record

  • CustTrans_ExchAdj → CustTrans

    Join on CustVendTransRecId = CustTrans.RecId, CustVendTransTableId = CustTrans.TableId, FactureType = FactureType_RU::ExchAdj

    Many FactureJour_RU records → zero or one CustTrans record

  • CustTrans_ExchDiffInvoice → CustTrans

    Join on ExchAdjInvoiceRecId = CustTrans.RecId, Module = FactureModule_RU::Cust, FactureType = FactureType_RU::ExchAdj, AmountAdjustment = NoYes::Yes

    Zero or one FactureJour_RU record → zero or one CustTrans record

  • CustTrans_VATAdj → CustTrans

    Join on CustVendTransRecId = CustTrans.RecId, CustVendTransTableId = CustTrans.TableId, FactureType = FactureType_RU::VATAdjustment

    Many FactureJour_RU records → zero or one CustTrans record

  • CustTransPayment → CustTrans

    Join on PaymentRecID = CustTrans.RecId

    Many FactureJour_RU records → zero or one CustTrans record

  • CustVendTransPostingLog_RU → CustVendTransPostingLog_RU

    Join on PostingLogRecId = CustVendTransPostingLog_RU.RecId

    Many FactureJour_RU records → zero or one CustVendTransPostingLog_RU record

  • DeliveryPostalAddress_FK → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many FactureJour_RU records → zero or one LogisticsPostalAddress record

  • EmployeeTable_RU → EmployeeTable_RU

    Join on Module = FactureModule_RU::Empl, CustVendInvoiceAccount = EmployeeTable_RU.EmployeeId

    Many FactureJour_RU records → zero or one EmployeeTable_RU record

  • FactureJour_RU → FactureJour_RU

    Join on Module = FactureJour_RU.Module, FactureId = FactureJour_RU.FactureId

    Exactly one FactureJour_RU record → exactly one FactureJour_RU record

  • FactureJour_RU_Original → FactureJour_RU

    Join on RefOriginalFacture = FactureJour_RU.RecId

    Many FactureJour_RU records → zero or one FactureJour_RU record

  • FactureJour_RU_Revised → FactureJour_RU

    Join on RefRevisedFacture = FactureJour_RU.RecId

    Many FactureJour_RU records → zero or one FactureJour_RU record

  • FactureJour_SourceExport → FactureJour_RU

    Join on SourceExportFactureId = FactureJour_RU.FactureId

    Many FactureJour_RU records → zero or one FactureJour_RU record

  • FactureJourLastCorrection → FactureJour_RU

    Join on RefLastCorrFacture = FactureJour_RU.RecId

    Many FactureJour_RU records → zero or one FactureJour_RU record

  • FactureTrans_RU → FactureTrans_RU

    Join on FactureId = FactureTrans_RU.FactureId, Module = FactureTrans_RU.Module

    Zero or one FactureJour_RU record → zero or one FactureTrans_RU record

  • InventOwner_RU → InventOwner_RU

    Join on InventOwnerId = InventOwner_RU.InventOwnerId

    Many FactureJour_RU records → zero or one InventOwner_RU record

  • LanguageTable → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many FactureJour_RU records → zero or one LanguageTable record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroupId = NumberSequenceGroup.numberSequenceGroupId

    Many FactureJour_RU records → zero or one NumberSequenceGroup record

  • OfficialsTrans_RU → OfficialsTrans_RU

    Join on OffSessionId = OfficialsTrans_RU.OffSessionId

    Many FactureJour_RU records → zero or one OfficialsTrans_RU record

  • OperationTypeList_RU → OperationTypeList_RU

    Join on OperationTypeCodes = OperationTypeList_RU.Code

    Many FactureJour_RU records → exactly one OperationTypeList_RU record

  • PurchBookVATProcessParameters_RU → PurchBookVATProcessParameters_RU

    Join on PurchBookVATProcessParametersRecId = PurchBookVATProcessParameters_RU.RecId

    Many FactureJour_RU records → zero or one PurchBookVATProcessParameters_RU record

  • VendTable → VendTable

    Join on CustVendInvoiceAccount = VendTable.AccountNum, Module = FactureModule_RU::Vend

    Many FactureJour_RU records → zero or one VendTable record

  • VendTable_Consignor → VendTable

    Join on Consignor = VendTable.AccountNum

    Many FactureJour_RU records → zero or one VendTable record

  • VendTable_TaxCorrection → VendTable

    Join on CustVendInvoiceAccount = VendTable.AccountNum, Module = FactureModule_RU::TaxCorrectionPurch

    Many FactureJour_RU records → zero or one VendTable record

  • VendTable_TaxCorrection_Sales → VendTable

    Join on CustVendInvoiceAccount = VendTable.AccountNum, Module = FactureModule_RU::TaxCorrectionSales_Vend

    Many FactureJour_RU records → zero or one VendTable record

  • VendTrans → VendTrans

    Join on CustVendTransRecId = VendTrans.RecId, CustVendTransTableId = VendTrans.TableId, FactureType = FactureType_RU::AmoutDifference

    Many FactureJour_RU records → zero or one VendTrans record

  • VendTrans_AdvAdj → VendTrans

    Join on CustVendTransRecId = VendTrans.RecId, CustVendTransTableId = VendTrans.TableId, FactureType = FactureType_RU::AdvanceAdjustment

    Many FactureJour_RU records → zero or one VendTrans record

  • VendTrans_ExchAdj → VendTrans

    Join on CustVendTransRecId = VendTrans.RecId, CustVendTransTableId = VendTrans.TableId, FactureType = FactureType_RU::ExchAdj

    Many FactureJour_RU records → zero or one VendTrans record

  • VendTrans_ExchDiffInvoice → VendTrans

    Join on ExchAdjInvoiceRecId = VendTrans.RecId, Module = FactureModule_RU::Vend, FactureType = FactureType_RU::ExchAdj, AmountAdjustment = NoYes::Yes

    Zero or one FactureJour_RU record → zero or one VendTrans record

  • CommReportTransPrepayment_RU → CommReportTransPrepayment_RU

    Join on RefCommReportTrans = CommReportTransPrepayment_RU.RecId

    Many FactureJour_RU records → zero or one CommReportTransPrepayment_RU record

Get this data out

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

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

Email sales@drdynamics.co.uk