You are on page 1of 2

Fields

=======
Object --> Table

Column --> Fields (Fields represent a column inside the object)

Fields represent a column inside the object.

We have three types of fields in salesforce


1. System Field
2. Standard Field
3. Custom Field

1. System Field
================
This field is created by the salesforce and value are also updated by the
salesforce.

we can only use the data that is stored in the field.

1. ID:- Salesforce by default provided 18 character unique ID for every record.

--- | -------- | ----

Which Object | Internal Purpose | Which record

18 character is not case sensitive

15 character is case sensitive

2. IsDeleted

3. CreatedDate: DateTime
This will store date and time when the record will create.

4. LastModifieddate:
This will store date and time when the record was last modified. (manually)

5. SystemModStamp
This will store date and time when the record was last modified manually or
systematically.

6. CreatedById
It will store the ID of the user who created this recod.

7. LastModifiedbyId
ID of the user who modified this record lastly.
2. Standard Field:
===================
These fields are created by the by the salesforce.com and the value are updated by
the user. Some of the standard field are also system field.

Id
Name
Owner
Createdby
LastModifiedby

We can customise the standard fields, but we can not remove the standard fields
from the object.

We can not create any more standard fields inside the object.

Each standard field contain 2 properties.


1. Field Lable: it represent the label text to be get visible in the user
inetrface.
2. Field Name: represent the actual column name in the table.

Standard field Name will look like as normal words (Ex Name, rating, phone, email).

(If i want to add some more fields inside the object line, phone number, email id,
address, pan number etc..)

3. Custom Field:
==================
These fields are created by the by the user and value are also updated by the user.
that is called custom field.

We can customise / remove the custom fields from the object , if it is no longer
needed.

On every custom object there are four standard field which are created by the
salesforce.
1. CreatedBy
2. LastModifiedBy
3. Name
4. Owner

We can create the custom fields inside the object. (Free developer edition: 500,
Unlimited Edition: 800).

Each standard field contain 2 properties.


1. Field Lable: it represent the label text to be get visible in the user
inetrface.
2. API Name: Whihc represent the actual column name in the table.

(Application Programming Interface)

Each custom field API name will be post fixing with "__C". "__C" represent, it's a
custom field.

You might also like