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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ReferenceNumberReference number of the stock count header that this line belongs to.String (20)
RetailReferenceNo
YesRetailStockCountTable.ReferenceNumberNone
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
BarcodeBar code used to identify the item on the line.String (80)
ItemBarCode
NoNone
ColorColour of the product variant.String
EcoResItemColorName
NoEcoResColor.NameNone
ConfigurationConfiguration of the product variant.String (50)
EcoResItemConfigurationName
NoEcoResConfiguration.NameNone
CountedQuantity already counted for the line.Real
InventQty
NoNone
CountNowQuantity entered in the current count.Real
InventQty
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateDate linked to the line.Date
TransDate
NoNone
ItemNameName of the product.String (60)
ItemName
NoNone
ItemNumberItem number of the counted product.String (20)
ItemId
YesInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefRecIdSystem record ID of a related record. The metadata does not say which table it points to.low confidenceInt64
RefRecId
NoNone
SerialNumberSerial number of the item, where the item is serial-tracked.String (20)
InventSerialId
NoInventSerial.InventSerialIdNone
SizeSize of the product variant.String
EcoResItemSizeName
NoEcoResSize.NameNone
StyleStyle of the product variant.String
EcoResItemStyleName
NoEcoResStyle.NameNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VersionVersion of the product variant.String
EcoResItemVersionName
NoEcoResVersion.NameNone

Indexes (1)

Relations (9)

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

  • EcoResColor → EcoResColor

    Join on Color = EcoResColor.Name

    Many RetailStockCountLine records → zero or one EcoResColor record

  • EcoResConfiguration → EcoResConfiguration

    Join on Configuration = EcoResConfiguration.Name

    Many RetailStockCountLine records → zero or one EcoResConfiguration record

  • EcoResSize → EcoResSize

    Join on Size = EcoResSize.Name

    Many RetailStockCountLine records → zero or one EcoResSize record

  • EcoResStyle → EcoResStyle

    Join on Style = EcoResStyle.Name

    Many RetailStockCountLine records → zero or one EcoResStyle record

  • EcoResVersion → EcoResVersion

    Join on Version = EcoResVersion.Name

    Many RetailStockCountLine records → zero or one EcoResVersion record

  • InventItemBarcode → InventItemBarcode

    Join on Barcode = InventItemBarcode.itemBarCode

    Many RetailStockCountLine records → zero or one InventItemBarcode record

  • InventSerial → InventSerial

    Join on ItemNumber = InventSerial.ItemId, SerialNumber = InventSerial.InventSerialId

    Many RetailStockCountLine records → zero or one InventSerial record

  • InventTable → InventTable

    Join on ItemNumber = InventTable.ItemId

    Many RetailStockCountLine records → exactly one InventTable record

  • StockCountTable → RetailStockCountTable

    Join on ReferenceNumber = RetailStockCountTable.ReferenceNumber

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

Email sales@drdynamics.co.uk