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));
info(“info text”, “help text”, sysInfoAction_FormRun);

Leave a Reply

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

You are commenting using your 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