• forcedev99
  • 0 Points
  • Member since 2010

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 1

Anyone please give me some idea about how to execute code present within Catch block as part of test method.

Thanks a lot !!!



Dear All,


I have my custom object (say MyCustomObjOne) that has a master-detail relationship to the Accoutn Object. The I have another omy custom object (say MyCustomObjTwo) that has a Lookup relationship to the Account object and a master-detail realtionship to the MyCustomObjOne.


I would like that when I create a new record for the MyCustomObjTwo, after I select the Account record I can select only the MyCustomObjOne that are child of the Accoutn record I have just selected.


Is it possible?How?