Table

RetailSumLines

Sum lines

Purchase order lines with item, warehouse, quantity, unit and unit price. It is identified by purchase order and line number. Its exact role is not stated in the metadata.low confidence

Table name
RetailSumLines
Module
Inventory management
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
PurchLineIdx
Replacement key
None
Key fields
PurchId, LineNum
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchIdPurchase order the line belongs to.String (20)
PurchId
YesPurchTable.PurchIdNone
LineNumLine number within the purchase order.Real
LineNum
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventLocationIdWarehouse for the line. It points to the warehouse record.String
InventLocationId
YesInventLocation.InventLocationIdNone
ItemIdItem number of the product on the line.String (20)
ItemId
NoInventTable.ItemIdNone
LinePercentDiscount percentage on the line.Real
PurchLinePercent
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchPricePrice for one unit.Real
PurchPrice
NoNone
PurchQtyQuantity ordered on the line.Real
PurchOrderedQty
NoNone
PurchUnitUnit of measure for the purchase quantity.String
PurchUnit
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many RetailSumLines records → exactly one InventLocation record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many RetailSumLines records → exactly one InventTable record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Many RetailSumLines records → exactly one PurchTable record

Get this data out

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

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

Email sales@drdynamics.co.uk