Skip to main content
All,

 

I have 2 custom objects name Proof_of_Claim__c and Litigation__c . 

 

In the Proof_of_Claim__c object I created a Master Detail data type field name Litigation__c,  connected to Litigation__c object.

 

In the Litigation field there is a picklist field name Type__c with the values Bankruptcy and General in it.

 

Is there a way to create  validation rule when a user  selects a value in the Litigation__c Master detail field in the Proof_of_Claim__c object, the record in the Litigation__c object must have the value Bankruptcy selected in the Type__c picklist field.

 

Regards,

 

Forrest
2 answers
  1. Oct 14, 2014, 2:56 PM
    Hi Forrest,

     

    you can write a validation rule on Proof of Claim Object

     

    TEXT(Litigation__r.Type__c)<>"Bankruptcy"

     

    Please use the insert button to select the Type field from the related Litigation object.
0/9000