Data entity

SalesOpenSalesLineDiscountJournalLineCDSEntity

Open sales line discount journal lines prepared for Dataverse integration. The key is the trade agreement journal number plus the line number. It adds the product number to the data of the open journal lines entity.

Entity name
SalesOpenSalesLineDiscountJournalLineCDSEntity
Public entity name
CDSOpenSalesLineDiscountJournalLine
OData collection
CDSOpenSalesLineDiscountJournalLines
Category
Not set
Module
Sales and marketing
Read-only
No
Data management enabled
Yes
Configuration key
PriceDisc
Keys
TradeAgreementJournalNumber, LineNumber
Staging table
SalesOpenSalesLineDiscountJournalLineCDSStaging

Use it in Power BI and Power Platform

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

  • SalesOpenSalesLineDiscountJournalLineEntity · root
  • InventDistinctProductExpanded · OuterJoin to SalesOpenSalesLineDiscountJournalLineEntity · read-only

Fields (26)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ProductNumberProduct number shown to users. It identifies the product.String (70)
EcoResProductDisplayProductNumber
NoYesEcoResProduct.DisplayProductNumber
CustomerAccountNumberCustomer account the journal line applies to.String (20)
CustAccount
NoYesNone
DiscountAmountThe price or discount amount on the line, in the currency given on the line.Real
PriceDiscAmount
NoYesPriceDiscAdmTrans.Amount
DiscountApplicableFromDateDate from which the line is valid.Date
FromDate
NoYesPriceDiscAdmTrans.FromDate
DiscountApplicableToDateDate until which the line is valid.Date
ToDate
NoYesPriceDiscAdmTrans.ToDate
DiscountCurrencyCodeCurrency code of the amount on the line.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodePriceDiscAdmTrans.Currency
DiscountPercentage1First discount percentage.Real
DiscPct
NoYesPriceDiscAdmTrans.Percent1
DiscountPercentage2Second discount percentage.Real
DiscPct
NoYesPriceDiscAdmTrans.Percent2
DiscountSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
DiscountWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
FromQuantityLower limit of the quantity or amount range for the line.Real
AmountQty
NoYesPriceDiscAdmTrans.QuantityAmountFrom
IsGenericCurrencySearchEnabledYes/No flag to include the generic currency.Enum
SalesGenericCurrency
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscAdmTrans.GenericCurrency
LineDiscountCustomerGroupCodeCustomer price group the journal line applies to.String
PriceGroupId
NoYesNone
LineDiscountProductGroupCodeProduct price group the journal line applies to.String
PriceGroupId
NoYesNone
LineNumberPosition number of the line in the journal.Real
LineNum
NoYesPriceDiscAdmTrans.LineNum
ProcessingLogLog text for the line, up to 255 characters.String (255)
PriceJournalLogTrans
NoYesPriceDiscAdmTrans.Log
ProductColorIdColour of the product.String
EcoResItemColorName
NoNo (private)EcoResColor.NameInventDim.InventColorId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoNo (private)EcoResConfiguration.NameInventDim.configId
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoNo (private)EcoResSize.NameInventDim.InventSizeId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoNo (private)EcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoNo (private)EcoResVersion.NameInventDim.InventVersionId
QuantityUnitSymbolUnit of measure that the line uses.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolPriceDiscAdmTrans.UnitId
ToQuantityUpper limit of the quantity or amount range for the line.Real
AmountQuantityTo
NoYesPriceDiscAdmTrans.QuantityAmountTo
TradeAgreementJournalNumberNumber of the trade agreement journal that holds this line.String (20)
PriceDiscJournalNum
NoYesPriceDiscAdmTable.JournalNumPriceDiscAdmTrans.JournalNum
WillSearchContinueYes/No flag labelled 'Find next'.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscAdmTrans.SearchAgain
ItemNumberItem the journal line applies to.String (20)
ItemId
NoNo (private)None

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.

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

Email sales@drdynamics.co.uk