Loading
Ongoing maintenance for Salesforce HelpRead More
Feature degradation | Gmail Email delivery failureRead More
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Instantiate(objectClass, data)

          Instantiate(objectClass, data)

          Creates an instance of the given business object.

          Required Editions

          Available in: Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled.

          Parameters

          • objectClass: Object. Business object class type.
          • data: JSON

          Returns

          An instance of the given object.

          Example
          Example
          var liBpaUsrCallSetting #ERROR!srCallSetting",{
          "pKey":PKey.next(),
          "customerPKey":me.getPKey(),
          "validFrom":Utils.convertFullDate2Ansi(dateToday),
          "clbMetaPKey":ConsumerGoods.getApplicationContext().get('user').getClbMetaPKey(),
          managementType": " ",
          "initialYear":initialYear
          );
          
           
          Loading
          Salesforce Help | Article