Skip to main content

SFDCOpportunity

A Salesforce Opportunity record, with any accords linked to it.

type SFDCOpportunity implements SFDCObjectInterface {
id: String!
connectedAccordId: String
connectedAccordName: String
connectedCrmId: String
connectedAccords: [ConnectedAccord]
accountName: String
accountWebsite: String
opportunityName: String
opportunityAmount: String
sfdcUrl: String
closeDate: String
createdDate: String
nextStep: String
stageName: String
ownerName: String
recordTypeId: String
}

Fields​

SFDCOpportunity.id ● String! non-null scalar​

The Salesforce record id.

SFDCOpportunity.connectedAccordId ● String scalar​

Id of the accord linked to this Opportunity, if one exists. Populated by searchSFDCObjects only.

SFDCOpportunity.connectedAccordName ● String scalar​

Name of the accord linked to this Opportunity, if one exists. Populated by searchSFDCObjects only.

SFDCOpportunity.connectedCrmId ● String scalar​

The CRM id recorded on the linked accord, if one exists. Populated by searchSFDCObjects only.

SFDCOpportunity.connectedAccords ● [ConnectedAccord] list object​

All accords linked to this Salesforce Opportunity. Populated by searchSFDCObjects only.

SFDCOpportunity.accountName ● String scalar​

Name of the Opportunity's Account; empty string when it has none.

SFDCOpportunity.accountWebsite ● String scalar​

Website of the Opportunity's Account; null when it has none.

SFDCOpportunity.opportunityName ● String scalar​

The Opportunity name.

SFDCOpportunity.opportunityAmount ● String scalar​

The Opportunity amount.

SFDCOpportunity.sfdcUrl ● String scalar​

Deep link to the record in the Salesforce Lightning UI.

SFDCOpportunity.closeDate ● String scalar​

The Opportunity close date.

SFDCOpportunity.createdDate ● String scalar​

Date the Opportunity was created, as YYYY-MM-DD, or "-" when Salesforce reports no creation date.

SFDCOpportunity.nextStep ● String scalar​

Always an empty string: the resolver hardcodes it and never reads the Opportunity's NextStep field.

SFDCOpportunity.stageName ● String scalar​

The Opportunity stage name.

SFDCOpportunity.ownerName ● String scalar​

Display name of the record owner, falling back to their email and then to "-" when the record has no owner.

SFDCOpportunity.recordTypeId ● String scalar​

Id of the Opportunity's Salesforce record type.

Interfaces​

SFDCObjectInterface interface​

Fields shared by every Salesforce object variant, including the accord (if any) this CRM record is linked to. The connected-accord fields are populated by searchSFDCObjects only; getSFDCObject leaves them null.

Implemented By​

SFDCObject union