ServiceContractOwnerSharingRule

Represents the rules for sharing a ServiceContract (customer service agreement) with users other than the owner.

Note
Contact Salesforce customer support to enable access to this object for your organization.

Supported Calls

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

Fields

Field Name Details
AccessLevel
Type
picklist
Properties
Create, Filter, Group, Sort, Update
Description
A value that represents the type of sharing allowed. The possible values are:
  • Read
  • Edit
Description
Type
textarea
Properties
Create, Filter, Nillable, Sort, Update
Description
A description of the sharing rule. Maximum size is 1000 characters. This field is available in API version 29.0 and later.
DeveloperName
Type
string
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your organization. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization. Corresponds to Rule Name in the user interface.

This field is available in API version 24.0 and later.

Note
When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance may slow while Salesforce generates one for each record.
GroupId
Type
reference
Properties
Create, Filter, Group, Sort,
Description
The ID representing the source group. Service contracts owned by users in the source group trigger the rule to give access.
Name
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
Label of the sharing rule as it appears in the user interface. Limited to 80 characters. Corresponds to Label in the user interface.
UserorGroupId
Type
reference
Properties
Create, Filter
Description
The ID representing the target user or group. Target users or groups are given access.

Usage

Use this object to manage the sharing rules for a service contract. General sharing and territory management-related sharing use this object.

© Copyright 2000–2014 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.