---
schema_version: "1"
id: dc1f78f222982c58140cee9671d5206adadd5d264f53422b85c9a93e0ac35277
title: ComplianceControlScope
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_compliancecontrolscope.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_compliancecontrolscope.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: cab9761f68813ac30b023285093b598e3658433c92301168f122a446c773a715
description: Represents a mandatory compliance control and the type of business record it applies to, such as a campaign, marketing program, or tactic. This object is available in API version 68.0 and later.
---
# ComplianceControlScope

Represents a mandatory compliance control and the type of business record it applies to, such as a campaign, marketing program, or tactic. This object is available in API version 68.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Special Access Rules

Marketing Planning and Operations must be available to access this object. See [Availability of Marketing Planning and Operations](https://help.salesforce.com/s/articleView?id=mktg.mktg_pln_oper_setup_editions.htm&language=en_US).

## Fields

| Field | Details |
| --- | --- |
| ComplianceControlId | 
Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the compliance control that the scope is for.

This field is a relationship field.

Relationship Name

ComplianceControl

Refers To

ComplianceControl



 |
| DefaultReviewerId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the user or user group that's set as the default reviewer of the reviews created for this compliance control scope.

This field is a polymorphic relationship field.

Relationship Name

DefaultReviewer

Refers To

Group, User



 |
| IsActive | 

Type

boolean

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

Indicates whether the compliance control scope is active (true) or not (false).

The default value is false.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferencedDate is not null, the user accessed this record or list view indirectly.



 |
| MarketingHierGroupDefId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the marketing hierarchy group definition associated with the compliance control scope.

This field is a relationship field.

Relationship Name

MarketingHierGroupDef

Refers To

MarketingHierarchyGroupDef



 |
| MarketingHierGrpNdDefId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the marketing hierarchy group node definition associated with the compliance control scope.

This field is a relationship field.

Relationship Name

MarketingHierGrpNdDef

Refers To

MarketingHierarchyGroupNodeDef



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The name of the compliance control scope.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

The ID of the owner of the compliance control scope record.

This field is a polymorphic relationship field.

Relationship Name

Owner

Refers To

Group, User



 |
| ScopeTargetReference | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update

Description

Specifies the type of business record that this compliance control scope applies to.

Possible values are:

- Campaign
- MarketingProgram—Marketing Program
- Tactic

The default value is MarketingProgram.



 |
| TargetRecordTypeId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the record type that represents the business record selected as the scope target reference.

This field is a relationship field.

Relationship Name

TargetRecordType

Refers To

RecordType



 |