---
schema_version: "1"
id: 97ce28edf6f52d8b65f222f656464a55536b983b8d370a7b431577455f16c127
title: Promotion.TacticRecord
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/TPM_PromotionTacticRecord.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/TPM_PromotionTacticRecord.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 90a00b097072d67307f13cb586bb3108252d2ae224a80adaf231d55a6dc8ac5b
description: This APEX class provides a wrapper to Promotion Tactic SObject Records. Each instance wraps an SObject Record related to the parent TPM_Promotion and provide methods to manipulate them in order to flag them for insertion or deletion. It also provides methods to extract the underlying SObject records so updates can be made.Returns the read only list of effective brands of the tactic.Returns the read only list of effective categories of the tactic.Returns the Product filter of the tactic.
---
# Promotion.TacticRecord

This APEX class provides a wrapper to Promotion Tactic SObject Records. Each instance wraps an SObject Record related to the parent TPM\_Promotion and provide methods to manipulate them in order to flag them for insertion or deletion. It also provides methods to extract the underlying SObject records so updates can be made.

## Namespace

cgcloud

- **[TPM\_Promotion.TacticRecord Methods](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/TPM_PromotionTacticRecord.htm#tpm_promotion_tactic_method.xml)**

## TPM\_Promotion.TacticRecord Methods

The following are methods for TPM\_Promotion.TacticRecord.

- **[global Set<Id> getEffectiveBrands](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/TPM_PromotionTacticRecord.htm#method_TPM_Promotion.TacticRecord)**  
    Returns the read only list of effective brands of the tactic.
- **[global Set<Id> getEffectiveCategories](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/TPM_PromotionTacticRecord.htm#unique_2001124550)**  
    Returns the read only list of effective categories of the tactic.
- **[global TPM\_ProductFilter getProductFilter](https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/TPM_PromotionTacticRecord.htm#unique_62584337)**  
    Returns the Product filter of the tactic.

### global Set<Id> getEffectiveBrands

Returns the read only list of effective brands of the tactic.

#### API Version

55

#### Signature

global Set<Id> getEffectiveBrands()

### global Set<Id> getEffectiveCategories

Returns the read only list of effective categories of the tactic.

#### API Version

55

#### Signature

global Set<Id> getEffectiveCategories()

### global TPM\_ProductFilter getProductFilter

Returns the Product filter of the tactic.

#### API Version

55

#### Signature

global TPM\_ProductFilter getProductFilter()