You need to sign in to do that
Don't have an account?
djain
How to set IsWon in Opportunity
Hi,
I need to set IsWon field of oppurtunity to true in my application .While bulk insertion in Opportunity Stagename is set to 'Won' but IsWon field is still set to false.
As per the link http://www.salesforce.com/us/developer/docs/api100/Content/sforce_api_objects_opportunity.htm
IsWon should be set to true if stageName is Won.
Please guide me.
Thanx in advance.
Check the picklist configuration for Stage on the Opportunity. For each picklist value for that specific field, you specify the "type' which can be either "Open", "Closed/Won" , "Closed/Lost". And make sure for "Won" you have selected type "Closed/Won".
Hi,
Any opportunity StageName value whose type is 'Closed/Won' can set the IsWon flag to true while inserting an Opportunity. It need not be 'Won' only. So try to insert the Opportunities with such a StageName value whose type is 'Closed/Won' in your org.
Go to Setup-> Customize-> Opportunities-> Fields-> Click on 'Stage' field.
Check 'Opportunity Stages Picklist Values' section and find out a StageName value whose type is 'Closed/Won'. Use this value while inserting the records.
Hope this solves the problem...