Creating custom fields

We have successfully created the Employee object with the standard fields. According to the requirements, we need more fields to store various types of data values. In the preceding sections, you have learned that a Salesforce object is analogous to a database table, in the same way as the Salesforce standard/custom field is analogous to a database table column. Normally, a Database Management System (DBMS) has a set of data types for the database table columns. The Force.com platform also provides a set of data types to define custom fields of Salesforce custom objects and selected standard objects. The following two figures show us a few data types in the Force.com platform:

The set of data types of Force.com platform—set ...

Get Learning Force.com Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.