Table
RetailStockCountLine
Stock count lines
Lines of a store stock count worksheet. Each line is an item with the quantity counted and the quantity to count now. It links to the stock count header through the reference number.
- Table name
RetailStockCountLine- Module
Inventory management- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
StockCountIdx- Replacement key
None- Key fields
ReferenceNumber, RecId- Model
Foundation
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ReferenceNumberReference number of the stock count header that this line belongs to. | String (20)RetailReferenceNo | Yes | RetailStockCountTable.ReferenceNumber | 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 | |
BarcodeBar code used to identify the item on the line. | String (80)ItemBarCode | No | None | |
ColorColour of the product variant. | StringEcoResItemColorName | No | EcoResColor.Name | None |
ConfigurationConfiguration of the product variant. | String (50)EcoResItemConfigurationName | No | EcoResConfiguration.Name | None |
CountedQuantity already counted for the line. | RealInventQty | No | None | |
CountNowQuantity entered in the current count. | RealInventQty | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateDate linked to the line. | DateTransDate | No | None | |
ItemNameName of the product. | String (60)ItemName | No | None | |
ItemNumberItem number of the counted product. | String (20)ItemId | Yes | InventTable.ItemId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RefRecIdSystem record ID of a related record. The metadata does not say which table it points to.low confidence | Int64RefRecId | No | None | |
SerialNumberSerial number of the item, where the item is serial-tracked. | String (20)InventSerialId | No | InventSerial.InventSerialId | None |
SizeSize of the product variant. | StringEcoResItemSizeName | No | EcoResSize.Name | None |
StyleStyle of the product variant. | StringEcoResItemStyleName | No | EcoResStyle.Name | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VersionVersion of the product variant. | StringEcoResItemVersionName | No | EcoResVersion.Name | None |
Indexes (1)
StockCountIdxPrimary indexUnique.
Relations (9)
Each relation joins RetailStockCountLine to another table on the fields shown.
EcoResColor→EcoResColorJoin on
Color = EcoResColor.NameMany RetailStockCountLine records → zero or one EcoResColor record
EcoResConfiguration→EcoResConfigurationJoin on
Configuration = EcoResConfiguration.NameMany RetailStockCountLine records → zero or one EcoResConfiguration record
EcoResSize→EcoResSizeJoin on
Size = EcoResSize.NameMany RetailStockCountLine records → zero or one EcoResSize record
EcoResStyle→EcoResStyleJoin on
Style = EcoResStyle.NameMany RetailStockCountLine records → zero or one EcoResStyle record
EcoResVersion→EcoResVersionJoin on
Version = EcoResVersion.NameMany RetailStockCountLine records → zero or one EcoResVersion record
InventItemBarcode→InventItemBarcodeJoin on
Barcode = InventItemBarcode.itemBarCodeMany RetailStockCountLine records → zero or one InventItemBarcode record
InventSerial→InventSerialJoin on
ItemNumber = InventSerial.ItemId,SerialNumber = InventSerial.InventSerialIdMany RetailStockCountLine records → zero or one InventSerial record
InventTable→InventTableJoin on
ItemNumber = InventTable.ItemIdMany RetailStockCountLine records → exactly one InventTable record
StockCountTable→RetailStockCountTableJoin on
ReferenceNumber = RetailStockCountTable.ReferenceNumberMany RetailStockCountLine records → exactly one RetailStockCountTable record
Get this data out
No public entity reads from RetailStockCountLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailStockCountLine in a report, an integration or a migration? Talk to Dr Dynamics.