Data entity
RetailIncomeExpenseAccountEntity
Holds income and expense accounts for each store, identified by store number and account number. Each record has a name, search name, account type, and text lines for messages and slips. It also shows the linked ledger dimension combination.
- Entity name
RetailIncomeExpenseAccountEntity- Public entity name
IncomeExpenseAccount- OData collection
IncomeExpenseAccounts- Category
Not set- Module
Transactions and orders- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
StoreNumber, AccountNumber- Staging table
RetailIncomeExpenseAccountStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/IncomeExpenseAccounts- Dataverse virtual table
mserp_retailincomeexpenseaccountentity. 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
RetailIncomeExpenseAccountTable· rootLedgerAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toRetailIncomeExpenseAccountTable· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountNumberNumber that identifies the income or expense account within the store. | StringRetailIncomeExepenseAccount | Yes | Yes | RetailIncomeExpenseAccountTable.accountNum | |
AccountTypeShows whether the account records income or expense. | EnumRetailIncomeExpenseAccountType
| No | Yes | RetailIncomeExpenseAccountTable.accountType | |
LedgerAccountLedger account, with its dimensions, linked to this account. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | RetailIncomeExpenseAccountTable.LedgerDimension |
MessageLine1First line of message text. | String (30)RetailMessageLine | No | Yes | RetailIncomeExpenseAccountTable.messageLine1 | |
MessageLine2Second line of message text. | String (30)RetailMessageLine | No | Yes | RetailIncomeExpenseAccountTable.messageLine2 | |
NameName of the account. | String (60)RetailIncomeExpenseAccountName | No | Yes | RetailIncomeExpenseAccountTable.name | |
SearchNameShort name used to search for the account. | String (20)NameAlias | No | Yes | RetailIncomeExpenseAccountTable.nameAlias | |
SlipText1First line of text for the slip. | String (30)RetailSlipText | No | Yes | RetailIncomeExpenseAccountTable.slipText1 | |
SlipText2Second line of text for the slip. | String (30)RetailSlipText | No | Yes | RetailIncomeExpenseAccountTable.slipText2 | |
StoreNumberStore the account belongs to. | StringRetailStoreId | Yes | Yes | RetailStoreTable.StoreNumber | RetailIncomeExpenseAccountTable.storeId |
LedgerAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
Foreign keys (2)
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.
LedgerAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many RetailIncomeExpenseAccountTable records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
StoreNumber→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailIncomeExpenseAccountTable records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
Need help with RetailIncomeExpenseAccountEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.