Table

FactureJourHeader_RU

Facture - miscellaneous

Holds extra header details for a facture, used for Russia, with one record per facture. It stores the name, address, INN and KPP of the company, consignee, consignor and counterparty. It links to the facture and to customer, vendor, address book and separate division records.

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

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
FactureJourRefPoints to the facture that these details belong to.Int64
RefRecId
NoFactureJour_RU.RecIdNone
AgencyAgreementKind of commission agreement: none, purchase by commissioner or sale by commissioner.Enum
AgencyAgreement_RU (enum)
NoNone
BuyerCustomer account of the buyer.String (20)
CustAccount
NoCustTable.AccountNumNone
CompanyAddressAddress of the company.String (250)
Addressing
NoNone
CompanyINNINN tax number of the company.String (12)
INN_RU
NoNone
CompanyKPPRegistry reason code (KPP) of the company.String (9)
KPPU_RU
NoNone
CompanyNameName of the company.String (60)
Name
NoNone
CompanyPartyAddress book record for the company.Int64
DirPartyRecId
NoDirPartyTable.RecIdNone
ConsigneeAccountCustomer account of the consignee.String (20)
CustAccountConsignee_RU
NoCustTable.AccountNumNone
ConsigneeAddressAddress of the consignee.String (250)
Addressing
NoNone
ConsigneeINNINN tax number of the consignee.String (12)
INN_RU
NoNone
ConsigneeKPPRegistry reason code (KPP) of the consignee.String (9)
KPPU_RU
NoNone
ConsigneeNameName of the consignee.String (60)
Name
NoNone
ConsigneePartyAddress book record for the consignee.Int64
DirPartyRecId
NoDirPartyTable.RecIdNone
ConsignorAccountVendor account of the shipper.String (20)
VendAccountConsignor_RU
NoVendTable.AccountNumNone
ConsignorAddressAddress of the consignor.String (250)
Addressing
NoNone
ConsignorINNINN tax number of the consignor.String (12)
INN_RU
NoNone
ConsignorKPPRegistry reason code (KPP) of the consignor.String (9)
KPPU_RU
NoNone
ConsignorNameName of the consignor.String (60)
Name
NoNone
ConsignorPartyAddress book record for the consignor.Int64
DirPartyRecId
NoDirPartyTable.RecIdNone
ContragentAddressAddress of the counterparty.String (250)
Addressing
NoNone
ContragentINNINN tax number of the counterparty.String (12)
INN_RU
NoNone
ContragentKPPRegistry reason code (KPP) of the counterparty.String (9)
KPPU_RU
NoNone
ContragentNameName of the counterparty.String (60)
Name
NoNone
ContragentPartyAddress book record for the counterparty.Int64
DirPartyRecId
NoDirPartyTable.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SellerVendor account of the seller.String (20)
VendAccount
NoVendTable.AccountNumNone
SeparateDivisionIdSeparate division, pointing to a branch record.String (20)
SeparateDivisionId_RU
NoBranches_RU.BranchIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (10)

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

  • Branches_RU → Branches_RU

    Join on SeparateDivisionId = Branches_RU.BranchId

    Many FactureJourHeader_RU records → zero or one Branches_RU record

  • CustTable → CustTable

    Join on Buyer = CustTable.AccountNum

    Many FactureJourHeader_RU records → exactly one CustTable record

  • CustTableConsignee → CustTable

    Join on ConsigneeAccount = CustTable.AccountNum

    Many FactureJourHeader_RU records → exactly one CustTable record

  • FactureJour → FactureJour_RU

    Join on FactureJourRef = FactureJour_RU.RecId

    Zero or one FactureJourHeader_RU record → zero or one FactureJour_RU record

  • VendTable → VendTable

    Join on Seller = VendTable.AccountNum

    Many FactureJourHeader_RU records → exactly one VendTable record

  • VendTableConsignor → VendTable

    Join on ConsignorAccount = VendTable.AccountNum

    Many FactureJourHeader_RU records → exactly one VendTable record

  • DirPartyCompany → DirPartyTable

    Join on CompanyParty = DirPartyTable.RecId

    Many FactureJourHeader_RU records → zero or one DirPartyTable record

  • DirPartyConsignee → DirPartyTable

    Join on ConsigneeParty = DirPartyTable.RecId

    Many FactureJourHeader_RU records → zero or one DirPartyTable record

  • DirPartyConsignor → DirPartyTable

    Join on ConsignorParty = DirPartyTable.RecId

    Many FactureJourHeader_RU records → zero or one DirPartyTable record

  • DirPartyContragent → DirPartyTable

    Join on ContragentParty = DirPartyTable.RecId

    Many FactureJourHeader_RU records → zero or one DirPartyTable record

Get this data out

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

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

Email sales@drdynamics.co.uk