Table
RetailTerminalCounter
Terminal counter
Holds running counter values for each POS register in a store. The key is store, register and counter type. The counter type is either grand sales or grand return.
- Table name
RetailTerminalCounter- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
StoreTerminalCounterTypeIdx- Replacement key
StoreTerminalCounterTypeIdx- Key fields
Store, Terminal, CounterType- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
StoreThe store the register belongs to, linked to the store record. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | RetailTerminalCounterEntity |
TerminalThe POS register the counter belongs to, linked to the register record. | StringRetailTerminalId | Yes | RetailTerminalTable.terminalId | RetailTerminalCounterEntity |
CounterTypeSays whether the counter tracks grand sales or grand returns. | EnumRetailCounterType (enum) | Yes | RetailTerminalCounterEntity | |
CounterValueThe total amount held in the counter for this register and counter type. | RealRetailCounterValue | No | RetailTerminalCounterEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
StoreTerminalCounterTypeIdxPrimary indexReplacement keyUnique, alternate key.
Relations (3)
Each relation joins RetailTerminalCounter to another table on the fields shown.
RetailStoresToDeploy→RetailStoresToDeployJoin on
Store = RetailStoresToDeploy.StoreNumberMany RetailTerminalCounter records → zero or one RetailStoresToDeploy record
RetailStoreTable→RetailStoreTableJoin on
Store = RetailStoreTable.StoreNumberMany RetailTerminalCounter records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
Terminal = RetailTerminalTable.terminalIdMany RetailTerminalCounter records → exactly one RetailTerminalTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailTerminalCounter; use one of them in Power BI, Power Platform or a data management project.
RetailTerminalCounterEntity· 4 fields from this table
Need help with RetailTerminalCounter in a report, an integration or a migration? Talk to Dr Dynamics.