Loading
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
          loadObjectAsync(objectClass, pkey)

          loadObjectAsync(objectClass, pkey)

          Load a given business object by its PKey.

          Required Editions

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

          Parameters

          • objectClass: String. Type of the business object to be loaded.
          • pkey: Pkey. Primary key of the business object.

          Returns

          An instance of the given business object.

          Example
          Example
          var loadPromise = BoFactory.loadObjectAsync(BO_USERDAILYREPORT,currentDailyReportOverviewItems[idxOverviewItems].getPKey())
           
          Loading
          Salesforce Help | Article