Skip to main content
Kris Webster が「#Data Management」で質問
I need to create a validation rule for a checkbox. My use case is that we have an object called "Projects" with a checkbox called "Billable" that can either be ckecked or unckecked. The Project object then has a relationship with another object called "Expense Reports" that also has a "Billable" checkbox on it. 

 

I need to create a validation rule that says; when the "Billable" field on the Project object is unckcked, then the "Billable" checkbox on the Expense Reports object must also be unchecked, and if it IS checked then the user should not be allowed to move the status of the expense report to submitted. 

 

The billable field on the Project object is called - pse__Is_Billable__c

 

The billable field on the Expense Report object is called - pse__Billable__c

 

And then the status that they should not be able to put the expense report to with this field checked is - Submitted 

 

Any help would be greatly appreciated!! 
5 件の回答
  1. 2018年9月27日 17:42
    Can you tell me which object is the parent among the two of these, Project or Expense Reports?

     

     
0/9000