Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Custom Pricing Options in D365 Sales and Project Operations

Posted on by 5

Hello All,

I am trying to do Custom Pricing at the opportunity product level to change the extended amount based on our requirement.

I have tried the sample plugin Sample: Calculate Price plug-in | Microsoft Docs and disabling the pricing in setting. When I created the sample plugin the plugin is going into the Infinite loop and throwing different exceptions like below

Exception Message: Object reference not set to an instance of an object.

ErrorCode: -2147220956
HexErrorCode: 0x80040224

HelpLink: go.microsoft.com/.../

TraceText:
[Microsoft.Dynamics.Sales.Plugins: Microsoft.Dynamics.Sales.Plugins.PostOperationOpportunityCreate]

I have tried to solve these by adding depth and also checking Parent entity SDK Messages and but by adding depth it is stopping other operation too if we create bulk Opp products like calculating the total amounts etc in quote Order Invoice 

Thanks,

Please suggest ASAP.

  • Mohsin Ali Profile Picture
    Mohsin Ali 3,610 on at
    RE: Custom Pricing Options in D365 Sales and Project Operations

    The plugin that you are using is no longer supported by Microsoft. So best way is to use your own custom plugin.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans