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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
storeIdThe store the denomination applies to, linked to RetailStoreTable. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | RetailStoreCashDeclarationEntity |
currencyCurrency code of the denomination. | String (3)CurrencyCode | No | Currency.CurrencyCode | RetailStoreCashDeclarationEntity |
typeShows whether the denomination is a coin or a note. | EnumRetailCashTypeRetailCoinNote (enum) | No | RetailStoreCashDeclarationEntity | |
amountValue of the coin or note, in the transaction currency. | RealAmountCur | Yes | RetailStoreCashDeclarationEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
includeInQuickPayShortcutsYes/no setting for including this amount in quick pay shortcuts. The label is empty, so this is inferred from the name. | EnumNoYesIdNoYes (enum) | No | RetailStoreCashDeclarationEntity | |
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)
Relations (2)
Each relation joins RetailStoreCashDeclarationTable to another table on the fields shown.
Currency→CurrencyJoin on
currency = Currency.CurrencyCodeMany RetailStoreCashDeclarationTable records → zero or one Currency record
RetailStoreTable→RetailStoreTableJoin on
storeId = RetailStoreTable.StoreNumberMany 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.
RetailStoreCashDeclarationEntity· 5 fields from this table
Need help with RetailStoreCashDeclarationTable in a report, an integration or a migration? Talk to Dr Dynamics.