A CRM Applicatihttps Docs Google Com Document U 0 Authuser 0&usp Docs
A CRM Applicatihttps Docs Google Com Document U 0 Authuser 0&usp Docs
Short Description:
The Rice Mill Crm Streamlines Daily Rice Production and Sales Reporting,Enhancing Efficiency
and Customer Experiences.
Long Description:
The Rice Mill CRM Application is a comprehensive solution designed to streamline and
simplify how much rice per day,how many were sold that rice and which type of rice all reports
send to owners daily wise. It leverages the power of customer relationship management (CRM)
to enhance customer experiences, optimize store operations, and improve overall efficiency in
the rice mill factory. This project aims to develop a user-friendly and feature-rich application that
addresses the specific needs of a rice mill factory.
Technical Architecture:
Project Flow:
Features and Functionality:
Reports and Dashboards:: The application can generate detailed reports and analytics
regarding daily how much rice sold and total income per daily, revenue generated, popular
amenities, and most buyed customers. Easy to understand the data to the owner, improving
resource allocation, and planning future development.
Roll Up Summary Field: This is a field that summarizes data from a child object to a parent
object that shares a master-detail relationship. Rollup summary fields can use the COUNT, SUM,
MIN, and MAX functions. For example, you could use a rollup summary field to display the
total value (amount of rice supplied ) from rice details on a related supplier.
Cross Object Formula: It is a formula field that references fields from another object in
Salesforce. This type of formula allows users to calculate the total amount from number of rice
taken*price/kg and it displays the total amount I have to pay.
Validation Rule: Validation rules also include an error message to display to the user when the
rule returns a value of “True” due to an invalid value.so , In this project i gave Isblank formula.Isblank
formula is used to verify whether it is blank it shows error.
Pre-requisites
Salesforce Developer account
Knowledge of the salesforce admin concepts.
Installed with 2 web browsers in the Machine
Good internet connectivity.
Milestone 1-Salesforce :
Introduction:
Are you new to Salesforce? Not sure exactly what it is, or how to use it? Don’t know where
you should start on your learning journey? If you’ve answered yes to any of these questions,
then you’re in the right place. This module is for you.
Welcome to Salesforce! Salesforce is game-changing technology, with a host of
productivity-boosting features, that will help you sell smarter and faster. As you work toward
your badge for this module, we’ll take you through these features and answer the question,
“What is Salesforce, anyway?”.
What Is Salesforce?
Salesforce is your customer success platform, designed to help you sell, service, market,
analyze, and connect with your customers.
Salesforce has everything you need to run your business from anywhere. Using standard
products and features, you can manage relationships with prospects and customers, collaborate
and engage with employees and partners, and store your data securely in the cloud.
So what does that really mean? Well, before Salesforce, your contacts, emails, follow-up tasks,
and prospective deals might have been organized something like this:
https://youtu.be/r9EX3lGde5k
1. Go to the inbox of the email that you used while signing up. Click on the verify account to
activate your account. The email may take 5-10mins.
2. Click on Verify Account
3. Give a password and answer a security question and click on change password.
What Is an Object?
Salesforce objects are database tables that permit you to store data that is specific to an
organization. What are the types of Salesforce objects
Milestone 3- Tabs
What is Tab : A tab is like a user interface that is used to build records for objects and to view
the records in the objects.
Types of Tabs:
1. Custom Tabs
Custom object tabs are the user interface for custom applications that you build in
salesforce.com. They look and behave like standard salesforce.com tabs such as accounts,
contacts, and opportunities.
2. Web TabsWeb Tabs are custom tabs that display web content or applications embedded in
the salesforce.com window. Web tabs make it easier for your users to quickly access content
and applications they frequently use without leaving the salesforce.com application.
1. Visualforce Tabs
Visualforce Tabs are custom tabs that display a Visualforce page. Visualforce tabs look and
behave like standard salesforce.com tabs such as accounts, contacts, and opportunities.
2. Lightning Component Tabs
Lightning Component tabs allow you to add Lightning components to the navigation menu
in Lightning Experience and the mobile app.
3. Lightning Page Tabs
Lightning Page Tabs let you add Lightning Pages to the mobile app navigation menu.
Lightning Page tabs don't work like other custom tabs. Once created, they don't show up on
the All Tabs page when you click the Plus icon that appears to the right of your current tabs.
Lightning Page tabs also don't show up in the Available Tabs list when you customize the
tabs for your apps.
2. Select Object( supplier) → Select the tab style → Next (Add to profiles page)
keep it as default → Next (Add to Custom App) uncheck the include tab .
3. Make sure that the Append tab to users' existing personal customizations is
checked.
4. Click save.
Activity 2: Creating Remaining Tabs
1. Now create the Tabs for the remaining Objects, they are “ rice mill, consumer , rice
details”.
2. Follow the same steps as mentioned in Activity -1 .
Milestone 4- The Lightning App:
An app is a collection of items that work together to serve a particular function. In Lightning
Experience, Lightning apps give your users access to sets of objects, tabs, and other items all in
one convenient bundle in the navigation bar.
Lightning apps let you brand your apps with a custom color and logo. You can even include a
utility bar and Lightning page tabs in your Lightning app. Members of your org can work more
efficiently by easily switching between apps.
1. Go to setup page → search “app manager” in quick find → select “app manager” → click
on New lightning App.
2. Fill the app name in app details as MY RICE →Next → (App option page) keep it as
default → Next → (Utility Items) keep it as default → Next.
3. Upload a photo that is related to your app.
4. To Add Navigation Items:
Select the items (supplier, rice mill, consumer , Rice details ) from the search bar and move
it using the arrow button → Next.
Search profiles (System administrator) in the search bar → click on the arrow button →
save & finish.
Milestone 5 : Fields
When we talk about Salesforce, Fields represent the data stored in the columns of a relational
database. It can also hold any valuable information that you require for a specific object. Hence,
the overall searching, deletion, and editing of the records become simpler and quicker.
Types of Fields
1. Standard Fields
2. Custom Fields
Standard Fields:
As the name suggests, the Standard Fields are the predefined fields in Salesforce that perform a
standard task. The main point is that you can’t simply delete a Standard Field until it is a
non-required standard field. Otherwise, users have the option to delete them at any point from
the application freely. Moreover, we have some fields that you will find common in every
Salesforce application. They are,
● Created By
● Owner
● Last Modified
● Field Made During object Creation
Custom Fields:
On the other side of the coin, Custom Fields are highly flexible, and users can change them
according to requirements. Moreover, each organizer or company can use them if necessary. It
means you need not always include them in the records, unlike Standard fields. Hence, the final
decision depends on the user, and he can add/remove Custom Fields of any given form.
5. Field Name will be auto populated, and click on Next→ Next → Save.
Creating junction object as rice details with supplier & rice mill
To create junction object
1. Go to the setup page → click on object manager → From drop down click edit for rice
details object.
2. Click on fields & relationship → click on New.
master-detail relationship is a type of relationship between two objects where the master object
controls certain behaviors and settings of the detail object. Here are a few use cases that
demonstrate the use of master-detail relationships
A rollup summary field is a field that summarizes data from a child object to a parent object that
shares a master-detail relationship. Rollup summary fields can use the COUNT, SUM, MIN, and
MAX functions. For example, you could use a rollup summary field to display the total value
(amount of rice supplied ) from rice details on a related supplier.
Creating the Roll-up summary field on supplier & rice mill Objects.
1. Go to setup → click on Object Manager → type object name(supplier) in search bar →
click on the object.
4. Give the Field label as “ sum of rice distributed ”,Field Name will be Auto generated, and
click Next.
5.
6. Select the summarized object as “ rice details ”.
7. Select the Rollup type as “sum”.
8. Select the field to aggregate as “ rice distributed ”, and click Next → Next → Save.
9. Follow the same steps for the rice mill Object from 1 to 3
10. Give the Field label as “ rice distributed to shops ”,Field Name will be Auto generated,
and click Next.
11. Select the summarized object as “ rice details ”.
12. Select the Rollup type as “sum”.
13. Select the field to aggregate as “ rice distributed ”, and click Next → Next → Save.
14. Note : create the field as “ rice taken by shops in kgs” using number datatype in
consumer object
15. Follow the same steps for the rice mill Object from 1 to 3
16. Give the Field label as “ rice taken ”,Field Name will be Auto generated, and click Next.
17. Select the summarized object as “ consumer”.
18. Select the Rollup type as “sum”.
19. Select the field to aggregate as “ rice taken in shops ”, and click Next → Next → Save.
.
Activity 5 : Creating Fields in Objects
Creating the number field in rice details object
6. Go to the setup page → click on object manager → From drop down click edit for
rice details object.
7. Click on fields & relationship → click on New.
8. Select Data type as “Number” and click Next.
9. Given the Field Label as “ supplier name ” and length as “ 5 ”.
10. Field Name will be auto populated, and click on Next→ Next → Save.
email email
A cross-object formula field is a formula field that references fields from another object in
Salesforce. This type of formula allows users to calculate and display data from multiple objects
on a single record.
Note : check whether the fields mentioned in the formula field are created or not , if not go to
activity 9 and create those fields mentioned in consumer object.
6. Under Advanced Formula write down the formula and click “Check Syntax” and Save.
8.
Improve the quality of your data using validation rules. Validation rules verify that the data a user
enters in a record meets the standards you specify before the user can save the record. A validation
rule can contain a formula or expression that evaluates the data in one or more fields and returns a
value of “True” or “False”. Validation rules also include an error message to display to the user when
the rule returns a value of “True” due to an invalid value.
Creating the validation rule for phone number field in consumer object
Note : check whether the fields mentioned in the formula field are created or not , if not go to
activity 9 and create those fields mentioned in consumer object.
1. Go to the setup page → click on object manager → From drop down click edit for
consumer object.
2. Click on the validation rule → click New.
]
6.
7. Under the error message write as”please fill in your phone number.”
8. Select error location “top of page”.
9.
10. Save the validation rule.
Page Layout in Salesforce allows us to customize the design and organize detail and edit pages
of records in Salesforce. Page layouts can be used to control the appearance of fields, related
lists, and custom links on standard and custom objects' detail and edit pages.
4.
5. Drag and drop the section field to consumer details and create the section.
6. Enter the section name as “Personal details”, → click Ok.
7. Now drag the fields to this section that mentioned , they are
● First name , last name , consumer name , phone number, email, rice mill name.
8. Follow the same process for another two sections as shown above , they are
9. One section is “ rice details ” , drag the fields that are
● Rice taken by shop, rice type.
10. Another section is “Receipt details ”, and drag the fields that are
● Mode of payment , Amount paid.
11. Then , Click save.
12.
Milestone 7 : Profiles
A profile is a group/collection of settings and permissions that define what a user can do in
salesforce. Profile controls “Object permissions, Field permissions, User permissions, Tab
settings, App settings, Apex class access, Visualforce page access, Page layouts, Record Types,
Login hours & Login IP ranges. You can define profiles by the user's job function. For example
System Administrator, Developer, Sales Representative.
2. Custom Profiles:
Custom ones defined by us.
They can be deleted if there are no users assigned with that particular one.
4.
5. Give access and save it.
A role in Salesforce defines a user's visibility access at the record level. Roles may be used to
specify the types of access that people in your Salesforce organization can have to data. Simply
put, it describes what a user could see within the Salesforce organization.
3. Click on Expand All and click on add role under whom this role works.
1. Give Label as “owner” and Role name gets auto populated. Then click on Save.
2.
3. Click and save it.
4. Give Label as “employer” and Role name gets auto populated. Then click on Save.
5. Repeat the same steps, for another role.
6. Click plus on CEO role, and click plus on owner, and click add role under employer
.
7. give Label as “worker” and Role name gets auto populated. Then click on Save.
Milestone 9 : Users
A user is anyone who logs in to Salesforce. Users are employees at your company, such as sales
reps, managers, and IT specialists, who need access to the company's records. Every user in
Salesforce has a user account. The user account identifies the user, and the user account settings
determine what features and records the user can access.
1. Go to setup → type users in quick find box → select users → click New user.
2. Fill in the fields
3. First Name : vicky
4. Last Name :y
5. Alias : Give a Alias Name
6. Email id : Give your Personal Email id
7. Username : Username should be in this form: [email protected]
8. Nick Name : Give a Nickname
9. Role : owner
10. User license : Salesforce
11. Profiles : owner.
Save it.
Activity 2: creating another users
12. Go to setup → type users in quick find box → select users → click New user.
13. Fill in the fields
14. First Name : ram
15. Last Name : ram
16. Alias : Give a Alias Name
17. Email id : Give your Personal Email id
18. Username : Username should be in this form: [email protected]
19. Nick Name : Give a Nickname
20. Role : employer
21. User license : Salesforce platform
22. Profiles : standard platform user.
23. Go to setup → type users in quick find box → select users → click New user.
24. Fill in the fields
25. First Name : ragu
26. Last Name : raj
27. Alias : Give a Alias Name
28. Email id : Give your Personal Email id
29. Username : Username should be in this form: [email protected]
30. Nick Name : Give a Nickname
31. Role : worker
32. User license : Salesforce platform
33. Profiles : standard platform user.
A permission set is a collection of settings and permissions that give users access to
various tools and functions. Permission sets extend users’ functional access without
changing their profiles and are the recommended way to manage your users’
permissions.
Milestone 11 : Reports
Reports give you access to your Salesforce data. You can examine your Salesforce data in almost
infinite combinations, display it in easy-to-understand formats, and share the resulting insights
with others. Before building, reading, and sharing reports, review these reporting basics.
In Salesforce.com we can easily generate reports in different styles. And can create reports in a
very short time and also schedule the reports. Salesforce provides a powerful suit of analytic
tools to help you organize, view and analyze your data.
Example: This type of reports are used to list all accounts, List of contacts, List of opportunities…..etc.….
2. Summary Reports: This type of reports provide a listing of data with groupings and sub totals. Use
summary reports when you want subtotals based on the value of a particular field or when you want to
create a hierarchically grouped report, such as sales organized by year and then by quarter.
Example: All opportunities for your team sub totaled by Sales Stage and Owner.
3. Matrix Reports: This type of reports allow you to group records both by row and by column.
A comparison of related totals, with totals by both row and column. Use matrix reports when you
want to see data by two different dimensions that aren’t related, such as date and product.
4. Joined Reports: Blocks of related information in a single report. This type of reports enable you to
adopt five different blocks to display different types of related data. Each block can own unique columns,
summary fields, formulas, filters and sort order. Use joined reports to group and show data from multiple
report types in different views.
Example: You can build a report to show opportunity, case and activity data for your accounts.
1. Their outline pane is opened already, select the fields that are mentioned below in the
column section.
1.consumer name
2.rice type
3.rice price/kg
4.mode of payments
5.amount paid
2. Remove the unnecessary fields.
3. Select the fields that are mentioned below in the GROUP ROWS section.
a. Rice taken by shops.
Click save and run and save the report as “range of amount per day”.and save it.
5.
After selecting the run report as a “another person” select your personal account or whom
you want to send that mail to.
6. Click save.
NOTE: The owner gets daily email notification of that rice mill report.so that he can
see all data remotely.
Activity 3: create a report folder
4. Give the Folder label as “estimated rice per day ”, Folder unique name will be auto
populated.
5. Click save.
Note: if you want to see the report which you have created then go to reports - all folders -
estimated rice per day - your report will appear in this way.
Milestone 12 : Dashboards
Dashboards help you visually understand changing business conditions so you can make
decisions based on the real-time data you’ve gathered with reports. Use dashboards to help users
identify trends, sort out quantities, and measure the impact of their activities. Before building,
reading, and sharing dashboards, review these dashboard basics.
Activity 1: Create Dashboard Folder
1. Click on the app launcher and search for the dashboard.
2. Click on the dashboard tab.
3. Click the new folder, give the folder label as “ amount data dashboard”.
4. Folder unique names will be auto populated.
5. Click save.
6.
2. Give a Name and select the folder that was created, and click on create.
1. Select add component.