Table
RetailStockCountTable
Stock counts
Header of a store stock count, identified by reference number. A count is either manual or scheduled. It links to a warehouse and a store inventory setup.
- Table name
RetailStockCountTable- Module
Inventory management- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
StockCountIdx- Replacement key
StockCountIdx- Key fields
ReferenceNumber- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ReferenceNumberReference number that identifies the stock count. | String (20)RetailReferenceNo | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort description of the stock count. | String (60)JournalDescription | No | None | |
IsOpenInHQYes/no flag about whether the store inventory data is open in headquarters. The label is worded as a negative.low confidence | EnumNoYes (enum) | No | None | |
LinesLastRefreshedFromHQDate and time when the lines were last refreshed from headquarters. | UtcDateTimeTransDateTime | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
RefRecIdSystem record ID of a related record. The metadata does not say which table it points to.low confidence | Int64RefRecId | No | None | |
storeIdWarehouse for the count. It points to the warehouse record, although the field name says store. | StringInventLocationId | No | InventLocation.InventLocationId | None |
StoreInventoryIdStore inventory setup used for the count. It points to the store inventory setup record. | StringRetailHandheldId | No | RetailHandheldSetup.handheldId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeKind of stock count: manual or scheduled. | EnumRetailStockCountType (enum) | No | None |
Indexes (1)
StockCountIdxPrimary indexReplacement keyUnique, alternate key.
Relations (2)
Each relation joins RetailStockCountTable to another table on the fields shown.
InventLocation→InventLocationJoin on
storeId = InventLocation.InventLocationIdMany RetailStockCountTable records → exactly one InventLocation record
RetailHandheldSetup→RetailHandheldSetupJoin on
StoreInventoryId = RetailHandheldSetup.handheldIdMany RetailStockCountTable records → zero or one RetailHandheldSetup record
Get this data out
No public entity reads from RetailStockCountTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailStockCountTable in a report, an integration or a migration? Talk to Dr Dynamics.