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· rootRetailChannelTable· OuterJoin toRetailTransactionInfocodeTrans· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailMCRChannelTable· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTable
Fields (25)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountAmount stored with the info code entry. | RealAmount | No | Yes | RetailTransactionInfocodeTrans.amount | |
ChannelRetail channel the transaction belongs to, pointing to the channel record. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailTransactionInfocodeTrans.Channel |
InfoCodeIdNumber of the info code, pointing to the info code record. | StringRetailInfocodeId | No | Yes | RetailInfocodeTable.infocodeId | RetailTransactionInfocodeTrans.infocodeId |
InputTypeKind of input the info code asks for, such as text, date, numeric, product or customer. | Enum
| No | Yes | RetailTransactionInfocodeTrans.inputType | |
ItemTenderID number of the item or tender linked to the entry. | StringRetailInfocodeItemTenderId | No | Yes | RetailTransactionInfocodeTrans.itemTender | |
LineNumberLine number of the info code entry. | RealLineNum | No | Yes | RetailTransactionInfocodeTrans.lineNum | |
ParentLineNumberLine number of the parent line, a fiscal or sales line, that the entry belongs to. | RealLineNum | No | Yes | RetailTransactionSalesTrans.lineNum | RetailTransactionInfocodeTrans.parentLineNum |
SourceCodeSource number linked to the entry.low confidence | String (20)RetailSourceCodeEx5 | No | Yes | RetailTransactionInfocodeTrans.sourceCode | |
SourceCodeTwoSecond source number linked to the entry.low confidence | String (20)RetailSourceCodeEx5 | No | Yes | RetailTransactionInfocodeTrans.sourceCode2 | |
SourceCodeThreeThird source number linked to the entry.low confidence | String (20)RetailSourceCodeEx5 | No | Yes | RetailTransactionInfocodeTrans.sourceCode3 | |
SubInfoCodeIdNumber of the subcode chosen for the info code. | StringRetailInformationSubcodeId | No | Yes | RetailTransactionInfocodeTrans.subInfocodeId | |
TerminalNumber of the POS register that handled the transaction. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailTransactionInfocodeTrans.terminal |
TransactionNumberNumber of the retail transaction that the entry belongs to. | String (44)RetailTransactionId | No | Yes | RetailTransactionTable.transactionId | RetailTransactionInfocodeTrans.transactionId |
TransactionStatusStatus of the entry, for example voided, posted, concluded or on hold. | EnumRetailTransEntryStatus
| No | Yes | RetailTransactionInfocodeTrans.transactionStatus | |
TransactionTypeKind of transaction line the entry belongs to, such as header, sales, payment, income/expense or fiscal. | Enum
| No | Yes | RetailTransactionInfocodeTrans.type | |
RetailChannelTableOMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OperatingUnitNumberThe number that identifies the operating unit. | String (30)OMOperatingUnitNumber | Yes | Yes | OMOperatingUnit.OMOperatingUnitNumber | |
FiscalTransactionParentGuidGUID of the parent fiscal transaction record, when the entry belongs to one. | GuidSysGuid | No | Yes | RetailTransactionFiscalTrans.RecordGuid | RetailTransactionInfocodeTrans.fiscalTransParentGuid |
businessDateDate of the entry. | DateTransDate | No | Yes | RetailTransactionInfocodeTrans.businessDate | |
infoAmountAmount linked to the reason code entry. | RealRetailInfocodeAmount | No | Yes | RetailTransactionInfocodeTrans.infoAmount | |
informationText entered or chosen for the info code. | String (100)RetailInfocodeInformation | No | Yes | RetailTransactionInfocodeTrans.information | |
staffID of the operator who handled the transaction. | String (25)RetailStaffId | No | Yes | RetailTransactionInfocodeTrans.staff | |
transDateDate of the transaction. | DateTransDate | No | Yes | RetailTransactionInfocodeTrans.transDate | |
transTimeTime of the transaction. | TimeRetailTransTime | No | Yes | RetailTransactionInfocodeTrans.transTime | |
StoreNumberNumber of the store where the transaction took place. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionInfocodeTrans.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.terminalIdMany 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.ChannelMany 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.LineNumRelation 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.