How to put validation for the Attachment
SummaryThe Lead should not be Converted to agreement without an attachment
The lead should not be converted to agreement (custom object) without an attachment
I tried the below script its not working.Kindly help me on this requirement.
if (LeadStatus_Custom_c == 'CONVERTED')
throw new oracle.jbo.ValidationException("You are not allow to covert the Agreement without Attachment")