Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

How would you test/trap for missing field within plugin?

Posted on by Microsoft Employee

I have a large, complicated assembly for custom pricing.  I also am building a Dual Write environment based on the current solution.

I don't want to fork the code for the pricing plugin to accommodate a new DW field on the Oppty/Quote/Order header.  This field is additional charges which needs to be included in the sum for the order Total.

Somehow I must trap the fact that this field is not in the metadata if I am to use the same assembly to work in both environments.

How would YOU do this?

TIA

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How would you test/trap for missing field within plugin?

    Sorry, after starting in what I thought was a replacement/renamed forum (Sales) I found my way back here and worried that I had addressed the wrong audience.

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: How would you test/trap for missing field within plugin?

    No duplicates, please.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    How would you test/trap for missing field?

    I have a large, complicated assembly for custom pricing.  I also am building a Dual Write environment based on the current solution.

    I don't want to fork the code for the pricing plugin to accommodate a new DW field on the Oppty/Quote/Order header.  This field is additional charges which needs to be included in the sum for the order Total.

    Somehow I must trap the fact that this field is not in the metadata if I am to use the same assembly to work in both environments.

    How would YOU do this?

    TIA

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

Product updates

Dynamics 365 release plans