Creating a report

Use the Report Properties window of the Create a New Infor LN Software Component wizard to initialize and create a new report in your local workspace. This window is the wizard's second dialog box.

For more general information about the wizard, see Create a New Infor LN Software Component wizard.

Note: To implement the new report in an LN application, you must synchronize with the server and compile the report.

Creating a report

  1. Start the wizard and select the component type.
    1. Start the wizard.

      See Create a New Infor LN Software Component wizard.

    2. Specify the software development activity for which you want to create the new report.
    3. Select Report as the component type.
    4. Click Next. The Select Report Mode window is displayed.
  2. Select the report mode.
    1. In the Select Report Mode window, select how you want to create the report.
      • To generate the report, select the Generate Report check box.
      • To create the report manually, clear the Generate Report check box.
    2. Click Next.The Report Properties window is displayed.
  3. Specify the required report properties.

    The layout of the Report Properties window depends on how you create the report.

    • If you create the report manually, specify this information:
      Name
      This is a text value. The report name must start with the code of the package and the module in which the report is used. After the report is created, you cannot change its name.
      Description
      This is a text value. LN Studio automatically stores the description that you enter in a label. If you want to change the description after the report is created, edit this label in the label editor.
      Report Size
      To specify a size, click Browse and select a value from the Browse Default Sizes dialog box.
    • If you generate the report, specify this information:
      Table
      The table code of the main table. The combination of the package code, the module code, and the table number identifies a table. Specify the package code of the table, then click Browse and select a table from the Browse component dialog box.
      Use All Table Fields
      If this check box is selected, all table fields of the main table are printed on the report. If this check box is cleared, click Select Fields and select the desired fields from the Select Table Fields dialog box.
      Report Code
      The identification code of the report. A report is identified by a unique combination of package code, module code and report identifier. To regenerate an existing report, click Browse and select the report code from the Browse component dialog box. After the report is created, you cannot change its code.
      Report Description
      LN Studio automatically stores the description that you enter in a label. If you want to change the description after the report is created, edit this label in the label editor.
      Report Size
      To specify a size, click Browse and select a value from the Browse Default Sizes dialog box.
      Report Type

      Choose one of these options:

      • Type 1: Single occurrence report. The fields on the report are printed vertically. Use this report type if a lot of fields, that do not fit horizontally on a report, must be printed.
      • Type 2: Multi occurrence report. The fields on the report are printed horizontally.
      • Type 3: Multi occurrence report with a group layout. The fields on the report are printed horizontally. In addition you can print group headers and group totals.
      Use Index
      Specify the number of the index. The index is used to print the report in the order according to the key fields specified in the index.
      New Page On
      This field is only applicable for type 3 reports.

      The number of group fields which must be printed on a new page. If one of these fields changes, a page break is forced.

      The total number of group fields must be less than the total number of key fields.

      New Page Off
      This field is only applicable for type 3 reports.

      The number of group fields which must be printed on a new page.

      The total number of group fields must be less than the total number of key fields.

      Overwrite Existing Components
      If this check box is selected, existing software components are overwritten.

    For more information about the report properties, see the online help of the Report Editor.

  4. Create the report.

    To create the report in your local workspace and to exit the wizard, click Finish. The created report appears in the Activity Explorer view of the Application perspective.

    You can now edit the new report in the Report Editor.

Note: When you create a report in a new application, these labels for general use are automatically created in the label folder in the Activity Explorer:
  • [package code]ttgen.h.comp.lbl - Company
  • [package code]ttgen.h.date.lbl- Date
  • [package code]ttgen.page.lbl - Page