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 :
Customer experience | Sales, Customer Insights,...
Unanswered

Custom Pricing in Sales

(0) ShareShare
ReportReport
Posted on by 106

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.

I have the same question (0)

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans