D365- Can we skip the standard method?

Hi All,

In Rebeta agreement form while doing validation I need to change the validation method .

When I clicked validate menu button I found PdsRebateAgreementValidate class from their It hits main()->run(). In Run(),  I found validate() method from there I found checkIfLineExists() method.

Now my question is I want to skip the standard method(i.e, checkIfLineExists())...  and need to hit my method where I mention same method name(i.e. checkIfLineExists())...In this method I will write my own logic.

Note: I don't want  to hit standard method.

Can any one suggest.

Related
Recommended