I have two custom objects with master detail relationship.
My requirement is that the parent should be submitted for approval only after all its child records are submitted for approval.
For this, client has asked me to show the "Submit for approval" button in the Approval History related list only the above condition is satisfied.
I think the solution can be achieved through VF page by removing the "Submit for approval" button from the Approval History related list and showing it using the condition.
But my question is:- Is it possible to remove the "Submit for Approval" button from the Approval History related list?
Also, I should not hide the Approval history section(as a way to prevent the users from submitting for approval when criteria is not met) because users should be able to see the approval history.