| To create report librariesTo create a report library, you must first create an initial
report library on the LN server. Subsequently, you must complete the new library in the Infor LN Reporting Studio. For details, see the procedure steps. Istruzione 1. Create an initial report libraryTo create an initial report library: - Start the Reports (ttadv3530m000) session. Make sure you select the proper development
VRC as your current package VRC.
- Click New.
A question "Start report generator?" is displayed.
- Click No. The Reports (ttadv3130s000) details session starts.
- Enter the module and report code and the description for
the new report library. In the Report Type field, select "Report Library".
- Save the new report library and close the details
session.
The initial report library is stored in the report sources
folder and has a ".rptlibrary" filename extension. Istruzione 2. Transfer the report library to your client PCBefore you can edit a report library in Reporting Studio, you must transfer the report library to your client
PC: - If SCM is not active, for example if LN runs on a Windows
platform, you must export the report library before you can edit it.
- If SCM is active, you must check out and export the report
library before you can edit it.
To transfer a report library to your client
PC: - In the Reports (ttadv3530m000) session, take one of the following steps:
- If SCM is active, select the report library and click Estrai.
- If SCM is not active, select the report library and, on
the Visualizzazioni, Riferimenti o Azioni menu, click Export RPT file....
The Export/import RPT file dialog
appears. - In the Export to field, enter the
destination directory and file name. The default export destination is the
${BSE_TMP} directory on your client PC.
- Click Continue to transfer the report
library.
Istruzione 3. Edit the report libraryStart Reporting Studio and open the report library. Enter the
desired code in the library. You can, for example, define functions you want to
share in multiple reports. For details, refer to the Reporting Studio documentation. Istruzione 4. Upload the report library into the LN data
dictionaryOnce you have completed a report library, you must upload
the report library into the data dictionary on the LN server: - If SCM is not active, you must import the report library
on your LN server.
- If SCM is active, you must import and check in the report
library.
To upload a report library: - Start the Reports (ttadv3530m000) session.
- Take one of the following steps:
- If SCM is active, select the report library concerned
and click Archivia.
- If SCM is not active, select the report library
concerned and, on the Visualizzazioni, Riferimenti o Azioni menu, click Import RPT file....
The Export/import RPT file dialog
appears. - In the Import from field, enter the
directory and file name of the exported/checked out report library on your
client PC.
- Click Continue to import the report
library.
- If SCM is active, a question "Do you want to check in this
Report?" is displayed. Click Yes and enter a revision text to
check in the report library.
To link a report library to a report design To share the functionality in a report library, you can link the
library to multiple report designs. For details, refer to the Reporting Studio documentation. Esempio- code in a report design to link
report libraries The following code shows how the ChartDataFinal and
GeneralFinal report libraries are linked to a report design. <list-property name="libraries">
<structure>
<property name="fileName">ChartDataFinal.rptlibrary</property>
<property name="namespace">ChartDataFinal</property>
</structure>
<structure>
<property name="fileName">GeneralFinal.rptlibrary</property>
<property name="namespace">GeneralFinal</property>
</structure>
</list-property>
| |