Table
CustInvoice4PaymJour_RU
Customer invoice for payment journal
Journal header for a customer invoice for payment, used for Russia. It stores the customer, sales order, currency, payment terms, amounts, dates and print settings of each document. The lines are held in CustInvoice4PaymTrans_RU.
- Table name
CustInvoice4PaymJour_RU- Module
Accounts receivable- 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 that applies to the document. | StringCustCashDiscCode | No | CashDisc.CashDiscCode | None |
CompanyBankAccountIdCompany bank account linked to the document. | StringCompanyBankAccountId | No | BankAccountTable.AccountID | None |
CurrencyCodeCurrency code of the document. | String (3)CustCurrencyCode | Yes | Currency.CurrencyCode | None |
CustGroupCustomer group of the customer. | StringCustGroupId | Yes | CustGroup.CustGroup | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionDefault financial dimension values, stored as a reference to a dimension value set. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
DeliveryNameName of the delivery party. | String (160)CustName | No | None | |
DeliveryPostalAddressPostal address used for delivery. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
EndDiscTotal discount amount for the whole document (order header). | RealSalesEndDiscAmount | No | None | |
ExchRateExchange rate used for the document. | RealCustExchRate | No | None | |
ExchRateSecondarySecond exchange rate used for the document. | RealExchrateSecondary | No | None | |
FixedDueDateFixed due date for payment. | DateSalesFixedDueDate | No | None | |
Invoice4PaymAmountAmount of the invoice for payment, in transaction currency. | RealAmountCur | No | None | |
Invoice4PaymDateDate of the invoice for payment. | DateInvoice4PaymDate_RU | Yes | None | |
Invoice4PaymDocNumDocument number of the invoice for payment. | String (20)CustInvoice4PaymId_RU | No | None | |
Invoice4PaymIdIdentifier of the invoice for payment. | String (20)CustInvoice4PaymId_RU | Yes | None | |
InvoiceAccountCustomer account that is invoiced. | String (20)CustInvoiceAccount | Yes | CustTable.AccountNum | None |
LanguageIdLanguage code used for the document. | String (7)CustLanguageId | Yes | LanguageTable.LanguageId | None |
NotesFree text note on the document. | String (-1)Notes | No | None | |
OffSessionIdIdentifier of the officials session linked to the document. | String (20)OffSessionId_RU | No | None | |
OrderAccountCustomer account that placed the order. | String (20)CustAccount | Yes | CustTable.AccountNum | None |
ParmIdIdentifier of the parameter set used when the document was created. | 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 | |
PaymentPayment terms code that applies to the document. | String (100)CustPaymTermId | No | PaymTerm.PaymTermId | None |
PrintCopiesNumber of copies to print. | IntegerPrintCopiesCopies | No | None | |
PrintMSTShows whether the document is printed in the national currency. | EnumPrintInMST_RUNoYes (enum) | No | None | |
PrintOriginalsNumber of originals to print. | IntegerPrintCopiesOriginals | 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 | |
RespiteDateDeadline date for the document. | DateTransDate | No | None | |
RoundOffRound-off amount on the document. | RealRoundOff | No | None | |
SalesBalanceTotal amount in transaction currency. | RealAmountCur | No | None | |
SalesIdSales order the document relates to. | String (20)SalesIdBase | Yes | SalesTable.SalesId | None |
SumTaxSales tax amount, in transaction currency. | 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 |
Indexes (4)
DimensionAttributeValueSetIdxNot unique.
SalesIdxSalesId,Invoice4PaymId,Invoice4PaymDateNot unique.
Invoice4PaymIdxInvoice4PaymId,Invoice4PaymDateNot unique.
DeliveryPostalAddressIdxNot unique.
Relations (12)
Each relation joins CustInvoice4PaymJour_RU to another table on the fields shown.
BankAccountTable→BankAccountTableJoin on
CompanyBankAccountId = BankAccountTable.AccountIDMany CustInvoice4PaymJour_RU records → exactly one BankAccountTable record
CashDisc→CashDiscJoin on
CashDiscCode = CashDisc.CashDiscCodeMany CustInvoice4PaymJour_RU records → exactly one CashDisc record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeOne or more CustInvoice4PaymJour_RU records → exactly one Currency record
CustGroup→CustGroupJoin on
CustGroup = CustGroup.CustGroupOne or more CustInvoice4PaymJour_RU records → exactly one CustGroup record
CustTableInvoice→CustTableJoin on
InvoiceAccount = CustTable.AccountNumOne or more CustInvoice4PaymJour_RU records → exactly one CustTable record
CustTableOrder→CustTableJoin on
OrderAccount = CustTable.AccountNumOne or more CustInvoice4PaymJour_RU records → exactly one CustTable record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CustInvoice4PaymJour_RU records → zero or one DimensionAttributeValueSet record
DeliveryPostalAddress_FK→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany CustInvoice4PaymJour_RU records → zero or one LogisticsPostalAddress record
LanguageTable→LanguageTableJoin on
LanguageId = LanguageTable.LanguageId,LanguageTable.LabelFile = 1One or more CustInvoice4PaymJour_RU records → exactly one LanguageTable record
OffSessionId→OfficialsTrans_RUJoin on
OffSessionId = OfficialsTrans_RU.OffSessionIdMany CustInvoice4PaymJour_RU records → zero or one OfficialsTrans_RU record
PaymTerm→PaymTermJoin on
Payment = PaymTerm.PaymTermIdMany CustInvoice4PaymJour_RU records → exactly one PaymTerm record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdOne or more CustInvoice4PaymJour_RU records → exactly one SalesTable record
Get this data out
No public entity reads from CustInvoice4PaymJour_RU. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustInvoice4PaymJour_RU in a report, an integration or a migration? Talk to Dr Dynamics.