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
          Adding a Check on Consumer Goods Cloud-Generated Datasources

          Adding a Check on Consumer Goods Cloud-Generated Datasources

          Consumer Goods Cloud mobile framework automatically adds an IsDeleted condition to all the modeled data sources. This helps in filtering the deleted records in the Consumer Goods Cloud-generated data sources. This process improves the implementation time of the Consumer Goods Cloud offline mobile app.

          Required Editions

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

          All the tables in the database of Consumer Goods Cloud contain an IsDeleted column. To filter the deleted records, a check on IsDeleted is added in the getDataSource function:

          • If the database contains more than one object, then the filter is added to all objects before a join.
          • If the database contains only one object, then the filter is added to the query condition.

          For manually created data sources, this feature has to be added to the SQL statement.

           
          Loading
          Salesforce Help | Article