• sureshsomepalli
  • NEWBIE
  • 0 Points
  • Member since 2012

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

While validating the custom objects before deploying I am getting the following error,

 

Failure Message: "System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Please choose a JRM or JCREC accordingly: []", Failure Stack Trace: "Class.TestTriggers.testCheckLoan: line 327, column 1"

 

Please help me on this.

 

Many Thanks in advance.

Hello Community!

 

In addition to my previous post, I would like to know now, if there is any way to activate/deactivate triggers within my apex controller. I thought about 'trigger1.deactivate();'

 

Thanks for your help,

 

Cheers

 

Nisse