While some in this section on Opportunity Management we are going to talk about opportunities how to
create opportunities how to create opportunity products product scheduling and what all opportunity
teams is all about.
All right so this is all that that going to duck and dissection and in this tutorial specifically we'll
talk about opportunities and opportunity products.
First of all what is an opportunity as the name is opportunity means an opportunity to sell a product
or an opportunity to make a sales right.
It is an opportunity but it does not conform any sales as such.
It is just an opportunity that it can be close to one or it can be closed lost.
All right.
So either we can win the opportunity by closing the sales successfully or we may lose a business.
All right.
So opportunity can end up as opportunity one that is close to one or opportunity lost.
Perfect.
Now that we have this understanding let's go to what a developer ARG and here we are and the opportunity
stab.
All right click on a new opportunity fill in the details here.
I have given the opportunity name and yes you can very much associate the opportunity with an account.
So let me say this account and then what does the close date and then what this date the opportunity
is.
Basically there are multiple stages for opportunities.
It starts off in this prospecting stage and then Musil Where did the qualification needs analysis value
proportion.
So the stage goes on like that.
And yes these values are editable you can go and customize your stage values.
You can very much do that from the opportunity object detail page.
So there you can go and modify the stage values.
Perfect.
And here if you see this probability field it gets ata populated depending on the stage value it's prospecting.
So it is 10 percent if we change it to close to 1 meaning at 100 percent.
Yes we did it close last.
It's zero.
Right.
We lost that proportion.
It is 70 percent.
Yeah.
You're close there.
We're almost there.
Right.
Negotiation 90 percent.
Right.
So that is a 90 percent chance that we will close this opportunity.
And if it is close to one it becomes a hundred percent.
If a disclosed lost it becomes a.
So probability this value gets all depopulated based on the stage value.
But yes you can very much update this probability percentage just well now that we have created all
these details.
Let me go ahead and save my opportunity.
All right.
We have saved our first opportunity.
Cool.
Now what we're going to do this.
We are going to add products.
So in the previous session we understood about the products we understood about price books.
We understood how to create price book entries.
Right.
So we have that good information with us.
Now let's understand how to add products to opportunity.
So go to the products a related list.
And here you see this option act product.
So you need to add a product but before adding product pay more attention to the price book that you
choose.
Because one opportunity can have products only from a single price book.
So be very careful when you add your fullest product because that automatically sets the price book
for that opportunity.
And later point of time you may not be able to do that.
Say for example at product and here flustered just asking me to choose the price book.
Let me say ANZ the only product that I have is this.
So let me add that.
All right.
Quantity is one.
Let me save it.
OK.
So I have added the this particular product from the ANZ price book.
That is way to showing me a and Z.
And now if you want to add products it is by default.
Sure.
Only those products from the ANZ price book.
All right.
You'll see that because we have only one product here.
But otherwise going forward we'll only be able to add products from that price book to this opportunity.
We cannot modify that price book so always pay more attention to the price book that you choose.
All right and in case I want to choose a different price book here from ANZ I want to go for standard.
See I'm getting a warning message.
You have changed the price book for this opportunity.
This action permanently delete all products from this opportunity continue.
Let me say.
OK see the product is no longer associated with this opportunity though.
This is not a recommended practice we do not do this in real time.
However I just wanted to show you how it works.
So always when we're adding the products to your opportunity pay more attention to the price book that
you choose because later point of time you can only add more products from that same price book meaning
one opportunity can have a can have products only from one price book.
This is what we're trying to insist.
Perfect now that we have this information.
Let's take a look at a quick pictorial representation of this relationship.
In fact while learning about the products and price books we did a similar one but that was only with
the products price book and price book entry.
Right now that we have extended that to opportunities and opportunity line item.
So let's try to understand those a.
What is the relationship between product price book and price book entry.
You have product object you have price book object right.
There are many products that are many price books and what does a price book entry price book entry
defines the value for each product.
Right.
In a price book entry you have a product to I.D. and you have a price book idea.
So that holds the relationship of the product and the price book.
Now when you include opportunity opportunity is not directly related to products.
Opportunity is related to price books.
Right.
So that is why we see those relationships here and how they are related.
That is the opportunity product in you while you qualify as opportunity product.
But on the backend in the database we say does opportunity line item.
All right.
And that holds the opportunity I.D. and the price book entry I.D..
So that is what is there and opportunity line item.
And how do we see that in the UI we do not have any product.
So let me add a product OK.
All right.
Save and as you see now I added the standard product the standard price book entry.
So that is it is in the standard price book is a showing here.
All right.
So we'll hear this the entry what we see here.
He just called us the opportunity product order the opportunity line item.
So if you click on that you'll see this is opportunity product detail.
Page.
All right.
And in the back end we refer to this opportunity line item.
So there are whole many line items for this opportunity.
There is only one opportunity line item for this opportunity.
And that is this.
So that is why we see this opportunity and products is related and that upcoming table is called us
opportunity the line item.
Now let's take a quick look at the schema builder to see how these objects are related.
So in schema builder what I did was I did at all.
So that cleared all the selections and I only chose opportunity products price book entry price book
and the opportunity product.
So you see that here.
So opportunity product basically is the opportunity line item.
So all the five objects that we have here I have included it heroes but
let me expand the view a little bit.
So it be easy for you to see maybe just hard right.
So let's keep it this way no problem.
And I just rearranged all these objects a little bit so it looks similar to what we have here.
All right.
So you can see products price book entry and price book products price book entry and price book an
opportunity line item and the opportunity in fact like I did this using this schema builder I just wanted
to replicate that and show that doing a much simpler form.
So I did this.
So in the scheme builder you can see the products and the price books and how they are connected through
the price book entry object.
Similarly the opportunities and the products and how they are connected through the opportunity product
object and how opportunity and price books are related.
All right.
So this is all about opportunities and how it is related to products and price books.