Versions Compared

Key

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

Syntax

sfdcCreateAccount(sfdcConnection, sfdcAccount, [sfdcAPIVersion])

Description

Excerpt

Creates an account in the Salesforce environment.


Parameters

Parameter

Type

Required

Description

sfdcConnection

SFDCConnection

Yes

The Salesforce Connection - it is the object resulted from the call to the connectToSalesforce routine.

sfdcAccountSFDCAccountYesStructure containing the fields of the account that will be created. This is a predefined structure type described below. When creating an account, only the Name field Name is mandatoryrequired.
sfdcAPIVersionstringNoThe Salesforce API Version version to be called when creating the account; , it should have the following form: "vXX.X" - eg: "v43.0", "v42.0".
It is not mandatory, if missing required and if empty, the latest available version will be used.


SFDCAccount

...

fields

NameFieldType

SFDCAccount 


Name

string

AccountNumber

string
AnnualRevenuestring
BillingCitystring
BillingCountrystring
BillingPostalCodestring
BillingStatestring
BillingStreetstring
Descriptionstring
Faxstring
Industrystring
NumberOfEmployeesnumber
Ownershipstring
Phonestring
Ratingstring
ShippingCitystring
ShippingCountrystring
ShippingPostalCodestring
ShippingStatestring
ShippingStreetstring
Sicstring
Sitestring
TickerSymbolstring
Typestring
Websitestring

Return type

string - the Salesforce Account ID

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "sfdc_routines"
labelsbasic_routines