Table

CustInvoice4PaymSalesLink_RU

Customer invoice for payment - sales order relation table

Relation table, used for Russia, that links a customer invoice for payment journal to a sales order. It also keeps the original sales order. The link to the journal uses the invoice for payment ID and date.

Table name
CustInvoice4PaymSalesLink_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 (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
Invoice4PaymDateDate of the linked invoice for payment.Date
TransDate
YesNone
Invoice4PaymIdIdentifier of the linked invoice for payment.String (20)
CustInvoice4PaymId_RU
YesNone
OrigSalesIdOriginal sales order.String (20)
SalesIdOrig
NoSalesTable.SalesIdNone
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
SalesIdSales order linked to the invoice for payment.String (20)
SalesIdBase
YesSalesTable.SalesIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (3)

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

  • Invoice4PaymJour → CustInvoice4PaymJour_RU

    Join on SalesId = CustInvoice4PaymJour_RU.SalesId, Invoice4PaymId = CustInvoice4PaymJour_RU.Invoice4PaymId, Invoice4PaymDate = CustInvoice4PaymJour_RU.Invoice4PaymDate

    Many CustInvoice4PaymSalesLink_RU records → exactly one CustInvoice4PaymJour_RU record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    One or more CustInvoice4PaymSalesLink_RU records → exactly one SalesTable record

  • SalesTableOrig → SalesTable

    Join on OrigSalesId = SalesTable.SalesId

    Many CustInvoice4PaymSalesLink_RU records → exactly one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk