Mapping type function

Use this mapping type if you want the get the result value of a function directly. You can pass arguments to those functions.

Examples:

Target Source
ic_company get.compnr()
ic_screenid icm.get.screenid()
Desc

get.item.description(tisfc001.mitm)

Note: add this function in the Function hook, or if this function is included in a DLL, you must link this DLL with a “#pragma used dll” in the Include hook.

For the Infor Business Context message a helper functions are available:

Function Description
icm.getScreenId() Function returns the screen id of the current session. This is “ln.<session code>”
icm.getLogicalId() Function returns the logical ID of the environment as used in ION
icm.getContextId Function returns a unique identification for the context message, used for debugging.
icm.getInternalAccountingEntity(<tablecode>) Function returns the physical company of the passed table, preceded by "infor.ln.".
icm.getReadOnly("tablecode") Function returns “true” if the passed table is the maintable of the session, otherwise it returns “false”.
icm.getDrillbackURL("tablecode") Function returns the drillback url of the passed table.