You need to sign in to do that
Don't have an account?
Dev ListingOrg
Enable Quotes object using Apex Code
Enable Quote sObject from Apex Code
Hi,
I am using Quote sObject in Rest API call but in new instance, I have to enable Quote sObject manually by clicking checkbox in Setup -> Quote -> Settings -> Enable Quote.
How can I enable it from Apex Code ??
Please let me know how can I enable it from Apex Code.
Can we put some code in "Post Install Script"? How can we use Metadata in our apex code for enable Quotes when in install package in my customer's account.
Hi,
I am using Quote sObject in Rest API call but in new instance, I have to enable Quote sObject manually by clicking checkbox in Setup -> Quote -> Settings -> Enable Quote.
How can I enable it from Apex Code ??
Please let me know how can I enable it from Apex Code.
Can we put some code in "Post Install Script"? How can we use Metadata in our apex code for enable Quotes when in install package in my customer's account.
Hello,
Use this code to enable Quotes in your org. I was write this code for enable Quotes in my developer org:-
If you face any issue then let me know.
Thanks
Piyush.