You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to make the fields Old Quantity/Old Value as required depending on the Opportunity Type field

edited Aug 3, 2022 2:28PM in Sales 7 comments

Question :


**This post was created as part of a How to Service Request (SR)


Release: 

22B


Summary of the question:

How to make the fields Old Quantity/Old Value as required depending on the Opportunity Type field ?

For the object Opportunity Revenue I've added two custom fields Old Quantity and Old Value . I want to set the fields as required depending on the value in the Opportunity Type filed. When the value in the Opportunity Type is Renewal, the fields Old Quantity and Old Value must be required and marked with a star (*), else not.

I used the next groovy script :

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!