Data entity
MCROpenSalesPostageDiscountJournalLineCDSEntity
Dataverse version of open sales postage discount journal lines, keyed by journal number and line number. Each line holds price groups, customer account, product number, site, warehouse, unit, quantity range and validity dates. It also holds an amount with currency and two discount percentages. It joins to expanded product data.
- Entity name
MCROpenSalesPostageDiscountJournalLineCDSEntity- Public entity name
CDSOpenSalesPostageDiscountJournalLine- OData collection
CDSOpenSalesPostageDiscountJournalLines- Category
Not set- Module
Sales and marketing- Read-only
No- Data management enabled
Yes- Configuration key
PriceDisc- Keys
JournalNumber, LineNumber- Staging table
MCROpenSalesPostageDiscountJournalLineCDSStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CDSOpenSalesPostageDiscountJournalLines- Dataverse virtual table
mserp_mcropensalespostagediscountjournallinecdsentity. 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
MCROpenSalesPostageDiscountJournalLineEntity· rootInventDistinctProductExpanded· OuterJoin toMCROpenSalesPostageDiscountJournalLineEntity· read-only
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ProductNumberProduct number shown to users. It identifies the product. | String (70)EcoResProductDisplayProductNumber | No | Yes | EcoResProduct.DisplayProductNumber | |
CustomerAccountNumberCustomer account the journal line applies to. | String (20)CustAccount | No | Yes | None | |
DiscountAmountThe price or discount amount on the line, in the currency given on the line. | RealPriceDiscAmount | No | Yes | PriceDiscAdmTrans.Amount | |
DiscountApplicableFromDateDate from which the line is valid. | DateFromDate | No | Yes | PriceDiscAdmTrans.FromDate | |
DiscountApplicableToDateDate until which the line is valid. | DateToDate | No | Yes | PriceDiscAdmTrans.ToDate | |
DiscountCurrencyCodeCurrency code of the amount on the line. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | PriceDiscAdmTrans.Currency |
DiscountPercentage1First discount percentage. | RealDiscPct | No | Yes | PriceDiscAdmTrans.Percent1 | |
DiscountPercentage2Second discount percentage. | RealDiscPct | No | Yes | PriceDiscAdmTrans.Percent2 | |
DiscountSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
DiscountWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
IsContinuedSearchEnabledYes/No flag labelled 'Find next'. | Enum
| No | Yes | PriceDiscAdmTrans.SearchAgain | |
ItemNumberItem the journal line applies to. | String (20)ItemId | No | No (private) | None | |
JournalNumberNumber of the trade agreement journal that holds this line. | String (20)PriceDiscJournalNum | No | Yes | PriceDiscAdmTable.JournalNum | PriceDiscAdmTrans.JournalNum |
LineNumberPosition number of the line in the journal. | RealLineNum | No | Yes | PriceDiscAdmTrans.LineNum | |
LogLog text for the line, up to 255 characters. | String (255)PriceJournalLogTrans | No | Yes | PriceDiscAdmTrans.Log | |
PostageDiscountCustomerGroupCodePrice group code the journal line applies to. | StringPriceGroupId | No | Yes | None | |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | No (private) | EcoResColor.Name | InventDim.InventColorId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | No (private) | EcoResVersion.Name | InventDim.InventVersionId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | No (private) | EcoResConfiguration.Name | InventDim.configId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | No (private) | EcoResSize.Name | InventDim.InventSizeId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | No (private) | EcoResStyle.Name | InventDim.InventStyleId |
QuantityFromLower limit of the quantity or amount range for the line. | RealAmountQty | No | Yes | PriceDiscAdmTrans.QuantityAmountFrom | |
QuantityToUpper limit of the quantity or amount range for the line. | RealAmountQuantityTo | No | Yes | PriceDiscAdmTrans.QuantityAmountTo | |
QuantityUnitSymbolUnit of measure that the line uses. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | PriceDiscAdmTrans.UnitId |
Foreign keys (10)
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.
DiscountCurrencyCode→Currency.CurrencyCode(key of Currency)Many PriceDiscAdmTrans records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
DiscountSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
DiscountWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
JournalNumber→PriceDiscAdmTable.JournalNum(key of PriceDiscAdmTable)Many PriceDiscAdmTrans records → zero or one PriceDiscAdmTable record
PriceDiscAdmTable details: see GUPOpenTradeAgreementJournalEntity, TradeAgreementJournalHeaderEntity, TradeOpenTradeAgreementJournalHeaderV2Entity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
QuantityUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many PriceDiscAdmTrans records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
Need help with MCROpenSalesPostageDiscountJournalLineCDSEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.