_setStatus
Sets the Status of an Opportunity.
Parameters
id
The ID of the Opportunity being modified.
val
The status which the Opportunity will be set to: Draft => 1 Quoted => 2 Lost => 3
Example
Results
On Success
If the "val" parameter already fits the current status of the Opportunity.
On Failure
If the "id" parameter is not set:
If the "val" parameter is not set:
If the "id" parameter does not match the ID of an existing Opportunity:
Last updated