web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Mapping OpenSalesPriceJournalLine to Trade agreement when importing

(0) ShareShare
ReportReport
Posted on by 300

I intend to create a new Sales Price Trade agreement from an existing one, where all the data stays the same but the price, fromdate and toData.

I used to import journals into AX2012 through the AIF service PriceDiscountJournalService using entities AxdPriceDiscountJournal and AxdEntity_PriceDiscAdmTrans which mapped nicely to the fields required in the PriceDiscTable

I now need to do the same thing in D365 using OData and I'm trying to use the OpenSalesPriceJournalLine entity, however the fields do not seem to match up as nicely with the PriceDiscTable

e.g. OpenSalesPriceJournalLine contains the following fields I am unsure on. B

QuantityUnitSymbol
ProductConfigurationId
ProductSizeId
PriceWarehouseId
ProductColorId
IsGenericCurrencySearchEnabled
WillDeliveryDateControlDisregardLeadTime
ProductStyleId
SalesLeadTimeDays
ProcessingLog
SalesPriceQuantity
AttributeBasedPricingId
FixedPriceCharges
WillSearchContinue
PriceSiteId

By leaving them blank do I risk creating Trade agreements that are different from the original? Am I using the wrong entity, or an I missing something?

I have the same question (0)
  • Verified answer
    Sergei Minozhenko Profile Picture
    23,097 on at

    Hi Richierich79,

    In D365 for entities, MS is using user-friendly namings for fields.

    For example WillSearchContinue - PriceDiscAdmTrans.SearchAgain.

    If you have access to Dev machine, you can open an entity in AOT and select field properties to find system field name.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    305,173 Super User 2026 Season 1 on at

    Hi richierich79,

    Some fields are required to use, but also depends on your scenarios. E.g. do you have pricing per color or not.

    You can actually first export a current set of data using the entity to see which columns do have what exact value. Then you will have the answer based on the usage of your own environment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 797

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 589 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 534

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans