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 descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
addedToDrawerAmount added to the cash drawer.Real
RetailAddedToDrawerAmount
NoYesRetailStatementTrans.addedToDrawer
bankedAmountAmount that was banked.Real
RetailBankedAmount
NoYesRetailStatementTrans.bankedAmount
bankedAmountMSTBanked amount in the accounting currency.Real
RetailBankedAmountMST
NoYesRetailStatementTrans.bankedAmountMST
bankedAmountStoreBanked amount in the store's currency.Real
RetailBankedAmountStore
NoYesRetailStatementTrans.bankedAmountStore
cardFeeAmountFee charged for card payments.Real
RetailCardFeeAmount
NoYesRetailStatementTrans.cardFeeAmount
cardTypeIdCard type, pointing to the card types set up for payment methods.String
RetailCardTypeId
NoYesRetailTenderTypeCardTable.cardTypeIdRetailStatementTrans.cardTypeId
CashLaterReturnedAmountCur_RUReturned amount, used for Russia.low confidenceReal
AmountCur
NoYesRetailStatementTrans.CashLaterReturnedAmountCur_RU
changeTenderAmount given back to customers as change.Real
RetailChangeTenderAmount
NoYesRetailStatementTrans.changeTender
countedAmountAmount counted for the line.Real
RetailCountedAmountCur
NoYesRetailStatementTrans.countedAmount
countedAmountMSTCounted amount in the accounting currency.Real
RetailCountedAmountMST
NoYesRetailStatementTrans.countedAmountMST
countedAmountStoreCounted amount in the store's currency.Real
RetailCountedAmountStore
NoYesRetailStatementTrans.countedAmountStore
currencyCurrency code of the line, pointing to the currency table.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeRetailStatementTrans.currency
DefaultDimensionFinancial dimension set linked to the line.Int64
DimensionDefault
NoYesDimensionAttributeValueSet.RecIdRetailStatementTrans.DefaultDimension
differenceAmountDifference between the expected and counted amounts.Real
RetailDifferenceAmountCur
NoYesRetailStatementTrans.differenceAmount
differenceAmountMSTDifference amount in the accounting currency.Real
RetailDifferenceAmountMST
NoYesRetailStatementTrans.differenceAmountMST
differenceAmountStoreDifference amount in the store's currency.Real
RetailDifferenceAmountStore
NoYesRetailStatementTrans.differenceAmountStore
inDrawerAtEndOfDayAmount left in the drawer at the end of the day.Real
RetailInDrawerAtEndOfDay
NoYesRetailStatementTrans.inDrawerAtEndOfDay
lineNumLine number, which together with the statement number identifies the record.Real
LineNum
NoYesRetailStatementTrans.lineNum
orderInvoiceAmountAmount for orders and invoices on the line.Real
RetailOrderInvoiceAmountCur
NoYesRetailStatementTrans.orderInvoiceAmount
orderInvoiceAmountMSTOrder and invoice amount in the accounting currency.Real
RetailOrderInvoiceAmountMST
NoYesRetailStatementTrans.orderInvoiceAmountMST
postedDateDate the line was posted.Date
RetailPostedDate
NoYesRetailStatementTrans.postedDate
realExchRateExchange rate used for the line.Real
ExchRate
NoYesRetailStatementTrans.realExchRate
removedFromDrawerAmount taken out of the cash drawer.Real
RetailRemovedFromDrawerAmount
NoYesRetailStatementTrans.removedFromDrawer
replicationCounterCounter used to track replication of the record.Integer
RetailReplicationCounter
NoYesRetailStatementTrans.replicationCounter
safeAmountAmount held in the safe.Real
RetailSafeAmount
NoYesRetailStatementTrans.safeAmount
safeAmountMSTSafe amount in the accounting currency.Real
RetailSafeAmountMST
NoYesRetailStatementTrans.safeAmountMST
safeAmountStoreSafe amount in the store's currency.Real
RetailSafeAmountStore
NoYesRetailStatementTrans.safeAmountStore
staffIdID of the operator linked to the line.String (25)
RetailStaffId
NoYesRetailStatementTrans.staffId
statementCodeCode of the statement.String (25)
RetailStatementCode
NoYesRetailStatementTrans.statementCode
statementIdNumber of the statement the line belongs to.String (20)
RetailStatementId
YesYesRetailStatementTable.statementIdRetailStatementTrans.statementId
storeExchRateExchange rate used for the store currency.Real
ExchRate
NoYesRetailStatementTrans.storeExchRate
storeIdNumber of the store, pointing to the store record.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailStatementTrans.storeId
tenderTypeIdPayment method, pointing to the payment method record.String
RetailTenderTypeId
NoYesRetailTenderTypeTable.tenderTypeIdRetailStatementTrans.tenderTypeId
terminalIdNumber of the POS register, pointing to the register record.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailStatementTrans.terminalId
transAmountTransaction amount of the line.Real
RetailTransAmountCur
NoYesRetailStatementTrans.transAmount
transAmountInMSTTransaction amount in the accounting currency.Real
RetailTransAmountInMST
NoYesRetailStatementTrans.transAmountInMST
transAmountStoreTransaction amount in the store's currency.Real
RetailTransAmountStore
NoYesRetailStatementTrans.transAmountStore
uniqueShiftIdUnique ID of the shift.String (21)
RetailUniqueShiftId
NoYesRetailStatementTrans.uniqueShiftId
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesRetailStatementTrans.DataAreaId
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesRetailStatementTrans.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.

Need help with RetailStatementTransBIEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk