Enabling Infor Lawson Smart Reports at Different Levels
This table shows the specific files that you must update to enable LSR in different levels:
Level | File Name | Location(s) | Description |
---|---|---|---|
Lawson Environment | rpt.cfg | $LAWDIR/system/rpt.cfg |
When the
|
Program | ProgramCode.cfg |
$LAWDIR/productlinename/obj/ or $LAWDIR/productlinename/systemcodesrc/ |
Changes applied under the program level will override the settings in any existing SystemCode.cfg and ProductLine.cfg files. |
System | SystemCode.cfg |
$LAWDIR/productlinename/obj/ or $LAWDIR/productlinename/systemcodesrc/ |
Changes applied under the system level will override the settings on the ProductLine.cfg file. |
ProductLine | ProductLineName.cfg | $LAWDIR/productlinename/ |
This configuration enables LSR at Product Line level. |
To enable Infor Lawson Smart Reports at the Lawson Environment Level
LSR_ENABLE
parameter to ON in rpt.cfg. Changes in Productline.cfg, SystemCode.cfg, and ProgramCode.cfg will be overriden if you set RPT_CFG_OVRD
to ON.
-
Using a text editor, open the $LAWDIR/system/rpt.cfg file.
-
To enable Infor Lawson Smart Reports to run in Lawson Portal, add the following values:
RUNTIME_XML ON
RUNTIME_XML_ENABLE ON
LSR_ENABLE ON
RPT_CFG_OVRD ON
Note: IfRPT_CFG_OVRD
is OFF, the settings in Productline.cfg, SystemCode.cfg, and ProgramCode.cfg will be in effect.
To enable Infor Lawson Smart Reports at the Program level
-
Open a text editor.
-
To enable the Infor Lawson Smart Reports feature, add the following values:
RUNTIME_XML ON
RUNTIME_XML_ENABLE ON
LSR_ENABLE ON
-
Save the file as ProgramCode.cfg (for example, HR211.cfg) in the following directory:
$LAWDIR/productlinename/systemcodesrc/PROGRAMCODE.cfg
or
$LAWDIR/productlinename/obj/PROGRAMCODE.cfg
To enable Infor Lawson Smart Reports at the system code level
-
Open a text editor.
-
To enable the Infor Lawson Smart Reports feature, add the LSR_ENABLE value:
RUNTIME_XML ON
RUNTIME_XML_ENABLE ON
LSR_ENABLE ON
-
Save the file as SystemCode.cfg (for example, HR.cfg) in the following directory:
$LAWDIR/productlinename/obj/SYSTEMCODE.cfg
or
$LAWDIR/productlinename/systemcodesrc/SYSTEMCODE.cfg
To enable Infor Lawson Smart Reports at the product line level
-
Open a text editor.
-
To enable the Infor Lawson Smart Reports feature, add the LSR_ENABLE value:
RUNTIME_XML ON
RUNTIME_XML_ENABLE ON
LSR_ENABLE ON
-
Save the file as ProductLine.cfg in the following directory:
$LAWDIR/productlinename/ProductLineName.cfg