improve POWrapper to use default function of interface
Description
For example, I have the interface IDocApprove.getLine_Manager_ID. For tables that don’t define the Line_Manager_ID column, it simply returns null, so I use a default function.
However, POWrapper throws an exception: "Method not supported." because not found column Line_Manager_ID
To improve this, I implemented a lookup to call the default method before throwing the exception.
For example, I have the interface
IDocApprove.getLine_Manager_ID
. For tables that don’t define theLine_Manager_ID
column, it simply returnsnull
, so I use a default function.However,
POWrapper
throws an exception: "Method not supported." because not found columnLine_Manager_ID
To improve this, I implemented a lookup to call the default method before throwing the exception.