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
Akash Choudhary 17Akash Choudhary 17 

Update multipe Fields to Not assigned

Hi All ,

I have a requirement wherein I have to update the fields of a custom object Car__C to 'NOT ASSIGNED'. There are 80 fields on the object and it is not necessary that all the fileds will be having value while saving the record so all the fields which are of type text, long text Area and picklist having null values should be updated to Not assigned. I have to do it through apex class. Any help will be appreciated.

Thanks