ContractDocumentVersion
Tracks contract document versions through contract lifecycle stages. This object is available in API version 56.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Type: reference
Properties: Create, Filter, Group, Sort
Description: The ID of the contract associated with the contract document version.
This is a relationship field.
Relationship Name: Contract
Relationship Type: Lookup
Refers To: Contract
Type: string
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: User who created this contract document version.
Type: picklist
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description: Indicates how the document version was created
Possible values are:
BatchMode—Batch ModeCheckoutCheckoutModify—Checkout ModifyContractReconciliation—Contract ReconciliationCreateContract—Create ContractCustomizeExternal_Online_Editor—Microsoft 365GenerateImportMicrosoft365ExternalReview—Non-Private External ReviewMicrosoft365PrivateExternalReview—Private External ReviewReconcileWordUpdateContract
Type: string
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: The name of the resource containing the Microsoft Word document file used to generate the output web document.
Type: reference
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: Document Template Identifier.
This is a relationship field.
Relationship Name: DocumentTemplate
Relationship Type: Lookup
Refers To: DocumentTemplate
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the latest version of the template is newer than the version used to generate the document.
The default value is ‘false’.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether this contract document version contains red lines.
The default value is ‘false’.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether this contract document version contains red lines.
The default value is ‘false’.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the document is locked.
The default value is ‘false’.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the user currently accessing the document has locked the document.
The default value is ‘false’.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether section IDs are stored in the document (used for internal processing).
The default value is ‘false’.
Type: boolean
Properties: Create, Defaulted on create, Filter, Group, Sort, Update
Description: Indicates whether the Contract State Model Transition is bypassed (true) or ignored (false).
The default value is ‘false’.
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: picklist
Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description: Specifies the reason why the document version is locked.
Possible values are Generate, SuperUser, or User
Type: reference
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: ID of the user who locked this version.
This is a relationship field.
Relationship Name: LockedBy
Relationship Type: Lookup
Refers To: User
Type: string
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: Name of the user who locked this version.
Type: int
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: Count of non-standard sections.
Type: int
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: Total count of sections that contain red lines in the document version.
Type: int
Properties: Create, Filter, Group, Nillable, Sort, Update
Description: Total count of sections that contain red lines in the document version.
Type: picklist
Properties: Create, Filter, Group, Restricted picklist, Sort, Update
Description: Contract document version status.
Possible values are Active, Inactive, or Draft
Type: int
Properties: Create, Filter, Group, idLookup, Sort, Update
Description: Contract document version number.
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.
ContractDocumentVersionChangeEvent: Change events are available for the object.
ContractDocumentVersionFeed: Feed tracking is available for the object.
ContractDocumentVersionHistory: History is available for tracked fields of the object.
ContractDocumentVersionOwnerSharingRule: Sharing rules are available for the object.
ContractDocumentVersionShare: Sharing is available for the object.