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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CashDiscCodeCash discount code that applies to the document.String
CustCashDiscCode
NoCashDisc.CashDiscCodeNone
CompanyBankAccountIdCompany bank account linked to the document.String
CompanyBankAccountId
NoBankAccountTable.AccountIDNone
CurrencyCodeCurrency code of the document.String (3)
CustCurrencyCode
YesCurrency.CurrencyCodeNone
CustGroupCustomer group of the customer.String
CustGroupId
YesCustGroup.CustGroupNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionDefault financial dimension values, stored as a reference to a dimension value set.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdNone
DeliveryNameName of the delivery party.String (160)
CustName
NoNone
DeliveryPostalAddressPostal address used for delivery.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
EndDiscTotal discount amount for the whole document (order header).Real
SalesEndDiscAmount
NoNone
ExchRateExchange rate used for the document.Real
CustExchRate
NoNone
ExchRateSecondarySecond exchange rate used for the document.Real
ExchrateSecondary
NoNone
FixedDueDateFixed due date for payment.Date
SalesFixedDueDate
NoNone
Invoice4PaymAmountAmount of the invoice for payment, in transaction currency.Real
AmountCur
NoNone
Invoice4PaymDateDate of the invoice for payment.Date
Invoice4PaymDate_RU
YesNone
Invoice4PaymDocNumDocument number of the invoice for payment.String (20)
CustInvoice4PaymId_RU
NoNone
Invoice4PaymIdIdentifier of the invoice for payment.String (20)
CustInvoice4PaymId_RU
YesNone
InvoiceAccountCustomer account that is invoiced.String (20)
CustInvoiceAccount
YesCustTable.AccountNumNone
LanguageIdLanguage code used for the document.String (7)
CustLanguageId
YesLanguageTable.LanguageIdNone
NotesFree text note on the document.String (-1)
Notes
NoNone
OffSessionIdIdentifier of the officials session linked to the document.String (20)
OffSessionId_RU
NoNone
OrderAccountCustomer account that placed the order.String (20)
CustAccount
YesCustTable.AccountNumNone
ParmIdIdentifier of the parameter set used when the document was created.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
PaymentPayment terms code that applies to the document.String (100)
CustPaymTermId
NoPaymTerm.PaymTermIdNone
PrintCopiesNumber of copies to print.Integer
PrintCopiesCopies
NoNone
PrintMSTShows whether the document is printed in the national currency.Enum
PrintInMST_RU
NoYes (enum)
NoNone
PrintOriginalsNumber of originals to print.Integer
PrintCopiesOriginals
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
RespiteDateDeadline date for the document.Date
TransDate
NoNone
RoundOffRound-off amount on the document.Real
RoundOff
NoNone
SalesBalanceTotal amount in transaction currency.Real
AmountCur
NoNone
SalesIdSales order the document relates to.String (20)
SalesIdBase
YesSalesTable.SalesIdNone
SumTaxSales tax amount, in transaction currency.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

Indexes (4)

Relations (12)

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

  • BankAccountTable → BankAccountTable

    Join on CompanyBankAccountId = BankAccountTable.AccountID

    Many CustInvoice4PaymJour_RU records → exactly one BankAccountTable record

  • CashDisc → CashDisc

    Join on CashDiscCode = CashDisc.CashDiscCode

    Many CustInvoice4PaymJour_RU records → exactly one CashDisc record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    One or more CustInvoice4PaymJour_RU records → exactly one Currency record

  • CustGroup → CustGroup

    Join on CustGroup = CustGroup.CustGroup

    One or more CustInvoice4PaymJour_RU records → exactly one CustGroup record

  • CustTableInvoice → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    One or more CustInvoice4PaymJour_RU records → exactly one CustTable record

  • CustTableOrder → CustTable

    Join on OrderAccount = CustTable.AccountNum

    One or more CustInvoice4PaymJour_RU records → exactly one CustTable record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many CustInvoice4PaymJour_RU records → zero or one DimensionAttributeValueSet record

  • DeliveryPostalAddress_FK → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many CustInvoice4PaymJour_RU records → zero or one LogisticsPostalAddress record

  • LanguageTable → LanguageTable

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

    One or more CustInvoice4PaymJour_RU records → exactly one LanguageTable record

  • OffSessionId → OfficialsTrans_RU

    Join on OffSessionId = OfficialsTrans_RU.OffSessionId

    Many CustInvoice4PaymJour_RU records → zero or one OfficialsTrans_RU record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many CustInvoice4PaymJour_RU records → exactly one PaymTerm record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    One 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.

Email sales@drdynamics.co.uk