You need to sign in to do that
Don't have an account?
Archive Product2 from API
Hi All,
We have a client who needs the ability to delete a Product2 object in Salesforce.com, with the ability of it showing up in an opportunity if it once existed there.
If the Product2 object is part of an opportunity when it is deleted via the UI in salesforce, it asks if you would like to archive the Product2. Is there a way to accomplish this from the command line?
Another option would be to set the Product2 to isActive = false. However, you can just 'Activate' the Product2 from the Products tab / view in Salesforce (The activate link on the tab ignores Validation rules, fyi).
Any ideas or help would be much appreciated.