Table

RetailStoreCashDeclarationTable

Cash declaration setup

Holds the coin and note denominations used for cash declaration in a store. Each record gives a store, currency, type and amount, which together form the key.

Table name
RetailStoreCashDeclarationTable
Module
Commerce stores
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
storeIdx
Replacement key
None
Key fields
storeId, currency, type, amount
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
storeIdThe store the denomination applies to, linked to RetailStoreTable.String
RetailStoreId
YesRetailStoreTable.StoreNumberRetailStoreCashDeclarationEntity
currencyCurrency code of the denomination.String (3)
CurrencyCode
NoCurrency.CurrencyCodeRetailStoreCashDeclarationEntity
typeShows whether the denomination is a coin or a note.Enum
RetailCashType
RetailCoinNote (enum)
NoRetailStoreCashDeclarationEntity
amountValue of the coin or note, in the transaction currency.Real
AmountCur
YesRetailStoreCashDeclarationEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
includeInQuickPayShortcutsYes/no setting for including this amount in quick pay shortcuts. The label is empty, so this is inferred from the name.Enum
NoYesId
NoYes (enum)
NoRetailStoreCashDeclarationEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • Currency → Currency

    Join on currency = Currency.CurrencyCode

    Many RetailStoreCashDeclarationTable records → zero or one Currency record

  • RetailStoreTable → RetailStoreTable

    Join on storeId = RetailStoreTable.StoreNumber

    Many RetailStoreCashDeclarationTable records → exactly one RetailStoreTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailStoreCashDeclarationTable; use one of them in Power BI, Power Platform or a data management project.

Need help with RetailStoreCashDeclarationTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk