Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Determine price coming from trade agreement

(0) ShareShare
ReportReport
Posted on by 577

I always get returned value true from priceAgreementExists() from purchline

_PurchLine.salesPurchLineInterface().priceAgreementExists(_PurchLine.inventDim())

How can I know the price coming from the trade agreement or the price of InventTableModule?

If it comes from the trade agreement, how can I know the record id of  trade agreement?

  • Tony Mok Profile Picture
    577 on at
    RE: Determine price coming from trade agreement

    Christoph Thaler , MATTGUO, thank you. That is what I need.

  • Tony Mok Profile Picture
    577 on at
    RE: Determine price coming from trade agreement

    I reset the data usage and it works. Thanks all.

  • Suggested answer
    Christoph Thaler Profile Picture
    5,442 on at
    RE: Determine price coming from trade agreement

    Did you refresh the form? Maybe it‘s a kind of caching issue...

  • MATTGUO Profile Picture
    22,319 Moderator on at
    RE: Determine price coming from trade agreement

    Hi,

    After enabling it, do you refreash the PO page with F5?

    If it still does not work, please try to clear the personalization.

    Is the user admin role to open PO?

  • Tony Mok Profile Picture
    577 on at
    RE: Determine price coming from trade agreement

    Enabled.

    pastedimage1584583741363v1.png

  • MATTGUO Profile Picture
    22,319 Moderator on at
    RE: Determine price coming from trade agreement

    Hi,

    Please enable the parameter of price details in the prices tab of Procurement and sourcing parameters.

    64850.png

  • Tony Mok Profile Picture
    577 on at
    RE: Determine price coming from trade agreement

    Hi Christoph Thaler and MATTGUO, I cannot find price details even though I activate the Enable price details parameter.

    pastedimage1584582737364v1.png

  • Verified answer
    Christoph Thaler Profile Picture
    5,442 on at
    RE: Determine price coming from trade agreement

    Hi Tony Mok.

    You can activate „Price Details“ in the module parameters. Afterwards you will find a menu item in the purchase order line 

    71D02711_2D00_9AE3_2D00_46D6_2D00_A756_2D00_B582355088B2.jpeg
    by using this menu item you will get a lot of details about the price. In this section you will Fine the used line out of the trade agreements (if trade agreements are used)

    8C4B3E77_2D00_9F9B_2D00_450A_2D00_8A86_2D00_6C0FF44C1F14.jpeg

  • Verified answer
    MATTGUO Profile Picture
    22,319 Moderator on at
    RE: Determine price coming from trade agreement

    Hello Tony,

    Please enable the parameter of price details in the prices tab of Procurement and sourcing parameters.

    Then you can see the price details from the PO lines. If it comes from trade agreement, it will have the record.

    780566.png

    30557.png

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans