Data entity

RetailInfocodeLineEntity

Holds info code lines, which record the info code entries linked to a sales order, an order line or a journal line. Each line has the info code, subcode, input type, the information entered, an amount and a statement code. The key mixes sales order, lot, journal batch, journal line, line type and line number.

Entity name
RetailInfocodeLineEntity
Public entity name
InfocodeLine
OData collection
InfocodeLines
Category
Not set
Module
Transactions and orders
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
SalesOrderNumber, InventoryLotId, JournalBatchNumber, JournalLineNumber, InfocodeLineType, LineNumber
Staging table
RetailInfocodeLineStaging

Use it in Power BI and Power Platform

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

  • RetailInfocodeLine · root
  • SalesTable · InnerJoin to RetailInfocodeLine · read-only
  • SalesLine · OuterJoin to RetailInfocodeLine · read-only
  • LedgerJournalTrans · OuterJoin to RetailInfocodeLine · read-only

Fields (17)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountAmount recorded with the info code entry.Real
Amount
NoYesRetailInfocodeLine.Amount
InformationAmountAmount linked to the reason code entry.Real
RetailInfocodeAmount
NoYesRetailInfocodeLine.InformationAmount
InfocodeIdInfo code used in the entry.String
RetailInfocodeId
NoYesRetailInfocodeTable.infocodeIdRetailInfocodeLine.InfocodeId
InformationText information entered for the info code.String (100)
RetailInfocodeInformation
NoYesRetailInfocodeLine.Information
InputTypeKind of input the info code asks for, such as date, number, text or subcode list.Enum
RetailInfocodeInputType
  • None 0
  • SubCode 1
  • Date_ 2
  • Numeric 3
  • Item 4
  • Customer 5
  • Staff 6
  • Text 9
  • SubcodeButtons 10
  • AgeLimit 11
NoYesRetailInfocodeLine.InputType
ItemTenderID number of the product or tender the entry relates to.String
RetailInfocodeItemTenderId
NoYesRetailInfocodeLine.ItemTender
LineNumberLine number of the entry.Real
LineNum
YesYesRetailInfocodeLine.LineNum
SourceCodeFirst source number linked to the entry.String (20)
RetailSourceCodeEx5
NoYesRetailInfocodeLine.SourceCode
SourceCode2Second source number linked to the entry.String (20)
RetailSourceCodeEx5
NoYesRetailInfocodeLine.SourceCode2
SourceCode3Third source number linked to the entry.String (20)
RetailSourceCodeEx5
NoYesRetailInfocodeLine.SourceCode3
StatementCodeStatement code of the entry.String (25)
RetailStatementCode
NoYesRetailInfocodeLine.StatementCode
SubInfocodeIdSubcode chosen for the info code.String
RetailInformationSubcodeId
NoYesRetailInformationSubcodeTable.subcodeIdRetailInfocodeLine.SubInfocodeId
InfocodeLineTypeType of transaction the entry belongs to, such as header, sales, payment or no sale.Enum
RetailInfocodeTransType
  • Header 0
  • Sales 1
  • Payment 2
  • IncomeExpense 3
  • NoSale 4
  • Affiliation 5
  • Fiscal 6
YesYesRetailInfocodeLine.Type
SalesOrderNumberSales order number that identifies the order.String (20)
SalesIdBase
YesYesSalesTable.SalesId
InventoryLotIdLot ID that uniquely identifies the line and links it to inventory transactions.String (20)
TradeInventTransId
NoYesInventTransOrigin.InventTransIdSalesLine.InventTransId
JournalBatchNumberNumber of the journal batch that the line belongs to.String (20)
LedgerJournalId
NoYesLedgerJournalTable.JournalNumLedgerJournalTrans.JournalNum
JournalLineNumberLine number within the journal.Real
LineNum
NoYesBankPaymentOrderJour_RU.JournalLineNumLedgerJournalTrans.LineNum

Foreign keys (5)

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.

  • InfocodeId → RetailInfocodeTable.infocodeId (key of RetailInfocodeTable)

    Many RetailInfocodeLine records → exactly one RetailInfocodeTable record

    RetailInfocodeTable details: see RetailInfocodeTranslationEntity, RetailInfocodeEntity

  • SubInfocodeId → RetailInformationSubcodeTable.subcodeId (key of RetailInformationSubcodeTable)

    Join on all of: SubInfocodeId = RetailInformationSubcodeTable.subcodeId, InfocodeId = RetailInformationSubcodeTable.infocodeId

    Many RetailInfocodeLine records → exactly one RetailInformationSubcodeTable record

    RetailInformationSubcodeTable details: see RetailInformationSubcodeEntity, RetailInformationSubcodeTranslationEntity

  • InventoryLotId → InventTransOrigin.InventTransId (key of InventTransOrigin)

    Zero or one SalesLine record → zero or one InventTransOrigin record

    InventTransOrigin details: see WHSOrderCommittedLicensePlateReservationEntity, InventTransOriginBiEntity, InventTransOriginCDREntity

  • JournalBatchNumber → LedgerJournalTable.JournalNum (key of LedgerJournalTable)

    Many LedgerJournalTrans records → exactly one LedgerJournalTable record

    LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity

  • JournalLineNumber → BankPaymentOrderJour_RU.JournalLineNum (key of BankPaymentOrderJour_RU)

    Join on all of: JournalLineNumber = BankPaymentOrderJour_RU.JournalLineNum, TransDate (table field, not in this entity) = BankPaymentOrderJour_RU.JournalTransDate, AccountType (table field, not in this entity) = BankPaymentOrderJour_RU.LedgerACType, JournalBatchNumber = BankPaymentOrderJour_RU.JournalNum, Voucher (table field, not in this entity) = BankPaymentOrderJour_RU.Voucher

    Many LedgerJournalTrans records → exactly one BankPaymentOrderJour_RU record

    BankPaymentOrderJour_RU details: see BankClientOutPaymentLogEntity

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

Email sales@drdynamics.co.uk