Data entity
RetailInfocodeLineV2Entity
Holds info code lines in the second version of the structure. It links entries to sales orders, order lines or journal lines. Each line has the info code, subcode, input type, the information entered and an amount. Compared with the first version, the key also includes the info code line table type.
- Entity name
RetailInfocodeLineV2Entity- Public entity name
InfocodeLineV2- OData collection
InfocodeLinesV2- Category
Not set- Module
Transactions and orders- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
SalesOrderNumber, InventoryLotId, JournalBatchNumber, JournalLineNumber, InfocodeLineType, LineNumber, InfocodeLineTableType- Staging table
RetailInfocodeLineV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/InfocodeLinesV2- Dataverse virtual table
mserp_retailinfocodelinev2entity. 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
RetailInfocodeLineV2· rootSalesTable· InnerJoin toRetailInfocodeLineV2· read-onlySalesLine· OuterJoin toRetailInfocodeLineV2· read-onlyLedgerJournalTrans· OuterJoin toRetailInfocodeLineV2· read-only
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountAmount recorded with the info code entry. | RealAmount | No | Yes | RetailInfocodeLineV2.Amount | |
InformationAmountAmount linked to the reason code entry. | RealRetailInfocodeAmount | No | Yes | RetailInfocodeLineV2.InformationAmount | |
InfocodeIdInfo code used in the entry. | StringRetailInfocodeId | No | Yes | RetailInfocodeTable.infocodeId | RetailInfocodeLineV2.InfocodeId |
InformationText information entered for the info code. | String (100)RetailInfocodeInformation | No | Yes | RetailInfocodeLineV2.Information | |
InputTypeKind of input the info code asks for, such as date, number, text or subcode list. | Enum
| No | Yes | RetailInfocodeLineV2.InputType | |
ItemTenderID number of the product or tender the entry relates to. | StringRetailInfocodeItemTenderId | No | Yes | RetailInfocodeLineV2.ItemTender | |
LineNumberLine number of the entry. | RealLineNum | Yes | Yes | RetailInfocodeLineV2.LineNum | |
SourceCodeFirst source number linked to the entry. | String (20)RetailSourceCodeEx5 | No | Yes | RetailInfocodeLineV2.SourceCode | |
SourceCode2Second source number linked to the entry. | String (20)RetailSourceCodeEx5 | No | Yes | RetailInfocodeLineV2.SourceCode2 | |
SourceCode3Third source number linked to the entry. | String (20)RetailSourceCodeEx5 | No | Yes | RetailInfocodeLineV2.SourceCode3 | |
StatementCodeStatement code of the entry. | String (25)RetailStatementCode | No | Yes | RetailInfocodeLineV2.StatementCode | |
SubInfocodeIdSubcode chosen for the info code. | StringRetailInformationSubcodeId | No | Yes | RetailInformationSubcodeTable.subcodeId | RetailInfocodeLineV2.SubInfocodeId |
InfocodeLineTypeType of transaction the entry belongs to, such as header, sales, payment or no sale. | Enum
| Yes | Yes | RetailInfocodeLineV2.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 |
InfocodeLineTableTypeShows whether the entry relates to a sales order or a quotation. The label is empty. | Enum
| Yes | Yes | RetailInfocodeLineV2.TableType |
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 RetailInfocodeLineV2 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 RetailInfocodeLineV2 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 RetailInfocodeLineV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.