Professional Documents
Culture Documents
Object :
Object: Sample
Object: Invoice
Amount currency
Comment text
Invoice Id Number
Status Picklist
Object: Visit
FR Name text
FR Lookup(user)
Creating Salesforce Custom fields
When we talk about fields in Salesforce there are two types of fields they are
1. Standard Fields.
2. Custom Fields
Standard Fields :- In Standard Fields these are the four Standard fields get
created when an object is created.
Name.
Owner.
Created By.
Last Modified By.
As shown above four Standard fields are created when an object is created but
custom fields are not created by default.
formula field
we are going to create a formula field for Invoice Object. Here we are going to
create Formula for discount amount. Where the discount has to be applied for all
purchase above 500$.
If Invoice Amount > 500, final Amount = Invoice Amount -
(20/100*Amount__c), Amount__c).
Validation rules in Salesforce are the rules which contains a formula expressions
that validates our data and returns a value of “True” or “False.
Validation rule contain Formula expressions.
It evaluate the data entered by the user.
Validation Rule displays error message to user when the enter invalid
values.
We can create Validation rules in Salesforce for Objects, fields, campaign
members etc.
lookup
m