Creation of Formula column in Product Details Object
1) Navigation : Setup > Create > Objects
2) Click on Products Details Objects
3) Click on new button under custom fields and Relationships section
4) Select formula column radio button and click on next button
5) Enter the details as shown in the picture
6) Click on next button
7) Select product cost from the insert merge field drop down list as shown below 8) Select multiply operator from the drop down list as shown below 9) Select product sold from the insert merge field dropdown list as show in picture Click on next button,
Again click on next button
Finally click on save button
Out put screen for formula column
Creation of Master Detail Relation ships
1) Navigation : Setup > Create > Objects
2) Click on products details object and click on new button under custom objects and Relationships section as shown below 3) Select Master Detail Relationship radio button and click on next button
4) Select eStore object from relate to dropdown button
Enter details as shown the below
Click on next button 3 times in 3 pages
And click on save button
Repeat the same process for Product details to Bills object
Creation of Rollup summary Field in Bills object
1) Navigation : Setup > Create > Objects
2) Click on Bills object and click on new button under custom fields and relationships section 3) select rollup summary data type as shown below and click on next button
4) Enter details as shown below and click on next button
1) Select details as shown below and click on next button, again click on next button finaly click on save button