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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
Invoice4PaymDateDate of the linked invoice for payment. | DateTransDate | Yes | None | |
Invoice4PaymIdIdentifier of the linked invoice for payment. | String (20)CustInvoice4PaymId_RU | Yes | None | |
OrigSalesIdOriginal sales order. | String (20)SalesIdOrig | No | SalesTable.SalesId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
SalesIdSales order linked to the invoice for payment. | String (20)SalesIdBase | Yes | SalesTable.SalesId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
OrigSalesIdxOrigSalesId,Invoice4PaymDate,Invoice4PaymIdNot unique.
Invoice4PaymIdxInvoice4PaymId,Invoice4PaymDate,SalesIdNot unique.
Relations (3)
Each relation joins CustInvoice4PaymSalesLink_RU to another table on the fields shown.
Invoice4PaymJour→CustInvoice4PaymJour_RUJoin on
SalesId = CustInvoice4PaymJour_RU.SalesId,Invoice4PaymId = CustInvoice4PaymJour_RU.Invoice4PaymId,Invoice4PaymDate = CustInvoice4PaymJour_RU.Invoice4PaymDateMany CustInvoice4PaymSalesLink_RU records → exactly one CustInvoice4PaymJour_RU record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdOne or more CustInvoice4PaymSalesLink_RU records → exactly one SalesTable record
SalesTableOrig→SalesTableJoin on
OrigSalesId = SalesTable.SalesIdMany 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.