Forum Replies Created

  • Product:

    Product object is a catalogue of items or services for sales.
    A product may contain one or more different sets of prices (PriceBookEntry).
    OpportunityLineItem:

    List of products that link with opportunity containing data on types of products and respective prices.
    One opportunity line item can only be linked to one opportunity.
    One opportunity line item can only be linked to one price book entry.

    Hope it helps you.

  • Parv Shekhar Singh

    Member
    September 3, 2018 at 2:53 pm in reply to: How to play BEEP Sound in Salesforce?

    Hi Madhulika,

    You'll need to embed a short WAV file in the HTML, and then play that via code.It's not possible to do directly in JavaScript. It's not possible to do directly in JavaScript.

    <script>
    function PlaySound(soundObj) {
    var sound = document.getElementById(soundObj);
    sound.Play();
    }
    </script>

    <embed src="success.wav" autostart="false" width="0" height="0" id="sound1"
    enablejavascript="true">

    Now, you can call above script in VF page.

    Thanks.

  • Parv Shekhar Singh

    Member
    May 31, 2018 at 10:58 am in reply to: What are the benefits of Salesforce CRM?

    Hi Shubham,

    Here are some of the top benefits of Salesforce CRM:

    1.Ensuring faster and better sales opportunity.
    2.Deploying an analytical approach to customer acquisition.
    3.Reducing cost and improving customer satisfaction.
    4.Automation of repetitive and less important tasks.
    5.Improved efficiency and enhanced communication on all fronts.

  • Parv Shekhar Singh

    Member
    May 31, 2018 at 10:52 am in reply to: How we Convert Lead through Salesforce Apex?

    Hi Shubham,

    Here's the sample of code which you can use for conversion of Lead.

    Lead myLead = new Lead(LastName = 'Fry', Company='Fry And Sons');
    insert myLead;

    Database.LeadConvert lc = new Database.LeadConvert();
    lc.setLeadId(myLead.id);

    LeadStatus convertStatus = [SELECT Id, MasterLabel FROM LeadStatus WHERE IsConverted=true LIMIT 1];
    lc.setConvertedStatus(convertStatus.MasterLabel);

    Database.LeadConvertResult lcr = Database.convertLead(lc);
    System.assert(lcr.isSuccess());

  • Hi Shariq,
    A Global Picklist means a picklist which you can access for all salesforce objects. In other words if you are creating any picklist, this picklist you can use for your Account, Lead, Opportunity and custom object etc.
    The reason why we use it and how to make it can be understood by taking a very small example, suppose you are creating one simple Picklist called Product Picklist, for creating it just go to "Setup" then search for "Picklist Value Sets", in this page click on "New" and create new 'Global Value Set' by giving its Label as 'Product' and some values (e.g. Gold, Diamond, Silver) after this please check the below given check box. Now our Picklist is ready.
    Now we want to add this Picklist into Lead. So 1st we will go to "Customize" then "Lead" the go to "fields" then creat a "new custom field", in which select Picklist data type then on next page give "Field Label" as 'Product' and in "values" select 'Product Picklist' then complete the process by saving it. Now your Picklist is ready, just go on Lead and easily you can see your 'Product Picklist' on this object. Repeat this same process for opportunity and other object which you want.Try this process once it will defiantly help you.

    Thanks

Popular Salesforce Blogs