DocumentClause
Represents a clause that can be associated with multiple documents.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
DocumentClause is available for users with the ClauseManagement user permission set licenses. Salesforce Org must have a ClauseManagement platform license to access this object.
Type: string
Properties: Filter, Group, idLookup, Nillable, Sort
Description: The system-generated token identifier used in a document template to insert a specific clause version during document generation. This identifier always inserts the same clause version, even if a newer active version is published later. The value is auto-populated when the clause is saved and is read-only.
Type: textarea
Properties: Create, Nillable, Update
Description: Represents the HTML content of the document clause.
Type: textarea
Properties: Create, Nillable, Update
Description: Represents the summary of the document clause.
Type: reference
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: Represents the ID of Document Clause Group associated with Document Clause.
This field is a relationship field.
Relationship Name: DocumentClauseSet
Relationship Type: Lookup
Refers To: DocumentClauseSet
Type: picklist
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description: Specifies the format for the clause such as Rich Text.
Possible values are Non_Formatted—Non Formatted or Rich_Text—Rich Text
The default value is Non_Formatted.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the Document Clause is main or alternate.
The default value is false.
Type: boolean
Properties: Defaulted on create, Filter, Group, Sort
Description: Indicates whether the clause can be added to the relevant Salesforce object.
Type: picklist
Properties: Create, Filter, Group, Restricted picklist, Sort, Update
Description: Specifies the language of the document clause.
Possible values are:
da—Danishde—Germanen_US—Englishes—Spanishes_MX—Spanish (Mexico)fi—Finnishfr—Frenchit—Italianja—Japaneseko—Koreannl_NL—Dutchno—Norwegianpt_BR—Portuguese (Brazil)ru—Russiansv—Swedishth—Thaizh_CN—Chinese (Simplified)zh_TW—Chinese (Traditional)
Type: dateTime
Properties: Filter, Nillable, Sort
Description: The timestamp for when the current user last viewed a record related to this record.
Type: dateTime
Properties: Filter, Nillable, Sort
Description: The timestamp for when the current user last viewed this record. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.
Type: string
Properties: Filter, Group, idLookup, Nillable, Sort
Description: The system-generated token identifier used in a document template to insert the latest active version of the clause during document generation. The value is auto-populated when the clause is saved and is read-only.
Type: string
Properties: Create, Filter, Group, idLookup, Sort, Update
Description: Specifies the name of the document template clause.
Type: reference
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: ID of the user that owns this record. This field is a polymorphic relationship field.
Relationship Name: Owner
Refers To: Group, User
Type: picklist
Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description: Specifies the status of the clause such as Draft, Active, Archived.
Possible values are:
AI_Drafted—This value is available in API version 60.0 and later.ActiveArchivedDraftIn_ApprovalReview_Requested
The default value is Draft.
Type: int
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The version number of the document clause.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
DocumentClauseChangeEvent: Change events are available for the object.
DocumentClauseFeed: Feed tracking is available for the object.
DocumentClauseHistory: History is available for tracked fields of the object.
DocumentClauseOwnerSharingRule: Sharing rules are available for the object.
DocumentClauseShare: Sharing is available for the object.