You need to sign in to do that
Don't have an account?
Tufayel Ahmed
Creating a clone button for custom object that clones line items.
We have a custom object, Purchase Request, that we'd like to clone along with its line items. Currently, we have the native "clone" button that only clones the Purchase Request itself but does not clone with the Purchase Request Line Items. Any help would be appreciated!
Mark as best answer, If it resloves !!
Please go through below link
http://christopheralunlewis.blogspot.com/2012/04/clone-plus-clone-salesforce-objects.html
Mark as resloved if it helps :) :)
Thanks,
Bhanu Prakash
visit ForceLearn.com (https://www.forcelearn.com/)
Thanks for your prompt response. This was certainly helpful. I have done all steps mentioned in the article you provided and tried testing. When I went to clone the Purchase Request, the button works and redirects me to the page asking for which child objects I'd like to clone. However, the child objects (or line items) are not available to select.
Please let me know in case of any queries.