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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchIdPurchase order the line belongs to. | String (20)PurchId | Yes | PurchTable.PurchId | None |
LineNumLine number within the purchase order. | RealLineNum | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventLocationIdWarehouse for the line. It points to the warehouse record. | StringInventLocationId | Yes | InventLocation.InventLocationId | None |
ItemIdItem number of the product on the line. | String (20)ItemId | No | InventTable.ItemId | None |
LinePercentDiscount percentage on the line. | RealPurchLinePercent | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchPricePrice for one unit. | RealPurchPrice | No | None | |
PurchQtyQuantity ordered on the line. | RealPurchOrderedQty | No | None | |
PurchUnitUnit of measure for the purchase quantity. | StringPurchUnit | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
Relations (3)
Each relation joins RetailSumLines to another table on the fields shown.
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany RetailSumLines records → exactly one InventLocation record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany RetailSumLines records → exactly one InventTable record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany 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.