Monday, October 28, 2019

Sales Force Governer Limits

Web to Lead

1) we can create maximum of 500 lead records through web to lead in an 24 hours time frame.
2)capacity of sales force Queue for both leas and case object is 50000.
3)First 5 records will get rejected mail from sales force admin
4)We can increase the daily limit of web to lead by contacting the sales force team but we cannot increase the queue limit.


Assignment Rules(AR):

AR will always fire after insertion/Updation of record.
--> we can create one/more AR on a single object but only one AR will be active.


Sunday, October 6, 2019

Junction Objects in Salesforce(many to many relationship)

Salesforce supports 2 kinds of relationships like Master Detail and Lookup. They are both one-to-many relationship, and they are both  defined from the many-to-one side, that is from a child to a parent. They can be made one-to-one relationship by adding validation rules, or maybe triggers to enforce the one-to-one nature, i.e. only one child is allowed.

Junction objects are used to create many to many relationships between objects. If you take the Recruiting application example, you can see that a Position can be linked to many Candidates, and a Candidate can apply for different Positions. To create this data model you need a third object "Job Application" that links the 2


standard junction objects:


1) between campaign and contact object salesforce provides many to many relationship by creating a junction object "campaignmember".
2) between contact and opportunity salesforce provides many to many association by creating junction object "opportunitycontactrules"
3)between opportunity and product salesforce provides many to many association by creating junction "opportunitylineitem"
4)product and priceboo salesforce provides many to many association by creating junction object "pricebookentry"
5)user and permissionset salesforce provides many to many association by creating junction object "permissionsetassignment"