Links in Infolog

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);

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s