I have some customise code in checkAllowEditWhenCheckPrinted(container _cacheKey, boolean _newVoucher) method of an existing table LedgerJournalTrans and its a private server boolean Method. I am trying to move all the customisation from the method. Is it feasible using pre/post event handlers for checkAllowEditWhenCheckPrinted() method?
And if so, how can I return a boolean value because the return type of method is boolean from pre/post event handler?
Or is there any alternate better way to achieve this ?