Data entity

RetailTransactionInfocodeTransBIEntity

Entity for BI and analytics that holds info code entries recorded on retail transactions. Records include the info code number, the information entered, input type, subcode, source numbers and a reason code amount. The key is store, register, transaction number, line number and channel.

Entity name
RetailTransactionInfocodeTransBIEntity
Public entity name
RetailTransactionInfocodeTransBIEntity
OData collection
RetailTransactionInfocodeTransBIEntities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
No
Configuration key
Retail
Keys
store, terminal, transactionId, lineNum, Channel
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailTransactionInfocodeTransBIEntities
Dataverse virtual table
mserp_retailtransactioninfocodetransbientity. 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

  • RetailTransactionInfocodeTrans · root

Fields (30)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
amountAmount stored with the info code entry.Real
Amount
NoYesRetailTransactionInfocodeTrans.amount
businessDateDate of the entry.Date
TransDate
NoYesRetailTransactionInfocodeTrans.businessDate
ChannelRetail channel the transaction belongs to, pointing to the channel record.Int64
RefRecId
NoYesRetailChannelTable.RecIdRetailTransactionInfocodeTrans.Channel
counterCounter value stored with the entry.low confidenceInteger
RetailCounter
NoYesRetailTransactionInfocodeTrans.counter
infoAmountAmount linked to the reason code entry.Real
RetailInfocodeAmount
NoYesRetailTransactionInfocodeTrans.infoAmount
infocodeIdNumber of the info code, pointing to the info code record.String
RetailInfocodeId
NoYesRetailInfocodeTable.infocodeIdRetailTransactionInfocodeTrans.infocodeId
informationText entered or chosen for the info code.String (100)
RetailInfocodeInformation
NoYesRetailTransactionInfocodeTrans.information
inputTypeKind of input the info code asks for, such as text, date, numeric, product or customer.Enum
RetailInfocodeInputType
  • None 0
  • SubCode 1
  • Date_ 2
  • Numeric 3
  • Item 4
  • Customer 5
  • Staff 6
  • Text 9
  • SubcodeButtons 10
  • AgeLimit 11
NoYesRetailTransactionInfocodeTrans.inputType
itemTenderID number of the item or tender linked to the entry.String
RetailInfocodeItemTenderId
NoYesRetailTransactionInfocodeTrans.itemTender
lineNumLine number of the info code entry.Real
LineNum
NoYesRetailTransactionInfocodeTrans.lineNum
OriginNumber of the location where the record originated.String (50)
RetailConnDistributionLocationId
NoYesRetailTransactionInfocodeTrans.Origin
parentLineNumLine number of the parent line, a fiscal or sales line, that the entry belongs to.Real
LineNum
NoYesRetailTransactionSalesTrans.lineNumRetailTransactionInfocodeTrans.parentLineNum
replicatedYes/No flag showing whether the record has been replicated.Enum
RetailReplicated
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionInfocodeTrans.replicated
replicationCounterFromOriginCounter used to track replication of the record from where it was created.Integer
RetailReplicationCounter
NoYesRetailTransactionInfocodeTrans.replicationCounterFromOrigin
sourceCodeSource number linked to the entry.low confidenceString (20)
RetailSourceCodeEx5
NoYesRetailTransactionInfocodeTrans.sourceCode
sourceCode2Second source number linked to the entry.low confidenceString (20)
RetailSourceCodeEx5
NoYesRetailTransactionInfocodeTrans.sourceCode2
sourceCode3Third source number linked to the entry.low confidenceString (20)
RetailSourceCodeEx5
NoYesRetailTransactionInfocodeTrans.sourceCode3
staffID of the operator who handled the transaction.String (25)
RetailStaffId
NoYesRetailTransactionInfocodeTrans.staff
statementCodeCode of the statement that the entry is assigned to.String (25)
RetailStatementCode
NoYesRetailTransactionInfocodeTrans.statementCode
statementIdNumber of the statement that includes this entry, pointing to the statement record.String (20)
RetailStatementId
NoYesRetailStatementTable.statementIdRetailTransactionInfocodeTrans.statementId
storeNumber of the store where the transaction took place.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailTransactionInfocodeTrans.store
subInfocodeIdNumber of the subcode chosen for the info code.String
RetailInformationSubcodeId
NoYesRetailTransactionInfocodeTrans.subInfocodeId
terminalNumber of the POS register that handled the transaction.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionInfocodeTrans.terminal
transactionIdNumber of the retail transaction that the entry belongs to.String (44)
RetailTransactionId
NoYesRetailTransactionTable.transactionIdRetailTransactionInfocodeTrans.transactionId
transactionStatusStatus of the entry, for example voided, posted, concluded or on hold.Enum
RetailTransEntryStatus
RetailEntryStatus
  • None 0
  • Voided 1
  • Posted 2
  • Concluded 3
  • Cancelled 4
  • OnHold 5
  • Training 6
  • PendingInvoice 7
  • CreatingOrder 8
NoYesRetailTransactionInfocodeTrans.transactionStatus
transDateDate of the transaction.Date
TransDate
NoYesRetailTransactionInfocodeTrans.transDate
transTimeTime of the transaction.Time
RetailTransTime
NoYesRetailTransactionInfocodeTrans.transTime
typeKind of transaction line the entry belongs to, such as header, sales, payment, income/expense or fiscal.Enum
RetailInfocodeTransType
  • Header 0
  • Sales 1
  • Payment 2
  • IncomeExpense 3
  • NoSale 4
  • Affiliation 5
  • Fiscal 6
NoYesRetailTransactionInfocodeTrans.type
fiscalTransParentGuidGUID of the parent fiscal transaction record, when the entry belongs to one.Guid
SysGuid
NoYesRetailTransactionFiscalTrans.RecordGuidRetailTransactionInfocodeTrans.fiscalTransParentGuid
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesRetailTransactionInfocodeTrans.DataAreaId

Foreign keys (8)

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.

  • Channel → RetailChannelTable.RecId (key of RetailChannelTable)

    Many RetailTransactionInfocodeTrans records → zero or one RetailChannelTable record

    RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity

  • infocodeId → RetailInfocodeTable.infocodeId (key of RetailInfocodeTable)

    Many RetailTransactionInfocodeTrans records → exactly one RetailInfocodeTable record

    RetailInfocodeTable details: see RetailInfocodeTranslationEntity, RetailInfocodeEntity

  • parentLineNum → RetailTransactionSalesTrans.lineNum (key of RetailTransactionSalesTrans)

    Join on all of: parentLineNum = RetailTransactionSalesTrans.lineNum, Channel = RetailTransactionSalesTrans.Channel, transactionId = RetailTransactionSalesTrans.transactionId, store = RetailTransactionSalesTrans.store, terminal = RetailTransactionSalesTrans.terminalId

    Many RetailTransactionInfocodeTrans records → zero or one RetailTransactionSalesTrans record

    RetailTransactionSalesTrans details: see RetailTransactionSalesLineEntity, RetailTransactionSalesLineV2Entity, RetailTransactionSalesTransBIEntity

  • statementId → RetailStatementTable.statementId (key of RetailStatementTable)

    Many RetailTransactionInfocodeTrans records → exactly one RetailStatementTable record

    RetailStatementTable details: see RetailEodStatementAggregationEntity

  • store → RetailStoreTable.StoreNumber (key of RetailStoreTable)

    Many RetailTransactionInfocodeTrans records → exactly one RetailStoreTable record

    RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity

  • terminal → RetailTerminalTable.terminalId (key of RetailTerminalTable)

    Many RetailTransactionInfocodeTrans records → exactly one RetailTerminalTable record

    RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity

  • transactionId → RetailTransactionTable.transactionId (key of RetailTransactionTable)

    Join on all of: transactionId = RetailTransactionTable.transactionId, store = RetailTransactionTable.store, terminal = RetailTransactionTable.terminal, Channel = RetailTransactionTable.Channel

    Many RetailTransactionInfocodeTrans records → zero or one RetailTransactionTable record

    RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity

  • fiscalTransParentGuid → RetailTransactionFiscalTrans.RecordGuid (key of RetailTransactionFiscalTrans)

    Join on all of: fiscalTransParentGuid = RetailTransactionFiscalTrans.RecordGuid, transactionId = RetailTransactionFiscalTrans.TransactionId, store = RetailTransactionFiscalTrans.Store, terminal = RetailTransactionFiscalTrans.Terminal, Channel = RetailTransactionFiscalTrans.Channel, parentLineNum = RetailTransactionFiscalTrans.LineNum

    Relation also requires type = RetailInfocodeTransType::Fiscal.

    Many RetailTransactionInfocodeTrans records → exactly one RetailTransactionFiscalTrans record

    RetailTransactionFiscalTrans details: see RetailTransactionFiscalTransEntity, RetailTransactionFiscalTransBIEntity

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

Email sales@drdynamics.co.uk