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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchQtyPurchase quantity.Real
PurchQty
NoNone
PurchTransRecIdRecord ID of the purchase-side charges transaction.Int64
RefRecId
NoNone
PurchTransTableIdTable ID that says which table the purchase reference points to.Integer
RefTableId
NoNone
ReceiptTransRecIdPoints to the inventory transaction for the receipt.Int64
InventTransRefRecId
NoInventTrans.RecIdNone
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
SalesQtySales quantity.Real
SalesQty
NoNone
SalesTransRecIdRecord ID of the customer invoice line.Int64
RefRecId
NoNone
SalesTransTableIdTable ID that says which table the sales reference points to.Integer
RefTableId
NoNone
SettledQtyQuantity that has been settled.Real
InventQtySettled
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (4)

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

  • CustInvoiceTrans → CustInvoiceTrans

    Join on SalesTransTableId = CustInvoiceTrans.TableId, SalesTransRecId = CustInvoiceTrans.RecId

    Many SalesPurchInvoiceLink_RU records → exactly one CustInvoiceTrans record

  • InventTrans → InventTrans

    Join on ReceiptTransRecId = InventTrans.RecId

    Many SalesPurchInvoiceLink_RU records → zero or one InventTrans record

  • MarkupTrans → MarkupTrans

    Join on PurchTransTableId = MarkupTrans.TableId, PurchTransRecId = MarkupTrans.RecId

    Many SalesPurchInvoiceLink_RU records → zero or one MarkupTrans record

  • VendInvoiceTrans → VendInvoiceTrans

    Join on PurchTransTableId = VendInvoiceTrans.TableId, PurchTransRecId = VendInvoiceTrans.RecId

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

Email sales@drdynamics.co.uk