Table

VendInvoice4PaymJour_RU

Vendor invoice for payment journal

Journal of vendor invoices for payment, used for Russia. Each record is the header of one invoice for payment. It holds the vendor and invoice accounts, the linked purchase order, currency, exchange rates, amounts, due date and print settings. Related lines are in VendInvoice4PaymTrans_RU.

Table name
VendInvoice4PaymJour_RU
Module
Accounts payable
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (36)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CashDiscCodeCash discount code, pointing to a cash discount record.String
VendCashDiscCode
NoCashDisc.CashDiscCodeNone
CurrencyCodeCurrency of the invoice, pointing to a currency record.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension set for the invoice.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
DeliveryNameName used for the delivery.String (160)
VendName
NoNone
DeliveryPostalAddressDelivery address, pointing to a postal address record.Int64
RefRecId
NoLogisticsPostalAddress.RecIdNone
EndDiscDiscount amount for the whole order header, taken from the applicable trade agreements. Other discount types on the lines are not part of it.Real
PurchEndDiscAmount
NoNone
ExchRateExchange rate applied to the invoice.Real
VendExchRate
NoNone
ExchRateSecondarySecondary exchange rate applied to the invoice.Real
ExchrateSecondary
NoNone
FixedDueDateFixed due date of the invoice.Date
PurchFixedDueDate
NoNone
InternalInvoice4PaymIdInternal number of the invoice for payment.String (20)
PurchInternalInvoice4PaymId_RU
NoNone
Invoice4PaymAmountInvoice amount, in transaction currency.Real
AmountCur
NoNone
Invoice4PaymDateDate of the invoice for payment.Date
Invoice4PaymDate_RU
YesNone
Invoice4PaymDocNumInvoice number.String (20)
CustInvoice4PaymId_RU
NoNone
Invoice4PaymIdNumber of the invoice for payment.String (20)
VendInvoice4PaymId_RU
YesNone
InvoiceAccountVendor account that is invoiced, pointing to a vendor record.String (20)
VendInvoiceAccount
YesVendTable.AccountNumNone
LanguageIdLanguage code, pointing to a language record.String (7)
VendLanguageId
YesLanguageTable.LanguageIdNone
NumberSequenceGroupIdNumber sequence group, pointing to a number sequence group record.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdNone
OffSessionIdOfficial session ID, relating to officials report lines.String (20)
OffSessionId_RU
NoNone
OrderAccountVendor account of the order, pointing to a vendor record.String (20)
VendAccount
YesVendTable.AccountNumNone
ParmIdParameter ID of the record.String (20)
ParmId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymTermIdTerms of payment, pointing to a payment terms record.String (100)
VendPaymTermId
NoPaymTerm.PaymTermIdNone
PrintCopiesNumber of copies to print.Integer
PrintCopiesCopies
NoNone
PrintOriginalsNumber of originals to print.Integer
PrintCopiesOriginals
NoNone
PurchBalanceAmount in transaction currency.Real
AmountCur
NoNone
PurchIdPurchase order the invoice is linked to.String (20)
PurchIdBase
YesPurchTable.PurchIdNone
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
RespiteDateDeadline date.Date
TransDate
NoNone
RoundOffRound-off amount.Real
RoundOff
NoNone
SumMarkupTotal charges.Real
MarkupSumPurch
NoNone
SumTaxSales tax amount.Real
TaxAmountCur
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TriangulationYes/No flag for euro triangulation.Enum
EUROTriangulation
NoYes (enum)
NoNone
VendGroupVendor group, pointing to a vendor group record.String
VendGroupId
YesVendGroup.VendGroupNone

Indexes (5)

Relations (12)

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

  • CashDisc → CashDisc

    Join on CashDiscCode = CashDisc.CashDiscCode

    Many VendInvoice4PaymJour_RU records → exactly one CashDisc record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    One or more VendInvoice4PaymJour_RU records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many VendInvoice4PaymJour_RU records → zero or one DimensionAttributeValueSet record

  • DeliveryPostalAddress_FK → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many VendInvoice4PaymJour_RU records → zero or one LogisticsPostalAddress record

  • LanguageTable → LanguageTable

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

    One or more VendInvoice4PaymJour_RU records → exactly one LanguageTable record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroupId = NumberSequenceGroup.numberSequenceGroupId

    Many VendInvoice4PaymJour_RU records → exactly one NumberSequenceGroup record

  • OfficialsTrans_RU → OfficialsTrans_RU

    Join on OffSessionId = OfficialsTrans_RU.OffSessionId

    Many VendInvoice4PaymJour_RU records → zero or one OfficialsTrans_RU record

  • PaymTerm → PaymTerm

    Join on PaymTermId = PaymTerm.PaymTermId

    Many VendInvoice4PaymJour_RU records → exactly one PaymTerm record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    One or more VendInvoice4PaymJour_RU records → exactly one PurchTable record

  • VendGroup → VendGroup

    Join on VendGroup = VendGroup.VendGroup

    One or more VendInvoice4PaymJour_RU records → exactly one VendGroup record

  • VendTableInvoiceAccount → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    One or more VendInvoice4PaymJour_RU records → exactly one VendTable record

  • VendTableOrderAccount → VendTable

    Join on OrderAccount = VendTable.AccountNum

    One or more VendInvoice4PaymJour_RU records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk