How to update parent object based on child picklist value?Case study -- if child object ContractLineItem all records Renewal Status is ‘dropped’ then update ServiceContract record as ‘dropped’, if all ContractLineItem any record Renewal Status is ‘pending’ then update ServiceContract record as ‘pending’ else all serviceContract record status is ‘Renewed’.
Salesforce,Apex,Trigger