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
SHUCHI TIWARI 4SHUCHI TIWARI 4 

Account object fields

Hi All,
I can not see ShippingPostalCode in my account object's field and relationship section.
But I can use it my code without any errors.

How is it possible? Are there hidden fields on object which can not be seen in fiels and relationship section?

Thanks in Advance
 
Maharajan CMaharajan C
Hi Schichi,

Address Field is generally Compound Field provided by salesforce which you can't see in Fields.

But you can refer that fields in Code, Validation Rule ,Formula Fields , WF Rule. 

Please Refer below Link to more details:
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/compound_fields_address.htm

Thanks,
Maharajan.C
Ajay K DubediAjay K Dubedi
Hi Shuchi,

Yes, some fields (for the Standard objects) wouldn't be visible on the Fields and Relationships section on the respective pages. You can always use Object Inspector[1] in the Developer Console to see the Fields and API Names or you can use the Salesforce Field Reference[2] guide.

[1]: https://help.salesforce.com/articleView?id=code_dev_console_view_quick_schema.htm&type=5
[2]: https://developer.salesforce.com/docs/atlas.en-us.sfFieldRef.meta/sfFieldRef/salesforce_field_reference.htm

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi