I am trying to write a custom validation, but I am unable to come up with a logic that can help me validate my records. The following is my sample code
public