Table

TmpSalesPurchReportLine_RU Temporary

Invoice

Purpose not clear from the metadata.

Table name
TmpSalesPurchReportLine_RU
Module
Cross-module and platform
Table group
Miscellaneous
Table type
InMemory
Data per company
Yes
Configuration key
LedgerBasic
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (37)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AnalysisCodeNo descriptionString (30)
DimensionValue
NoNone
CategoryNo descriptionInt64
EcoResCategoryId
NoNone
CodeOKEINo descriptionString
UnitOKEI_RU
NoNone
DeviationAmountNo descriptionReal
AmountCur
NoNone
DeviationQtyNo descriptionReal
PurchDeviationQty_RU
NoNone
ExciseAmountNo descriptionReal
TaxAmount
NoNone
ExternalItemIdNo descriptionString (20)
SalesExternalItemId
NoNone
GrossWeightNo descriptionReal
Weight
NoNone
InternalIdNo descriptionInteger
Counter
NoNone
InventDimIdNo descriptionString (20)
InventDimId
NoInventDim.inventDimIdNone
InventLocationIdNo descriptionString
InventLocationId
NoInventLocation.InventLocationIdNone
InventPostingAccountNo descriptionString (20)
MainAccountNum
NoNone
InvoiceDateNo descriptionDate
TransDate
NoNone
InvoiceIdNo descriptionString (20)
PackingSlipId
NoNone
ItemGrossWeightNo descriptionReal
GrossWeight
NoNone
ItemIdNo descriptionString (20)
ItemId
NoInventTable.ItemIdNone
ItemNameNo descriptionString (1000)
ExternalItemFreeTxt
NoNone
ItemNetWeightNo descriptionReal
ItemNetWeight
NoNone
LineAmountNo descriptionReal
AmountCur
NoNone
lineAmountWithTaxNo descriptionReal
AmountCur
NoNone
LineNumNo descriptionReal
LineNum
NoNone
OrderAccountNo descriptionString (20)
CustVendAC
NoNone
PackingNo descriptionString (20)
ItemPackingType_RU
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceNo descriptionReal
PurchPrice
NoNone
QtyNo descriptionReal
SalesQty
NoNone
QtyNumberNo descriptionReal
InventQty
NoNone
RAssetIdNo descriptionString (20)
RAssetId
NoRAssetTable.AccountNumNone
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
SalesPurchIdNo descriptionString (20)
Num
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxPackagingQtyNo descriptionReal
TaxPackagingQty
NoNone
UnitNo descriptionString (60)
Description
NoNone
VATAmountNo descriptionReal
TaxAmount
NoNone
VatValueNo descriptionReal
TaxValue
NoNone
VatValueStrNo descriptionString (60)
Description
NoNone

Indexes (1)

Relations (6)

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

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many TmpSalesPurchReportLine_RU records → exactly one InventLocation record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many TmpSalesPurchReportLine_RU records → exactly one InventTable record

  • MainAccount → MainAccount

    Join on InventPostingAccount = MainAccount.MainAccountId

    Many TmpSalesPurchReportLine_RU records → exactly one MainAccount record

  • RAssetTable → RAssetTable

    Join on RAssetId = RAssetTable.AccountNum

    Many TmpSalesPurchReportLine_RU records → exactly one RAssetTable record

  • TmpSalesPurchReportTable_RU → TmpSalesPurchReportTable_RU

    Join on OrderAccount = TmpSalesPurchReportTable_RU.OrderAccount, SalesPurchId = TmpSalesPurchReportTable_RU.SalesPurchId, InvoiceId = TmpSalesPurchReportTable_RU.InvoiceId, InvoiceDate = TmpSalesPurchReportTable_RU.InvoiceDate

    Many TmpSalesPurchReportLine_RU records → exactly one TmpSalesPurchReportTable_RU record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many TmpSalesPurchReportLine_RU records → exactly one InventDim record

Get this data out

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

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

Email sales@drdynamics.co.uk