Hi,
I have created a subclass [own model to override a method 'validate' of a class 'InventABCUpdate' [Application Suite model. Then I gave the same name and parameters as the method in the superclass.
However, this method in subclass is not called whilst debugging the superclass, but instead, the original method in superclass 'InventABCUpdate' is called.
I think the method overriding the one in superclass is somehow ignored.
class InventABCUpdateExtendedValidate extends InventABCUpdate
{
public boolean validate(Object _calledFrom = null)
// this method signaure is the same as the one in superclass
{
boolean ok = true;
if (model == ABCModel::Link)
{
if (interest <= 0)
{
ok = checkFailed("@SYS8377") && ok;
}
if (! toDate)
{
ok = checkFailed("@SYS24515") && ok;
// there are other if clauses but not written here
why is it not called?
Thank you.