cgcloud__Account_Relationship__c

This object represents the relationship between two customer accounts. 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

Field Details
LastActivityDate
Type
date
Properties
Filter, Group, Nillable, Sort
Description
Most recent date on which a user performed an activity on this record.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Name of this record.
cgcloud__Account__c
Type
reference
Properties
Create, Filter, Group, Sort
Description
Specifies the main customer in the relationship.
This is a relationship field.
Relationship Name
cgcloud__Account__r
Relationship Type
Master-detail
Refers To
Account (Master object)
cgcloud__End_Date__c
Type
date
Properties
Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
Description
Date until which the relationship is active.
cgcloud__Is_Primary_Relationship__c
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the relationship is a primary relationship (true) or not (false).
The default value is false.
cgcloud__Record_Link__c
Type
string
Properties
Filter, Nillable, Sort
Description
Link to the detail page of the Customer Relationship record.
This is a calculated field.
Formula
HYPERLINK("/" &Id, $Label.cgcloud__record_link, "_top")
cgcloud__Related_Account_Name__c
Type
string
Properties
Filter, Nillable, Sort
Description
Name of the customer who is related to the main customer of the relationship.
This field is a calculated field.
This field is available in API version 55.0 and later.
Formula
cgcloud__Related_Account__r.Name
cgcloud__Related_Account__c
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
Customer who is related to the main customer in the relationship.
This is a relationship field.
Relationship Name
cgcloud__Related_Account__r
Relationship Type
Lookup
Refers To
Account
cgcloud__Relationship_Type__c
Type
picklist
Properties
Create, Filter, Group, Sort, Update
Description
Defines the relationship that's defined by this account-to-account relation record (Payer, Payee, Wholesaler, Delivery Recipient, Bill To, and so on.).
Possible values are:
  • BillTo
  • DeliveryRecipient
  • Payee
  • Payer
  • Wholesaler
cgcloud__Self_Relationship__c
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Formula that’s used to indicate that the relationship is a self relationship.
This is a calculated field.
Formula
cgcloud__Account__c = cgcloud__Related_Account__c
cgcloud__Start_Date__c
Type
date
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Date from which the relationship is active.

Associated Objects

This object has these 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.

cgcloud__Account_Relationship__cChangeEvent
Change events are available for the object.
cgcloud__Account_Relationship__cFeed
Feed tracking is available for the object.
cgcloud__Account_Relationship__cHistory
History is available for the tracked fields of the object.
cgcloud__Account_Relationship__cOwnerSharingRule
Sharing rules are available for the object.
cgcloud__Account_Relationship__cShare
Sharing is available for the object.