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. 步骤 1. Create an initial report library To create an initial report library:
The initial report library is stored in the report sources folder and has a ".rptlibrary" filename extension. 步骤 2. Transfer the report library to your client PC Before you can edit a report library in Reporting Studio, you must transfer the report library to your client PC:
To transfer a report library to your client PC:
步骤 3. Edit the report library Start 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. 步骤 4. Upload the report library into the
LN data
dictionary Once you have completed a report library, you must upload the report library into the data dictionary on the LN server:
To upload a 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. 示例 - 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>
| |||