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
Raghavendra Sharma 12Raghavendra Sharma 12 

i am new in salesforce

Assignment​ ​#1
Usecase​ ​1-​ When a Opportunity is Closed with status ‘Won’’ then the Opportunity product and Quote line item must be synch with each other. Once sync is done, create a Order with proper details from Quote.Create Trigger, ApexClass and Test Class for the usecase.
Assume​ ​: 1. Opportunity is linked to Account and Contact.
2. Every opportunity can have only one quote as ‘Accepted’.
3. Won Opportunity may or may not have quote associated to it.


Assignment​ ​#2

Create the Apex trigger to assign the Branch Code to a Account wither its primary account or a Branch of Primary account. The Branch code will fallow a particular pattern.
Scenario 
The primary account Advanz101 will have a branch code set as 'Ad-1'.
● For every child branch will have branch code as 'Ad-11',Ad-'12','Ad-13' for branch 1,2,3 respectively.
● IF the child branch for branch 1 (Ad-11) has sub child branch then the branch code will be (Ad-111),and second child branch will have (Ad-112)
● Create a Apex trigger on Account which will update the text field Branch code on account depending on Parent account.
Salesforce ExpertsSalesforce Experts
Please reach out to us if you are looking for online training in Salesforce. . We provide crash courses on weekends as well to speed up your learning on salesforce skills. Course fees only Rs 5000 for 20 hour session covering basics of Salesforce. If interested please feel free to contact on salesforcebuddies@gmail.com.