| To create report libraries |  |
| To create a report library, you must first create an initial report library on the ERP LN server. Subsequently, you must complete the new library in the Infor Reporting Studio. For details, see the procedure steps. Step 1. Create an initial report library To 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. The following code shows an example of the content of an initial report library.
    <?xml version="1.0" encoding="UTF-8"?>
    <library xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.6" id="1">
            <property name="createdBy">ERPLN akoster</property>
            <property name="units">mm</property>
            <property name="comments">Copyright (c) 2007 &lt;&lt;Infor Global Solutions>></property>
            <property name="theme">defaultTheme</property>
            <themes>
                    <theme name="defaultTheme" id="2"/>
            </themes>
            <page-setup>
                    <simple-master-page name="NewSimpleMasterPage" id="3"/>
            </page-setup>
    </library>
Step 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: If SCM is not active, for example if ERP 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 Check-Out. If SCM is not active, select the report library and, on the specific 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. Step 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. Step 4. Upload the report library into the ERP LN data dictionary Once you have completed a report library, you must upload the report library into the data dictionary on the ERP LN server: If SCM is not active, you must import the report library on your ERP 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 Check-In. If SCM is not active, select the report library concerned and, on the specific 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. Example- 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>
Related topics To create query-based reports To create resource files Query-based Reporting |