Interested in creating and selling training? You pick the price, 50/50 revenue share, and you own the content. Find out more at
Good evening, friends!
In my extension class I need to override original methods return value. Is it possible? The original method is this:
protected boolean isPurchConfirmationRequestJournal() { return this.parmPurchaseOrderContract().parmIsPurchConfirmationRequestJournal(); }
I would just need to return false;
Best regards,
Roberts
Yes, it is:
protected boolean isPurchConfirmationRequestJournal() { // Call the standard method, ignore the return value. next isPurchConfirmationRequestJournal(); // Return your own value return false; }
It sounds like you're not familiar with CoC (Chain of Command) at all. You should learn a bit about it.