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
Mohit Kumawat 20Mohit Kumawat 20 

Required fields in common standard objects

What are the required fields to be added for creating the most commonly used salesforce objects(In Platform Developer I). So that I can know which apex code can generate errors(in case when value is not added for required field)?
SandhyaSandhya (Salesforce Developers) 

Refer below salesforce  document which has the list of standard objects and fields with details.
Best Regards,
Shubham NandwanaShubham Nandwana

Hi Mohit,
There are no. of standard objects provided by salesforce like Accounts, Leads, Cases, Opportunities. You can read about standard and custom objects at
To check what all fields are required you can use the object manager. Go to Setup->Object Manager->select your object->page layout->page layout. You can see the required field with a red astrict (*) mark there.

You can also create a required or non-required field from field and relationship column in the left bar.

Hope it helps.

Shubham Nandwana.
AppPerfect Corp.
Salesforce Development & Operations Experts