Table
SalesPurchInvoiceLink_RU
Inventory links for sales and purchases
Links sales invoice lines to purchase-side charge transactions and inventory transactions, with the quantities sold, purchased and settled. It has no defined key. Used for Russia.
- Table name
SalesPurchInvoiceLink_RU- Module
Accounts receivable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (13)
| 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 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchQtyPurchase quantity. | RealPurchQty | No | None | |
PurchTransRecIdRecord ID of the purchase-side charges transaction. | Int64RefRecId | No | None | |
PurchTransTableIdTable ID that says which table the purchase reference points to. | IntegerRefTableId | No | None | |
ReceiptTransRecIdPoints to the inventory transaction for the receipt. | Int64InventTransRefRecId | No | InventTrans.RecId | 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 | |
SalesQtySales quantity. | RealSalesQty | No | None | |
SalesTransRecIdRecord ID of the customer invoice line. | Int64RefRecId | No | None | |
SalesTransTableIdTable ID that says which table the sales reference points to. | IntegerRefTableId | No | None | |
SettledQtyQuantity that has been settled. | RealInventQtySettled | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
SalesIdxSalesTransTableId,SalesTransRecIdNot unique.
PurchIdxPurchTransTableId,PurchTransRecIdNot unique.
ReceiptTransIdxNot unique.
Relations (4)
Each relation joins SalesPurchInvoiceLink_RU to another table on the fields shown.
CustInvoiceTrans→CustInvoiceTransJoin on
SalesTransTableId = CustInvoiceTrans.TableId,SalesTransRecId = CustInvoiceTrans.RecIdMany SalesPurchInvoiceLink_RU records → exactly one CustInvoiceTrans record
InventTrans→InventTransJoin on
ReceiptTransRecId = InventTrans.RecIdMany SalesPurchInvoiceLink_RU records → zero or one InventTrans record
MarkupTrans→MarkupTransJoin on
PurchTransTableId = MarkupTrans.TableId,PurchTransRecId = MarkupTrans.RecIdMany SalesPurchInvoiceLink_RU records → zero or one MarkupTrans record
VendInvoiceTrans→VendInvoiceTransJoin on
PurchTransTableId = VendInvoiceTrans.TableId,PurchTransRecId = VendInvoiceTrans.RecIdMany SalesPurchInvoiceLink_RU records → zero or one VendInvoiceTrans record
Get this data out
No public entity reads from SalesPurchInvoiceLink_RU. Its data is only reachable through the application, a custom entity or a database export.
Need help with SalesPurchInvoiceLink_RU in a report, an integration or a migration? Talk to Dr Dynamics.