• Alex Tabbal
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi all,

  I need to create the validation rule from without relationship objects. i have created one custom object like "DPT_Configuration__c" in such object have 'Request_Quantity__c' field. In this field compare to another object of "Trial__c" field 'Quantity__c'. i have created validation rule on Trial__c custom object. like given below

 

$ObjectType.DPT_Configuration__c.Fields.Request_Quantity__c  <   Quantity__c  &&  Remarks__c  = null

 

but this throw the syntex error : Incorrect parameter for operator '<'. Expected Number, Date, DateTime, received Object

 

How to solve this..

Hi all,

  I need to create the validation rule from without relationship objects. i have created one custom object like "DPT_Configuration__c" in such object have 'Request_Quantity__c' field. In this field compare to another object of "Trial__c" field 'Quantity__c'. i have created validation rule on Trial__c custom object. like given below

 

$ObjectType.DPT_Configuration__c.Fields.Request_Quantity__c  <   Quantity__c  &&  Remarks__c  = null

 

but this throw the syntex error : Incorrect parameter for operator '<'. Expected Number, Date, DateTime, received Object

 

How to solve this..