Priti Gohil (PwC) a posé une question dans #Trailhead26 mai 2020, 09:54Validation Rule - Child objectCan anyone guide me how to write Validation rule, When Field status is Complete / cancelled at that time child object should not allowed be created1 réponseTriTrier par dateTrier par ordre d’utilitéTrier par dateDavid Zhu (Independent Contractor)26 mai 2020, 11:57You may create a validation rule on child object assuming the field is a picklist data type.AND( ISNEW(),OR( ISPICKVAL(Parent__r.field1__c, 'Completed'), ISPICKVAL(Parent__r.field1__c, 'Canceled') ))Afficher plusRépondre dans Slack
David Zhu (Independent Contractor)26 mai 2020, 11:57You may create a validation rule on child object assuming the field is a picklist data type.AND( ISNEW(),OR( ISPICKVAL(Parent__r.field1__c, 'Completed'), ISPICKVAL(Parent__r.field1__c, 'Canceled') ))Afficher plus