0% found this document useful (0 votes)
7 views4 pages

Dev UC 60 - 67

Uploaded by

prabathkotti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

Dev UC 60 - 67

Uploaded by

prabathkotti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 4

Dev UC 60

60. 1. Create a class Employee with (empName,Salary,exp) and display in the VF page

60.2. Create a Class Student with(stdName,age,branch) and display in the VF page

60.3. Create a Class ProductData with (ProdName,Price ,quanity ) and display in the VF
Page

60.4. Create a class Movie with(MovieName, ticketsAvailable,showTime ) and display


in the VF Page

60.5. Create a class College with(colgName,branch,city,phone) and display in the VF


page

Example:

public class Employee {

public String name {get; set;}

public Decimal salary {get; set;}

public Employee(){

name = 'Adnan';

salary = 10000;

Name : {!name}

Dev UC 61

61.1. Create Sobject Account with Name,Industry,Phone and display in the VF page

61.2. Create Sobject Contact with LastName,FirstName,Email,Phone and display in the


VF page

61.3. Create Sobject Case with Subject,Origin,Priority and display in he VF page


61.4. Crate Sobject Opportunity with Name,Amount,StageName,closeDate and Display
in the VF page

Example:

"Account a = new Account();

a.Name = 'New Account';

apex:outputField value={!a.Name}"

Dev UC 62

62.1.Create a array to store marks and insert marks

62.2.Create a array to store citynames and insert cityNames

62.3.Create a array to store productNames and insert names

62.4.Create a array of Account and insert three Accounts

62.5.Create a array of Contact and insert three contacts

62.6.Create a array of cases and insert three cases

Dev UC 63

63.1. Create List of Account and display in the VF Page

63.2. Create List of Contct and display in the VF page

63.3. Create a List of Opportunity and display in the VF Page

63.4. Create a List of Case and display in the VF Page

Dev UC 64

64.1. Write SOQL to fetch data from Account and display data in VF Page

64.2. Write SOQL to fetch data from Contact and display data in VF Page

64.3. Write SOQL to fetch data from Opportunity and display data in VF page

64.4. Write SOQL to fetch data from Case and display data in VF page

64.5.Write SOQL to fetch data from user object and display in VF page
Dev UC 65

65.1.Write SOQL to fetch all account records with corresponding contacts and display in
VF Page

65.2.Write SOQL to fetch all account records with correponding Opportunities and
display in VF Pages

65.3.Write SOQL to fetch all account record with corresponding Cases and display in the
VF Page

Dev UC 66

66.1. Write a SOQL to fetch all account records which are created today

66.2.Write a SOQL to fetch all opportunity records which are closed this month

66.3.Write a SOQL to fetch all opportunity records which are created in last year

66.4.Write a SOQL to fetch all Accounts including records in Recyclebin

66.5.Write a SOQL to fetch all Users whose profile is System Admin

66.6 Write a SOQL to fetch 10 recently accessed Account record

66.7. Write a SOQL to fetch Tasks that are assinged on a Particular Account

Dev UC 67

67.1.Write a SOQL to Sum(amount), MAX(Amount), MIN(Amount), AVG(Amount)


from the opportunity

67.2. Write SOSL to search for keyword Satish in all fields and display the result in VF
Page

67.3.Write SOSL to search for '1234' in Phone fields and display the result in VF pages

67.4.Write SOSL to Search for ' [email protected]' in all the email fields and display
result in VF Pages

You might also like