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
AbAb 

BillingAddress of account, hwich fields to use

Hello,

i am using field BillingAddress from Account but its alwaoys giing error when creating new account, in apex class its not giving error,

If i need to use city, zip code for for comparing account; which field can i use
Best Answer chosen by Ab
Apoorv Saxena 4Apoorv Saxena 4
Hi Sandrine,
 
You need to use BillingPostalCode  and BillingCity for  setting city and zip code on Account respectively.

comprised of several different fields. When referencing fields you want to use the API name and each part of the address (City, state, zip..ect) has a different API name. The link below is very helpful. It provides each API name.

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_account.htm

Please mark thi squestion as Solved if this answers your question.

Regards,
Apoorv