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
MikeCloudMikeCloud 

Apex - renamed standard fields does apex use original filed name or the renamed field

do you use the original field name: example Account or renamed Household when writing Apex code.

Best Answer chosen by Admin (Salesforce Developers) 
Coco_SdyneyCoco_Sdyney

renamed standard fields only change it's label, not API name, so please use origianl  name for coding.

 

 

All Answers

Coco_SdyneyCoco_Sdyney

renamed standard fields only change it's label, not API name, so please use origianl  name for coding.

 

 

This was selected as the best answer
MikeCloudMikeCloud
Thanks.