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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CalculatePrice Plugin does not triggerd on Version 1710 (9.1.0.1117) online

(0) ShareShare
ReportReport
Posted on by 327

Hello,

the working scenario is the following 

during the saving of a quote record, the system runs two identical workflows; these workflows create two quotedetails entities; for quotedetail entity created a CalculatePrice custom plugin was triggered; 

The CalculatePrice Plugin works only for the first record created; I need that this plugin work correctly for all two  records;

Can anyone help me ??

thanks 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Sreevalli Profile Picture
    3,256 on at

    Hi,

    Create an hidden flag and set the flag to yes from your 1st record. Then on price calculate plugin check if flag is Yes then executed your logic else return

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Can you share more details on the registration properties of the plugin? Is it registered on create of quotedetail record?  What makes you think that the plugin is not triggering, is there you are expecting  which is not happening?

  • Gmanunta81 Profile Picture
    327 on at

    Thank you for your answer but I think that is not correct

  • Gmanunta81 Profile Picture
    327 on at

    Hello @Ravi, thank you for your answer

    the plugin is registered on CALCULATEPRICE message. Entites involved in are quotedetail,quote,salsorder,salesorderdetail,invoice,invoicedetail,opportunity,opportunityproduct on Postoperation,Synchronous mode , Server Side

    the plugin does not fire on second quotedetail entity records, instead, I expecting that the plugin runs for every quotedetail entity records, not only the first

  • Suggested answer
    Sreevalli Profile Picture
    3,256 on at

    Did you check the depth?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans