CGCloud Namespace

The CGCloud namespace provides classes that allow you to customise Real Time Reporting (RTR) data extraction from Apex.

Required Editions
Available in: Lightning Experience in Enterprise and Unlimited Editions that have Consumer Goods Cloud Trade Promotion Management enabled.

The following are the classes in the CGCloud namespace.

  • RTRReportResult Class

    Use this class to execute the Trade Promotion Management Real Time Reporting (RTR) report and access the report data.

  • ReportComponent Class

    Represents a Real Time Reporting (RTR) report UI component. This is an abstract class and can’t be instantiated.

  • FlatList Class

    Represents a Real Time Reporting (RTR) report UI Flatlist component. This class extends the ReportComponent class.

  • FlatListRowIterable Class

    Represents a Real Time Reporting (RTR) report UI Flatlist component set of rows. This class implements the Iterable interface that allows it to be used in batch processes.

  • FlatListRow Class

    Represents a Real Time Reporting (RTR) report UI Flatlist component single rows.

  • ScoreCard Class

    Represents a Real Time Reporting (RTR) report scorecard component. This class extends the ReportComponent class.