function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prasanth ReddyPrasanth Reddy 

Custom filed for Opportunity object



I have created a custom mandatory field for Opportunity object.


When i tried to convert leads in the system it is throwing below error.


Error: System.DmlException: Insert failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Test]: [Test] (System Code)


Please suggest whet can be done here...




Shiva Ramesh @ xcdhrShiva Ramesh @ xcdhr

Don't make custom field as a mandatory in object level. Make it as required in opportunity page layout. Otherwise assign any value to that mandatory field while converting leads

Prasanth ReddyPrasanth Reddy

Thanks Shiva...


It helped me...