Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Syntax

sfdcCreateOpportunity(sfdcConnection, sfdcOpportunity, [sfdcAPIVersion])

...

Excerpt

Creates an opportunity in the Salesforce environment.


Parameters

Parameter

Type

Required

Description

sfdcConnection

SFDCConnection

Yes

Salesforce connection - it is the object resulted from the call to the connectToSalesforce routine

sfdcOpportunitySFDCOpportunityYesStructure containing the fields of the opportunity that will be created. This is a predefined structure type described below. When creating an opportunity, there are three required fields that must have values: Name, CloseDate, and StageName.
sfdcAPIVersionstringNoThe Salesforce API version to be called when creating the opportunity, it should have the following form: "vXX.X" - eg: "v43.0", "v42.0".
It is not required and if empty, the latest available version will be used.

...