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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CashDiscCodeCash discount code, pointing to a cash discount record. | StringVendCashDiscCode | No | CashDisc.CashDiscCode | None |
CurrencyCodeCurrency of the invoice, pointing to a currency record. | String (3)CustCurrencyCode | Yes | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension set for the invoice. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
DeliveryNameName used for the delivery. | String (160)VendName | No | None | |
DeliveryPostalAddressDelivery address, pointing to a postal address record. | Int64RefRecId | No | LogisticsPostalAddress.RecId | None |
EndDiscDiscount amount for the whole order header, taken from the applicable trade agreements. Other discount types on the lines are not part of it. | RealPurchEndDiscAmount | No | None | |
ExchRateExchange rate applied to the invoice. | RealVendExchRate | No | None | |
ExchRateSecondarySecondary exchange rate applied to the invoice. | RealExchrateSecondary | No | None | |
FixedDueDateFixed due date of the invoice. | DatePurchFixedDueDate | No | None | |
InternalInvoice4PaymIdInternal number of the invoice for payment. | String (20)PurchInternalInvoice4PaymId_RU | No | None | |
Invoice4PaymAmountInvoice amount, in transaction currency. | RealAmountCur | No | None | |
Invoice4PaymDateDate of the invoice for payment. | DateInvoice4PaymDate_RU | Yes | None | |
Invoice4PaymDocNumInvoice number. | String (20)CustInvoice4PaymId_RU | No | None | |
Invoice4PaymIdNumber of the invoice for payment. | String (20)VendInvoice4PaymId_RU | Yes | None | |
InvoiceAccountVendor account that is invoiced, pointing to a vendor record. | String (20)VendInvoiceAccount | Yes | VendTable.AccountNum | None |
LanguageIdLanguage code, pointing to a language record. | String (7)VendLanguageId | Yes | LanguageTable.LanguageId | None |
NumberSequenceGroupIdNumber sequence group, pointing to a number sequence group record. | StringNumberSequenceGroupId | No | NumberSequenceGroup.numberSequenceGroupId | None |
OffSessionIdOfficial session ID, relating to officials report lines. | String (20)OffSessionId_RU | No | None | |
OrderAccountVendor account of the order, pointing to a vendor record. | String (20)VendAccount | Yes | VendTable.AccountNum | None |
ParmIdParameter ID of the record. | String (20)ParmId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymTermIdTerms of payment, pointing to a payment terms record. | String (100)VendPaymTermId | No | PaymTerm.PaymTermId | None |
PrintCopiesNumber of copies to print. | IntegerPrintCopiesCopies | No | None | |
PrintOriginalsNumber of originals to print. | IntegerPrintCopiesOriginals | No | None | |
PurchBalanceAmount in transaction currency. | RealAmountCur | No | None | |
PurchIdPurchase order the invoice is linked to. | String (20)PurchIdBase | Yes | PurchTable.PurchId | 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 | |
RespiteDateDeadline date. | DateTransDate | No | None | |
RoundOffRound-off amount. | RealRoundOff | No | None | |
SumMarkupTotal charges. | RealMarkupSumPurch | No | None | |
SumTaxSales tax amount. | RealTaxAmountCur | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TriangulationYes/No flag for euro triangulation. | EnumEUROTriangulationNoYes (enum) | No | None | |
VendGroupVendor group, pointing to a vendor group record. | StringVendGroupId | Yes | VendGroup.VendGroup | None |
Indexes (5)
DimensionAttributeValueSetIdxNot unique.
LogisticsPostalAddressIdxNot unique.
PurchIdxNot unique.
Invoice4PaymIdxInvoice4PaymId,Invoice4PaymDate,NumberSequenceGroupId,InternalInvoice4PaymIdNot unique.
VendAccountIdxInvoiceAccount,Invoice4PaymDateNot unique.
Relations (12)
Each relation joins VendInvoice4PaymJour_RU to another table on the fields shown.
CashDisc→CashDiscJoin on
CashDiscCode = CashDisc.CashDiscCodeMany VendInvoice4PaymJour_RU records → exactly one CashDisc record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeOne or more VendInvoice4PaymJour_RU records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany VendInvoice4PaymJour_RU records → zero or one DimensionAttributeValueSet record
DeliveryPostalAddress_FK→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany VendInvoice4PaymJour_RU records → zero or one LogisticsPostalAddress record
LanguageTable→LanguageTableJoin on
LanguageId = LanguageTable.LanguageId,LanguageTable.LabelFile = 1One or more VendInvoice4PaymJour_RU records → exactly one LanguageTable record
NumberSequenceGroup→NumberSequenceGroupJoin on
NumberSequenceGroupId = NumberSequenceGroup.numberSequenceGroupIdMany VendInvoice4PaymJour_RU records → exactly one NumberSequenceGroup record
OfficialsTrans_RU→OfficialsTrans_RUJoin on
OffSessionId = OfficialsTrans_RU.OffSessionIdMany VendInvoice4PaymJour_RU records → zero or one OfficialsTrans_RU record
PaymTerm→PaymTermJoin on
PaymTermId = PaymTerm.PaymTermIdMany VendInvoice4PaymJour_RU records → exactly one PaymTerm record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdOne or more VendInvoice4PaymJour_RU records → exactly one PurchTable record
VendGroup→VendGroupJoin on
VendGroup = VendGroup.VendGroupOne or more VendInvoice4PaymJour_RU records → exactly one VendGroup record
VendTableInvoiceAccount→VendTableJoin on
InvoiceAccount = VendTable.AccountNumOne or more VendInvoice4PaymJour_RU records → exactly one VendTable record
VendTableOrderAccount→VendTableJoin on
OrderAccount = VendTable.AccountNumOne 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.