cgcloud__Contract_Template__c

Contract and Tactic Templates object. This object is available in API version 54.0 and later.

Supported Calls

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

Fields

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Most recent date on which a user referenced this record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: Most recent date on which a user viewed this record.

Name

  • Type: string
  • Properties: Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update
  • Description: Unique identification of the record.

OwnerId

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: ID of the record owner.

    This is a polymorphic relationship field.

  • Relationship Name: Owner
  • Relationship Type: Lookup
  • Refers To: Group, User

RecordTypeId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Represents the record type of the record.

    This is a relationship field.

  • Relationship Name: RecordType
  • Relationship Type: Lookup
  • Refers To: RecordType

cgcloud__Account_Contract_Template__c

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Reference to the contract template with which the tactic template record is related. Mandatory for the tactic template record type.

    This is a relationship field.

  • Relationship Name: cgcloud__Account_Contract_Template__r
  • Relationship Type: Lookup
  • Refers To: cgcloud__Contract_Template__c

cgcloud__Active_Policy__c

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Specifies whether a contract tactic of this type is initially preset as included in the contract (not considered if the contract tactic is manually added to the promotion).
  • Default value: true

cgcloud__Active__c

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Determines whether the template is active. Only active templates can be used for creating customer contracts.
  • Default value: true

cgcloud__Automatic_Creation__c

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Describes whether the customer contract created that's approved with this template leverages the creation of a contract payment.
  • Default value: true

cgcloud__Copy_Tactics__c

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Describes whether the tactics that are created after this tactic template are to be included in the copy of the contract.
  • Default value: false

cgcloud__Description_Language_1__c

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 1.

cgcloud__Description_Language_2__c

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 2.

cgcloud__Description_Language_3__c

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 3.

cgcloud__Description_Language_4__c

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Stores the description of language 4.

cgcloud__Description__c

  • Type: string
  • Properties: Filter, Nillable, Sort
  • Description: Reference to the description based on the user-specified language.

    This is a calculated field.

  • Formula:
    1CASE($User.cgcloud__Language_Postfix__c,
    2"Language1", cgcloud__Description_Language_1__c,
    3"Language2", BLANKVALUE(cgcloud__Description_Language_2__c,cgcloud__Description_Language_1__c),
    4"Language3", BLANKVALUE(cgcloud__Description_Language_3__c,cgcloud__Description_Language_1__c),
    5"Language4", BLANKVALUE(cgcloud__Description_Language_4__c,cgcloud__Description_Language_1__c),
    6cgcloud__Description_Language_1__c)

cgcloud__Job_Definition_List__c

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Reference to the job definition list.

    This is a relationship field.

  • Relationship Name: cgcloud__Job_Definition_List__r
  • Relationship Type: Lookup
  • Refers To: cgcloud__Job_Definition_List__c

cgcloud__Max_Days__c

  • Type: double
  • Properties: Create, Defaulted on create, Filter, Nillable, Sort, Update
  • Description: Maximum duration of the contract in days.

cgcloud__Meta_Type__c

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Metatype for the integration with the mobile device.
  • Possible values:
    • CustomerContract—Customer Contract
    • Tactic

cgcloud__Min_Days__c

  • Type: double
  • Properties: Create, Defaulted on create, Filter, Nillable, Sort, Update
  • Description: Minimum duration of the contract in days.

cgcloud__Preset__c

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Describes whether the Tactic Template is to be preset when creating the contract. If this checkbox is deselected, Tactics are available to manually add after creation.
  • Default value: false

cgcloud__Product_Policy__c

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Describes the cardinality of the products that are related to the contracts based on this template.
  • Default value: ZeroOrMore
  • Possible values:
    • No
    • OneOrMore—One or more
    • ZeroOrMore—Zero or more

cgcloud__Sales_Org__c

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Describes the sales org to which the contract template belongs.
  • Possible values:
    • 0000
    • 0001
    • 0002
    • 0003

cgcloud__Sort_Count__c

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Stores the sort value.

cgcloud__Workflow__c

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: Reference to the Workflow. Mandatory for the contract template record type.

    This is a relationship field.

  • Relationship Name: cgcloud__Workflow__r
  • Relationship Type: Lookup
  • Refers To: cgcloud__Workflow__c

Associated Objects

Associated Objects

This object has these following associated objects. If the API version isn’t specified, they are available in the same API versions as this object. Otherwise, they are available in the specified API version and later.