Table
RetailDevice
Retail Devices
Holds retail devices, keyed by device ID. It records the activation, deactivation and validation status, the workers involved and the device token data. It links to a register, a device type and package information.
- Table name
RetailDevice- Module
Commerce stores- Table group
Main- Table type
Regular- Data per company
No- Configuration key
Retail- Primary index
None- Replacement key
DeviceIdx- Key fields
DeviceId- Model
Foundation
Fields (30)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DeviceIdUnique ID of the device. | String (64)RetailDeviceId | Yes | RetailDeviceEntity | |
ActivatedDateTimeDate and time the device was activated. | UtcDateTimeRetailDeviceActivationDateTime | No | RetailDeviceEntity | |
ActivationGuidGUID that identifies the device activation. | GuidRetailDeviceActivationGUID | No | RetailDeviceEntity | |
ActivationStaffIdWorker who activated the device. | String (25)RetailStaffId | No | RetailDeviceEntity | |
ActivationStatusCurrent activation status: pending, activated, deactivated or disabled. | EnumRetailDeviceActivationStatusRetailDeviceActivationStatusBase (enum) | No | RetailDeviceEntity | |
ActivationValidationDateTimeDate and time the activation was validated. | UtcDateTime | No | None | |
ActivationValidationStaffIdWorker linked to the activation validation. | String (25)RetailStaffId | No | None | |
ActivationValidationStatusResult of the validation: not run, passed or failed. | EnumRetailDeviceValidationStatus (enum) | No | None | |
AllowMassActivationYes/no flag allowing the device to be activated in bulk. | EnumRetailAllowMassActivationNoYes (enum) | No | RetailDeviceEntity | |
CurrentVersionPackage version currently installed on the device. | String (50)CurrentVersion | No | None | |
DeactivateCommentsFree-text comments about the deactivation. | String (256)RetailDeviceDeactivateComment | No | RetailDeviceEntity | |
DeactivatedDateTimeDate and time the device was deactivated. | UtcDateTimeRetailDeviceActivationDateTime | No | RetailDeviceEntity | |
DeactivationStaffIdWorker who deactivated the device. | String (25)RetailStaffId | No | RetailDeviceEntity | |
DescriptionShort description of the device. | String (50)RetailDeviceDescription | No | RetailDeviceEntity | |
DeviceTokenAlgorithmName of the algorithm used to encrypt the device token. | String (25)DeviceTokenAlgorithmName | No | None | |
DeviceTokenDataStored token data for the device. No label is given.low confidence | String (128) | No | None | |
DeviceTokenIssueTimeDate and time the device token was issued. | UtcDateTime | No | None | |
DeviceTokenSaltSalt value stored with the device token. No label is given.low confidence | String (128) | No | None | |
MergedSelfServicePackageReferenceMerged self-service package for the device. It points to a merged package record. | Int64RefRecId | No | RetailSelfServiceMergedPackages.RecId | RetailDeviceEntity |
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 | |
PhysicalDeviceIdID of the physical device. | String (64)RetailPhysicalDeviceId | No | RetailDeviceEntity | |
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 | |
SelfServicePackageSelf-service package for the device. It points to a package information record. | Int64RefRecId | No | RetailSelfServicePackageInfo.RecId | 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 | |
TerminalRegister that the device is linked to. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | RetailDeviceEntity |
TypeType of the device. It points to a retail device type. | Int64RetailDeviceTypeRecId | Yes | RetailDeviceTypes.RecId | RetailDeviceEntity |
UseInMemoryDeviceDataStorageYes/no flag for keeping device data in memory on the device. | EnumNoYes (enum) | Yes | None |
Indexes (2)
Relations (7)
Each relation joins RetailDevice to another table on the fields shown.
RetailDeviceType→RetailDeviceTypesJoin on
Type = RetailDeviceTypes.RecIdExactly one RetailDevice record → exactly one RetailDeviceTypes record
RetailTerminal→RetailTerminalTableJoin on
Terminal = RetailTerminalTable.terminalIdZero or one RetailDevice record → exactly one RetailTerminalTable record
RetailStaffId_Activated→hcmworkerJoin on
ActivationStaffId = hcmworker.PersonnelNumberZero or one RetailDevice record → exactly one hcmworker record
RetailStaffId_Deactivated→hcmworkerJoin on
DeactivationStaffId = hcmworker.PersonnelNumberZero or one RetailDevice record → exactly one hcmworker record
RetailSelfServicePackageInfo→RetailSelfServicePackageInfoJoin on
SelfServicePackage = RetailSelfServicePackageInfo.RecIdMany RetailDevice records → zero or one RetailSelfServicePackageInfo record
RetailStaffId_ActivationValidation→hcmworkerJoin on
ActivationValidationStaffId = hcmworker.PersonnelNumberZero or one RetailDevice record → exactly one hcmworker record
RetailSelfServiceMergedPackages→RetailSelfServiceMergedPackagesJoin on
MergedSelfServicePackageReference = RetailSelfServiceMergedPackages.RecIdMany RetailDevice records → zero or one RetailSelfServiceMergedPackages record
Get this data out
Tables are not exposed directly. These public entities read from RetailDevice; use one of them in Power BI, Power Platform or a data management project.
RetailDeviceEntity· 14 fields from this table
Need help with RetailDevice in a report, an integration or a migration? Talk to Dr Dynamics.