Data entity

RetailTransactionInfoCodeLineEntity

Holds info code entries recorded on retail transactions. Each record is identified by register, transaction type, transaction number, line number, info code ID and operating unit. It stores the input type, subcode, information text, amount, reason code amount, source numbers, operator ID, date and time. It also links to a parent fiscal transaction by GUID.

Entity name
RetailTransactionInfoCodeLineEntity
Public entity name
RetailTransactionInfoCodeLine
OData collection
RetailTransactionInfoCodeLines
Category
Not set
Module
Transactions and orders
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
Terminal, TransactionType, TransactionNumber, LineNumber, InfoCodeId, OperatingUnitNumber
Staging table
RetailTransactionInfoCodeLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailTransactionInfoCodeLines
Dataverse virtual table
mserp_retailtransactioninfocodelineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • RetailTransactionInfocodeTrans · root
  • RetailChannelTable · OuterJoin to RetailTransactionInfocodeTrans · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable

Fields (25)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountAmount stored with the info code entry.Real
Amount
NoYesRetailTransactionInfocodeTrans.amount
ChannelRetail channel the transaction belongs to, pointing to the channel record.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailTransactionInfocodeTrans.Channel
InfoCodeIdNumber of the info code, pointing to the info code record.String
RetailInfocodeId
NoYesRetailInfocodeTable.infocodeIdRetailTransactionInfocodeTrans.infocodeId
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
LineNumberLine number of the info code entry.Real
LineNum
NoYesRetailTransactionInfocodeTrans.lineNum
ParentLineNumberLine number of the parent line, a fiscal or sales line, that the entry belongs to.Real
LineNum
NoYesRetailTransactionSalesTrans.lineNumRetailTransactionInfocodeTrans.parentLineNum
SourceCodeSource number linked to the entry.low confidenceString (20)
RetailSourceCodeEx5
NoYesRetailTransactionInfocodeTrans.sourceCode
SourceCodeTwoSecond source number linked to the entry.low confidenceString (20)
RetailSourceCodeEx5
NoYesRetailTransactionInfocodeTrans.sourceCode2
SourceCodeThreeThird source number linked to the entry.low confidenceString (20)
RetailSourceCodeEx5
NoYesRetailTransactionInfocodeTrans.sourceCode3
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
TransactionNumberNumber 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
TransactionTypeKind 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
RetailChannelTableOMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OperatingUnitNumberThe number that identifies the operating unit.String (30)
OMOperatingUnitNumber
YesYesOMOperatingUnit.OMOperatingUnitNumber
FiscalTransactionParentGuidGUID of the parent fiscal transaction record, when the entry belongs to one.Guid
SysGuid
NoYesRetailTransactionFiscalTrans.RecordGuidRetailTransactionInfocodeTrans.fiscalTransParentGuid
businessDateDate of the entry.Date
TransDate
NoYesRetailTransactionInfocodeTrans.businessDate
infoAmountAmount linked to the reason code entry.Real
RetailInfocodeAmount
NoYesRetailTransactionInfocodeTrans.infoAmount
informationText entered or chosen for the info code.String (100)
RetailInfocodeInformation
NoYesRetailTransactionInfocodeTrans.information
staffID of the operator who handled the transaction.String (25)
RetailStaffId
NoYesRetailTransactionInfocodeTrans.staff
transDateDate of the transaction.Date
TransDate
NoYesRetailTransactionInfocodeTrans.transDate
transTimeTime of the transaction.Time
RetailTransTime
NoYesRetailTransactionInfocodeTrans.transTime
StoreNumberNumber of the store where the transaction took place.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailTransactionInfocodeTrans.store

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

  • ParentLineNumber → RetailTransactionSalesTrans.lineNum (key of RetailTransactionSalesTrans)

    Join on all of: ParentLineNumber = RetailTransactionSalesTrans.lineNum, Channel = RetailTransactionSalesTrans.Channel, TransactionNumber = RetailTransactionSalesTrans.transactionId, StoreNumber = RetailTransactionSalesTrans.store, Terminal = RetailTransactionSalesTrans.terminalId

    Many RetailTransactionInfocodeTrans records → zero or one RetailTransactionSalesTrans record

    RetailTransactionSalesTrans details: see RetailTransactionSalesLineEntity, RetailTransactionSalesLineV2Entity, RetailTransactionSalesTransBIEntity

  • Terminal → RetailTerminalTable.terminalId (key of RetailTerminalTable)

    Many RetailTransactionInfocodeTrans records → exactly one RetailTerminalTable record

    RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity

  • TransactionNumber → RetailTransactionTable.transactionId (key of RetailTransactionTable)

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

    Many RetailTransactionInfocodeTrans records → zero or one RetailTransactionTable record

    RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity

  • RetailChannelTableOMOperatingUnitID → OMOperatingUnit.RecId (key of OMOperatingUnit)

    Zero or one RetailChannelTable record → exactly one OMOperatingUnit record

    OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity

  • FiscalTransactionParentGuid → RetailTransactionFiscalTrans.RecordGuid (key of RetailTransactionFiscalTrans)

    Join on all of: FiscalTransactionParentGuid = RetailTransactionFiscalTrans.RecordGuid, TransactionNumber = RetailTransactionFiscalTrans.TransactionId, StoreNumber = RetailTransactionFiscalTrans.Store, Terminal = RetailTransactionFiscalTrans.Terminal, Channel = RetailTransactionFiscalTrans.Channel, ParentLineNumber = RetailTransactionFiscalTrans.LineNum

    Relation also requires type = RetailInfocodeTransType::Fiscal.

    Many RetailTransactionInfocodeTrans records → exactly one RetailTransactionFiscalTrans record

    RetailTransactionFiscalTrans details: see RetailTransactionFiscalTransEntity, RetailTransactionFiscalTransBIEntity

  • StoreNumber → RetailStoreTable.StoreNumber (key of RetailStoreTable)

    Many RetailTransactionInfocodeTrans records → exactly one RetailStoreTable record

    RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity

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

Email sales@drdynamics.co.uk