Skip to main content

Notifications

Announcements

No record found.

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

Can I have optional secondary currency field on Opportunity form?

(0) ShareShare
ReportReport
Posted on by 180

Hello,

Faced an issue with D365 v9.0.6 on-premise after a migration.

I have two currency fields on Opprotunity form. Standard one (transactioncurrency, required) and custom (new_accountingcurrency, optional).

Previously, in CRM 2015, I was able to save the form, specifying value for transactioncurrency field only.

Now, in v9.0 it gives me a validation error, saying that 'A currency is required when one or more money fields contain values...' But it is an optional field.

And no custom validation (no Business Rules or custom JS code) is present on form.

Meanwhile, similar configuration for custom entity works fine - second currency value is optional.

Did someone faced the same? How that was resolved (if it was at all)?

  • ALTOSHAAM Profile Picture
    ALTOSHAAM 180 on at
    RE: Can I have optional currency field on form?

    Tested the same scenario with brand new Dynamics 365 v9.0 environment (on-premise) - and got the same result.

    Created new blank organization and added second currency field to Opportunity form. Main currency field is required, second one is optional.

    I can create a record, with empty secondary currency. But once filled, I cannot clear the value - I can't save the record with a blanked field. But, I can clear primary currency field instead and no validation error will be displayed (which is actually weird, because it is required). Although, trying to save such record silently fails, producing error in console, in some OOTB js file.

    Also, the same configuration on custom entity works fine.

    Seems like a defect in the D365 itself, so going to create a ticket for MS support for it.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans