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· rootSalesTable· InnerJoin toRetailInfocodeLine· read-onlySalesLine· OuterJoin toRetailInfocodeLine· read-onlyLedgerJournalTrans· OuterJoin toRetailInfocodeLine· read-only
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountAmount recorded with the info code entry. | RealAmount | No | Yes | RetailInfocodeLine.Amount | |
InformationAmountAmount linked to the reason code entry. | RealRetailInfocodeAmount | No | Yes | RetailInfocodeLine.InformationAmount | |
InfocodeIdInfo code used in the entry. | StringRetailInfocodeId | No | Yes | RetailInfocodeTable.infocodeId | RetailInfocodeLine.InfocodeId |
InformationText information entered for the info code. | String (100)RetailInfocodeInformation | No | Yes | RetailInfocodeLine.Information | |
InputTypeKind of input the info code asks for, such as date, number, text or subcode list. | Enum
| No | Yes | RetailInfocodeLine.InputType | |
ItemTenderID number of the product or tender the entry relates to. | StringRetailInfocodeItemTenderId | No | Yes | RetailInfocodeLine.ItemTender | |
LineNumberLine number of the entry. | RealLineNum | Yes | Yes | RetailInfocodeLine.LineNum | |
SourceCodeFirst source number linked to the entry. | String (20)RetailSourceCodeEx5 | No | Yes | RetailInfocodeLine.SourceCode | |
SourceCode2Second source number linked to the entry. | String (20)RetailSourceCodeEx5 | No | Yes | RetailInfocodeLine.SourceCode2 | |
SourceCode3Third source number linked to the entry. | String (20)RetailSourceCodeEx5 | No | Yes | RetailInfocodeLine.SourceCode3 | |
StatementCodeStatement code of the entry. | String (25)RetailStatementCode | No | Yes | RetailInfocodeLine.StatementCode | |
SubInfocodeIdSubcode chosen for the info code. | StringRetailInformationSubcodeId | No | Yes | RetailInformationSubcodeTable.subcodeId | RetailInfocodeLine.SubInfocodeId |
InfocodeLineTypeType of transaction the entry belongs to, such as header, sales, payment or no sale. | Enum
| Yes | Yes | RetailInfocodeLine.Type | |
SalesOrderNumberSales order number that identifies the order. | String (20)SalesIdBase | Yes | Yes | SalesTable.SalesId | |
InventoryLotIdLot ID that uniquely identifies the line and links it to inventory transactions. | String (20)TradeInventTransId | No | Yes | InventTransOrigin.InventTransId | SalesLine.InventTransId |
JournalBatchNumberNumber of the journal batch that the line belongs to. | String (20)LedgerJournalId | No | Yes | LedgerJournalTable.JournalNum | LedgerJournalTrans.JournalNum |
JournalLineNumberLine number within the journal. | RealLineNum | No | Yes | BankPaymentOrderJour_RU.JournalLineNum | LedgerJournalTrans.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.infocodeIdMany 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.VoucherMany 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.