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 :
Microsoft Dynamics CRM (Archived)

Adding Price Per Unit in Opportunity Product Dynamic CRM

(0) ShareShare
ReportReport
Posted on by 125

We Have an issue in Adding a product to opportunity product form.From the outset it looks related to the currency field: When putting any value in for Price Per Unit - a red circle with a white x displays the message "A currency is required if a value exists in a money field. Select a Currency and Try again." Actually the issue came when we are trying to navigate from Opportunity form to our Opportunity Product Form with the help of custom javascript. If we navigate to opportunity Product form as it was before by clicking subgrid of the Product items in Opportunity form. The error doesn't show. Here is My error of the Price Per Unit field
PricePerUnitError.jpg

The kicker is that there is no currency on the 'product line items' form. My first approach was to add the currency field so that we can manually enter it - this resulted in the currency field showing (but with a grey Lock icon)

Currency.jpg
Any help would be appreciated....

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Hussainahmad,

    Are you using a custom entity for adding product lines? or the OOB opportunity products?

    I'm not actively using opportunity products myself, but I can see that the currency field is read-only on the form. Have you tried mapping the currency in your javascript from the opportunity to the opportunity products?

    Or you can create a workflow that runs oncreate of the opportunity product and fills the currency of the opportunity product with the currency of the opportunity itself (do note that you will have to add aditional steps if you want to be able to change the currency on the opportunity form later on).

    Kind Regards,

    Robin

  • Suggested answer
    Community Member Profile Picture
    on at

    Go to options and set the default currency for that user. This will auto-fill the currency field and you won't receive the error.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans