Data entity
RetailStatementTransBIEntity
Holds the lines of retail statement journals. Each record is keyed by statement ID and line number. It shows per-currency amounts for counted, banked, safe, difference and order/invoice values, in the accounting currency and the store currency. Intended for BI and analytics.
- Entity name
RetailStatementTransBIEntity- Public entity name
RetailStatementTransBIEntity- OData collection
RetailStatementTransBIEntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
No- Configuration key
Retail- Keys
statementId, lineNum- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailStatementTransBIEntities- Dataverse virtual table
mserp_retailstatementtransbientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
RetailStatementTrans· root
Fields (40)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
addedToDrawerAmount added to the cash drawer. | RealRetailAddedToDrawerAmount | No | Yes | RetailStatementTrans.addedToDrawer | |
bankedAmountAmount that was banked. | RealRetailBankedAmount | No | Yes | RetailStatementTrans.bankedAmount | |
bankedAmountMSTBanked amount in the accounting currency. | RealRetailBankedAmountMST | No | Yes | RetailStatementTrans.bankedAmountMST | |
bankedAmountStoreBanked amount in the store's currency. | RealRetailBankedAmountStore | No | Yes | RetailStatementTrans.bankedAmountStore | |
cardFeeAmountFee charged for card payments. | RealRetailCardFeeAmount | No | Yes | RetailStatementTrans.cardFeeAmount | |
cardTypeIdCard type, pointing to the card types set up for payment methods. | StringRetailCardTypeId | No | Yes | RetailTenderTypeCardTable.cardTypeId | RetailStatementTrans.cardTypeId |
CashLaterReturnedAmountCur_RUReturned amount, used for Russia.low confidence | RealAmountCur | No | Yes | RetailStatementTrans.CashLaterReturnedAmountCur_RU | |
changeTenderAmount given back to customers as change. | RealRetailChangeTenderAmount | No | Yes | RetailStatementTrans.changeTender | |
countedAmountAmount counted for the line. | RealRetailCountedAmountCur | No | Yes | RetailStatementTrans.countedAmount | |
countedAmountMSTCounted amount in the accounting currency. | RealRetailCountedAmountMST | No | Yes | RetailStatementTrans.countedAmountMST | |
countedAmountStoreCounted amount in the store's currency. | RealRetailCountedAmountStore | No | Yes | RetailStatementTrans.countedAmountStore | |
currencyCurrency code of the line, pointing to the currency table. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | RetailStatementTrans.currency |
DefaultDimensionFinancial dimension set linked to the line. | Int64DimensionDefault | No | Yes | DimensionAttributeValueSet.RecId | RetailStatementTrans.DefaultDimension |
differenceAmountDifference between the expected and counted amounts. | RealRetailDifferenceAmountCur | No | Yes | RetailStatementTrans.differenceAmount | |
differenceAmountMSTDifference amount in the accounting currency. | RealRetailDifferenceAmountMST | No | Yes | RetailStatementTrans.differenceAmountMST | |
differenceAmountStoreDifference amount in the store's currency. | RealRetailDifferenceAmountStore | No | Yes | RetailStatementTrans.differenceAmountStore | |
inDrawerAtEndOfDayAmount left in the drawer at the end of the day. | RealRetailInDrawerAtEndOfDay | No | Yes | RetailStatementTrans.inDrawerAtEndOfDay | |
lineNumLine number, which together with the statement number identifies the record. | RealLineNum | No | Yes | RetailStatementTrans.lineNum | |
orderInvoiceAmountAmount for orders and invoices on the line. | RealRetailOrderInvoiceAmountCur | No | Yes | RetailStatementTrans.orderInvoiceAmount | |
orderInvoiceAmountMSTOrder and invoice amount in the accounting currency. | RealRetailOrderInvoiceAmountMST | No | Yes | RetailStatementTrans.orderInvoiceAmountMST | |
postedDateDate the line was posted. | DateRetailPostedDate | No | Yes | RetailStatementTrans.postedDate | |
realExchRateExchange rate used for the line. | RealExchRate | No | Yes | RetailStatementTrans.realExchRate | |
removedFromDrawerAmount taken out of the cash drawer. | RealRetailRemovedFromDrawerAmount | No | Yes | RetailStatementTrans.removedFromDrawer | |
replicationCounterCounter used to track replication of the record. | IntegerRetailReplicationCounter | No | Yes | RetailStatementTrans.replicationCounter | |
safeAmountAmount held in the safe. | RealRetailSafeAmount | No | Yes | RetailStatementTrans.safeAmount | |
safeAmountMSTSafe amount in the accounting currency. | RealRetailSafeAmountMST | No | Yes | RetailStatementTrans.safeAmountMST | |
safeAmountStoreSafe amount in the store's currency. | RealRetailSafeAmountStore | No | Yes | RetailStatementTrans.safeAmountStore | |
staffIdID of the operator linked to the line. | String (25)RetailStaffId | No | Yes | RetailStatementTrans.staffId | |
statementCodeCode of the statement. | String (25)RetailStatementCode | No | Yes | RetailStatementTrans.statementCode | |
statementIdNumber of the statement the line belongs to. | String (20)RetailStatementId | Yes | Yes | RetailStatementTable.statementId | RetailStatementTrans.statementId |
storeExchRateExchange rate used for the store currency. | RealExchRate | No | Yes | RetailStatementTrans.storeExchRate | |
storeIdNumber of the store, pointing to the store record. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailStatementTrans.storeId |
tenderTypeIdPayment method, pointing to the payment method record. | StringRetailTenderTypeId | No | Yes | RetailTenderTypeTable.tenderTypeId | RetailStatementTrans.tenderTypeId |
terminalIdNumber of the POS register, pointing to the register record. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailStatementTrans.terminalId |
transAmountTransaction amount of the line. | RealRetailTransAmountCur | No | Yes | RetailStatementTrans.transAmount | |
transAmountInMSTTransaction amount in the accounting currency. | RealRetailTransAmountInMST | No | Yes | RetailStatementTrans.transAmountInMST | |
transAmountStoreTransaction amount in the store's currency. | RealRetailTransAmountStore | No | Yes | RetailStatementTrans.transAmountStore | |
uniqueShiftIdUnique ID of the shift. | String (21)RetailUniqueShiftId | No | Yes | RetailStatementTrans.uniqueShiftId | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | RetailStatementTrans.DataAreaId | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | RetailStatementTrans.RecId |
Foreign keys (7)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
cardTypeId→RetailTenderTypeCardTable.cardTypeId(key of RetailTenderTypeCardTable)Many RetailStatementTrans records → exactly one RetailTenderTypeCardTable record
RetailTenderTypeCardTable details: see RetailTenderTypeCardEntity, RetailChannelEntity
currency→Currency.CurrencyCode(key of Currency)Many RetailStatementTrans records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
DefaultDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many RetailStatementTrans records → exactly one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
statementId→RetailStatementTable.statementId(key of RetailStatementTable)One or more RetailStatementTrans records → exactly one RetailStatementTable record
RetailStatementTable details: see RetailEodStatementAggregationEntity
storeId→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailStatementTrans records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
tenderTypeId→RetailTenderTypeTable.tenderTypeId(key of RetailTenderTypeTable)Many RetailStatementTrans records → exactly one RetailTenderTypeTable record
RetailTenderTypeTable details: see RetailTenderTypeEntity, RetailTenderDiscountEntity
terminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailStatementTrans records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
Need help with RetailStatementTransBIEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.