Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Auto Populate global option-set external value into currency field within the same entity (Form)

Posted on by 70

Hi,

I have a global option-set called "appliance" and a calculated currency field called "priceperunit". I was wondering if i can auto-fill priceperunit field with the global option-set external value as soon as i pick an option or change it without the need to save the form or refresh the page? Note: Auto-save feature is activated

Thank you

*This post is locked for comments

  • Suggested answer
    Amer91 Profile Picture
    Amer91 70 on at
    RE: Auto Populate global option-set external value into currency field within the same entity (Form)

    Hi,

    Thank you again. Business role won't achieve what i'm looking for as I will need to refresh each time! It's not that complex; I made it work by creating Jscript and attached it to in save function.

    Thanks anyway

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: Auto Populate global option-set external value into currency field within the same entity (Form)

    you can try business rules.. which is without code solution.. but if there is a complex logic then it will be difficult.

    If you have simple logic like option set value ="a" then select currency =b then you can achieve using business rules..

    Business rules will work on option set value change and no code solution.

  • Amer91 Profile Picture
    Amer91 70 on at
    RE: Auto Populate global option-set external value into currency field within the same entity (Form)

    Hi ... thank you for your quick response but no I have not done so because I’m not that good in programming. Believe it or not I built, designed, and made dynamics work perfectly the way we wanted it without a single code, but of course with some external plugins.

    Is there anyway to do that without coding? Or if the code is not that complicated, can you help me with it ?

    Thanks

  • Suggested answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: Auto Populate global option-set external value into currency field within the same entity (Form)

    Hi..

    Did you tried writing JavaScript on global option-set, onchange event. and populating currency field.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans