Just a short reminder for myself.
If you want your info text ( or warning or error) to link to a record, then you can just add a SysInfoAction_TableField class to the call:
info(“info text”, “help text”, SysInfoAction_TableField::newBuffer(salesTable));
But if there is the link is not defined by the record e.g. in the case of returns, you need to use the SysInfoAction_FormRun class:
SysInfoAction_FormRun sysInfoAction_FormRun;
;
sysInfoAction_FormRun = SysInfoAction_FormRun::newFormname(formstr(ReturnTable));
sysInfoAction_FormRun.parmCallerBuffer(salesTable);
info(“info text”, “help text”, sysInfoAction_FormRun);

Leave a Reply