Skip to main content
Planview Customer Success Center

Opportunity outcome cannot be set via API (2012 SP1)

Symptoms:
When trying to set the outcome as Lost or Won through the API, a "-1 General System Error" is thrown, and the opportunity is not saved.

When trying the same from the UI, there is no error.


Error/warning messages:
General System Error -1

Reason:
Outcome date (the property name is “ActualClose”) is not set when updating via API.



Resolution:
An outcome date (the property name is “ActualClose”) must be set when updating via API. The error in the COM API log should indicate that the date is missing.

When updating from the UI the default value is today’s date. Unfortunately there is no default when updating from API.