above code delete your listpage level jumpref override method now then-->
Class name -->ReqTransPOListPageInteraction
------------------------------------------------------
Class declaration //
add variable declaration --> FormStringControl purchidCtrl;
--------------------------------------------
Select --> initialized method
add the line --> this.hyperinitialized();
----------------------------------
add new method --> hyperinitialized
public void hyperinitialized()
{
Array fields;
FormStringControl ctrl;
FormDataSource frmDs;
Common currentRecord;
FormRun formRun;
super();
currentRecord= this.listPage().activeRecord('[Yourdatasourcename]');
frmDs = currentRecord.dataSource();
formRun = frmDs.formRun();
purchidCtrl = formRun.control(formRun.controlId("Yourfiledname"));
purchidCtrl.registerOverrideMethod(methodStr(FormStringControl, jumpRef), methodStr(ReqTransPOListPageInteraction, CustomjumpRef), this);
}
-----------------------------------------------------------------------
Add new method --->CustomjumpRef
private void CustomjumpRef(FormControl _formControl)
{
Yourtable(newfieldaddedtable) purch;
Args args;
MenuFunction menuFunction;
;
if (Yourfieldname.valueStr() != "")
{
menuFunction = new MenuFunction(menuitemDisplayStr("Yourhyperlinkformname"), MenuItemType::Display);
args = new Args(menuFunction.object());
purch = PurchTable::find(Yourfieldname.valueStr());
if (purch.RecId != 0)
{
args.record(purch);
menuFunction.run(args);
}
else
{
error(strFmt("Purchase order: %1 no longer exists"));
}
}
}