Examples

This section provides sample code snippets for different data sources.

Available in: Lightning Experience in Enterprise and Unlimited Editions that have Consumer Goods Cloud Trade Promotion Management enabled.
  • Data Source: Account and Promotion Measures

    This section provides sample code snippets for different data sources.

  • Data Source: Promotion Measures

    An integration metadata report configuration using the data source PromotionMeasures requires dimensions.

  • Data Source: Promotion Measures with BOM Components

    The PromotionMeasuresWithBOMComponents data source allows export of information related to promotion measures at the Bill of Material (BOM) component or product part level in RTR.

  • Data Source: Promotion and Tactic Measures

    An integration metadata report configuration using the data source PromotionAndTacticMeasures requires dimensions.

  • Data Source: Promotion and Tactic Measures with BOM Components

    The PromotionAndTacticMeasuresWithBOMComponents data source allows export of information related to promotion and tactic measures at the Bill of Material (BOM) component or product part level in RTR.

  • Data Source: DailyRealData/DailyIntData

    This section provides sample code snippets for the integration metadata JSON with the data source. The following example shows the datasources configuration payload for DailyRealData/dailyIntData.

  • Data Source: AccountMeasure

    This example provides details on the integration metadata JSON with the data source. This example provides details on the integration metadata JSON with the data source. The following example shows the datasources configuration payload for AccountMeasure.

  • Data Source: PromotionTacticDailyMeasureReal

    This example provides details on the integration metadata JSON with the data source. This example provides details on the integration metadata JSON with the data source. The following example shows the datasources configuration payload for PromotionTacticDailyMeasureReal.

  • Data Source: PromotionTacticWeeklyMeasureReal

    This example provides details on the integration metadata JSON with the data source. This example provides details on the integration metadata JSON with the data source. The following example shows the datasources configuration payload for PromotionTacticWeeklyMeasureReal.

  • Data Source: AccountProductMeasure

    This example provides details on the integration metadata JSON with the data source. The following example shows the datasources configuration payload for AccountProductMeasure.

  • Data Source: ProductMeasure

    This section provides sample code snippets for the integration metadata JSON with the data source. The following example shows the datasources configuration payload for ProductMeasure.

  • Data Source: WeeklyMeasureReal

    This section provides sample code snippets for the integration metadata JSON with the data source. The following example shows the datasources configuration payload for WeeklyMeasureReal.

  • Data Source: WeeklyMeasureInt

    This section provides sample code snippets for the integration metadata JSON with the data source. The following example shows the datasources configuration payload for WeeklyMeasureInt.