Creating Report Objects

This chapter provides overviews of the report design process and report object naming, and discusses how to:

Click to jump to parent topicUnderstanding the Report Design Process

Before you create a report, you should plan it so that it is functional, useful, and complete. A successful report design begins with planning. Determine the report requirements by:

Surveying Stakeholders

Ask these questions of the stakeholders to determine the report requirements:

Creating Report Models

When you have determined the report requirements, create a report model. The report model helps you determine the format of the data and what section types meet the business requirements.

For example, you are creating a report to be used for invoicing or ordering. The following example illustrates a report model that meets this requirement:

Report model

Determining the Report Sections

After you and the report requester agree on the model, determine the sections that are required to support the model. You might conclude that the report requires multiple sections: a page header section to provide general information, a level break header section to display each company's address number and description, a columnar section to display the business data, a level break footer section to calculate and display subtotals, and a grand total section.

To determine the sections that are required for a report, consider these questions:

After you have finished planning the design of the report, create the report in Oracle's JD Edwards Report Design Aid (RDA).

Click to jump to parent topicUnderstanding Report Object Naming

To provide consistency for developers and users, Oracle's JD Edwards EnterpriseOne enforces standard naming conventions by which all objects are named. When you create custom objects, you should adhere to these standard naming conventions.

The JD Edwards EnterpriseOne naming conventions require that each object, whether it be a table, report, interactive application, or business view, has a unique name. The naming conventions help you identify objects and prevent users from creating objects with duplicate names. They also simplify searching for object types and for specific objects. Object names begin with one or two characters that indicate the object type. A V indicates that the object is a business view. An R indicates that the object is a batch application.

When creating multiple objects that are intended to be used together, name the objects the same, changing the first character to indicate the object type. For example, this table illustrates how to name related objects created to meet an address book business requirement:

Object Type

Object Name

Business view

V550101A

Processing option

T550101

Report template

R550101

See Object Naming Conventions.

Click to jump to parent topicCreating Report Objects

This section provides overviews of default settings for reports, report objects, how to open existing reports, and how to delete report objects from multiple locations and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Default Settings for Reports

A report is defined by the system as a universal batch engine (UBE) object type. You must provide a report with:

After you create a report object, you can save it and add object specifications at a later time.

When you create a new report, or other batch application, the system automatically applies default standards for some report components.

This table lists the report components that have default standards:

Report Component

Default Standard

Font

Appears in 7 point, Arial font.

Report object name

Appears in the upper-left corner of the page header.

Company name

Appears in the center at the top of the page header.

Report description

Appears in the center at the top of the page header under the company name.

Date and time values

Appears in the upper-right corner of the page header.

Page number

Appears in the upper-right corner of the page header, under the date and time.

Click to jump to top of pageClick to jump to parent topicUnderstanding Report Objects

You can create report objects using OMW. You can also access RDA directly from Oracle's JD Edwards EnterpriseOne Solution Explorer to create report objects. The object information that you are required to enter varies depending on which method you use. When you create a new report object in RDA, you create a report template and, optionally, a batch version. The only time that you can create a batch version in RDA is when you initially create a report template. All other batch versions are created from the Oracle's JD Edwards EnterpriseOne Batch Versions (P98305) application.

When you create a new report object, you must provide the following information regarding the report:

Field

Description

Object Name

Identifies the name of the report. Begin report names with the letter R, followed by the product code, and then a unique identifier. The object name appears in the upper-left corner of the page header.

Description

Describes the purpose of the report. Enter a description that serves as a useful identifier, such as General Ledger by Batch. The description appears in the center of the page header below the company name.

Product Code

Use product codes to ensure that the custom objects remain unaltered by JD Edwards EnterpriseOne software upgrades. Product codes 55–59 are reserved for customers.

Product System Code

Identifies the system where the required data resides. Typically, the report shares the same product system code as the business view that will be used to fetch the data.

Object Use

Use this range of codes to classify the report. Object use codes 160–166 are report-related classifications.

Update Report/No Update Report

Indicates whether the report will update data in the database. Only report developers with permissions can design an update report. If the developer has permissions, the Update Report option is selected by default.

Note. If you do not have permission to create a report that updates the database, the Update Report option does not appear. In this situation, the No Update Report option is selected by the system. The system administrator defines permission for the update option through JD Edwards EnterpriseOne security.

Click to jump to top of pageClick to jump to parent topicUnderstanding How to Open Existing Reports

You can open an existing report to make modifications. You can open and modify either a report template or a batch version. Open existing report templates either from OMW or directly from RDA. To open a report object in OMW, you must add the report object to a project. If you open and modify a report template, the changes are reflected in the associated versions, unless prohibited by overrides in the batch versions.

Open batch versions either from OMW or from Batch Versions. You can open a batch version to modify it without affecting the report template or other associated versions.

When you open an existing report, the Director is not available to assist with changes. Rather, the report template or batch version opens automatically to the RDA workspace.

Warning! If you want to modify a report template that was shipped with JD Edwards EnterpriseOne, copy the report template first and name the copy according to the recommended naming conventions. Then modify the copied report template. This ensures that the modifications are not overwritten during a software update. The same holds true for batch versions: Do not modify batch versions that begin with XJDE or ZJDE. Copy the batch version, name the copy according to your company's requirements, and modify the copied version.

Click to jump to top of pageClick to jump to parent topicUnderstanding How to Delete Report Objects from Multiple Locations

You can delete batch versions and report templates from the system. If you delete a report template, all of its batch versions are deleted automatically.

You can delete report objects from these locations:

See Also

Deleting Objects

Click to jump to top of pageClick to jump to parent topicCreating Report Objects from RDA

In JD Edwards Solution Explorer, select the Report Management menu (GH9111), Report Design Aid to access the JD Edwards Report Design Aid form.

  1. Click New.

  2. On the Create New Report form, enter a name for the report template in the Report Name field.

    Use the JD Edwards EnterpriseOne recommended naming conventions.

  3. In the Description field, enter a description that identifies the purpose of the report.

  4. In the Product Code field, enter a value between 55 and 59.

    Product codes 55–59 are reserved for clients for creating custom objects.

  5. Select either the Update Report option or the No Update Report option, and click OK.

    If you do not have permission to create reports that update the database, the Update Report option is not visible.

  6. Use the Director to design the report.

  7. On the final page of the Director, select the Yes, create a version of this report option, and name the version.

Click to jump to top of pageClick to jump to parent topicCreating Report Objects from OMW

In JD Edwards Solution Explorer, from the Tools menu, select Object Management Workbench to access the Object Management Workbench form.

  1. Click Find.

  2. In the project view, expand the project to which the new report object will be added.

  3. Click the Objects node of the project, and click Add.

  4. On the Add EnterpriseOne Object to the Project form, select the Batch Application option, and click OK.

  5. On the Add Object form, enter the name of the report template in the Object Name field.

  6. In the Description field, enter a description that identifies the purpose of the report.

  7. In the Product Code field, enter a value between 55 and 59.

  8. In the Product System Code field, enter the system code that reflects where the required data resides.

  9. In the Object Use field, enter a value between 160 and 166.

  10. Select either the Update Report or No Update Report option, and click OK.

  11. On the Batch Application Design form, select the Design Tools tab, and click Start Report Design Aid.

  12. Use the Director to design the report.

  13. On the final page of the Director, select the Yes, create a version of this report option, and name the version.

See Also

Adding Objects to Projects

Click to jump to top of pageClick to jump to parent topicCopying Report Templates from OMW

Access the Object Management Workbench form.

  1. Click Find.

  2. In the project view, expand the project where the report template that you want to copy resides.

  3. Expand the Objects node, click the report, and then click Copy.

  4. On the Copy Object form, enter the name of the new report template in the Copy to field.

  5. In the Description field, enter a description that identifies the purpose of the report.

  6. In the Product Code field, enter a value between 55 and 59.

  7. In the Product System Code field, enter the system code that reflects where the required data resides

  8. In the Object Use field, enter a value between 160 and 166.

  9. Select either the Update Report option or the No Update Report option, and click OK.

  10. On the Batch Application Design form, select the Design Tools tab, and click Start Report Design Aid.

  11. Use the Director to design the report.

Click to jump to top of pageClick to jump to parent topicOpening Report Objects from OMW

Access the Object Management Workbench form.

  1. Click Find.

  2. In the project view, expand the project where the report object resides.

    If the report object does not reside in a project, search for the object using the OMW search tab, and move the object into a project.

  3. Expand the Objects node, click the report object, and then click the Design action button.

  4. If you select a report template, select the Design Tools tab on the Batch Application Design form, and click Start Report Design Aid.

  5. If you select a batch version, select the Tools tab on the Batch Version Design form, and click Report Design.

    Warning! Batch versions beginning with XJDE and ZJDE are owned by JD Edwards EnterpriseOne and should not be modified.

Click to jump to top of pageClick to jump to parent topicDeleting Report Objects

Access the Object Management Workbench form.

  1. Click Find.

  2. In the project view, expand the project where the report object resides.

  3. Expand the Objects node, click the report, and then click Delete.

  4. On the Delete of form, select one of these options and click OK:

Click to jump to parent topicCreating Detail Sections

This section provides an overview of detail sections and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Detail Sections

Detail sections refer to report sections that present data to meet the business requirement. Detail sections are typically populated using a business view, which links the report section to the data in the database. After you select a business view for the detail section, you can select individual fields from that business view to include in the section layout. Other types of fields can be included in the section layout and populated using event rules.

In RDA, the Director guides you through the steps of creating a report template. Initially, the Director allows you to include only one detail section in the report template. However, after you complete the initial design of the report template, you can add additional detail sections to the report.

Types of detail sections include:

Note. JD Edwards EnterpriseOne supports Arabic and the right-to-left display preferences for the Microsoft Windows client, web client, and batch applications. However, when designing a report, you must design it from left to right. When you generate the report by printing it or generating a PDF, it displays information right to left, including the alignment of text and numeric strings. The system displays strings that contain a mixture of Arabic and non-Arabic characters in accordance with generally accepted bidirectional standards.

In RDA, you can create as many group, columnar, and tabular sections in a report template as required. To add one of these detail sections to an existing report template, open the report template in RDA and select the appropriate section type from the Section menu. The Director guides you through the steps of creating the new detail section.

The system automatically launches the Director when you select a section type from the menu. You can quit the Director if you prefer to design the detail section manually. Begin the detail section design by attaching a business view. Then select individual columns from that business view to include in the section layout. The options to manually design the section reside on the Section menu in the order that they are used by the Director.

Business View Selection

Business views are the link between the report and the data in the JD Edwards EnterpriseOne database. They present data fields from one or more tables and limit the column selection to columns that are relevant to the business requirement of the report. Business views also improve performance by moving only the required fields across the network.

You can select a business view for a detail section using one of two methods:

No matter which method you use to select a business view, the title bar of the detail section reflects the selected business view.

See Designing Business Views.

Detail Section Layout

You select the required fields for the detail section layout from the attached business view.

When you use the Director to create detail sections, you are presented with a Section Layout form after you select the business view. This form presents all of the columns that are included in the attached business view. Select the fields that are required by the report from these available business view columns. The selected columns appear in the Selected Columns list. You can remove columns from the section layout by removing the column from the Selected Columns list.

When you design the detail section without the use of the Director, use Quick Section to select data fields from the attached business view. You should use Quick Section for the initial section layout only. The selected columns appear in the Selected Columns list. You can remove columns from the section layout by removing the column from the Selected Columns list.

No matter which method you use to define the section layout, when the initial layout is complete, insert additional business view columns into the detail section using the Business View Columns Browser. Remove unwanted columns by clicking the column in the section layout and selecting Delete from the Edit menu.

Data Sequencing

Use data sequencing to indicate the order in which the system should read records from the database and display them in the detail section. Data sequencing is the same as data sorting and the terms are interchangeable. For example, define section data sequencing to display records in a detail section by address book number and then by name.

JD Edwards EnterpriseOne can sort records in a report section by any column that is included in the attached business view, regardless of whether you included the column in the section layout. Other field types that you included in the section layout are not available for use in data sequencing.

Sort Properties

After you select business view fields for data sequencing, you can define sort properties for those fields. Use sort properties to indicate whether:

For example, you can sort records by search type in ascending order, define search type as a level break field, and begin each unique search type on a new page.

Data Selection

Use data selection to limit the number of records that are retrieved from the JD Edwards EnterpriseOne database. Define data selection to include only specific, relevant records in the detail section. For example, define data selection to display records for hourly employees only.

JD Edwards EnterpriseOne filters data in a detail section by any column that is included in the attached business view, regardless of whether you included the column in the section layout.

Define data selection using options that are available for each of these components:

When you select the Literal option for the right operand, the system presents you with a Single value form. This form includes tabs that are based on the comparison option that you selected. The tab options might include:

You can lock the data selection that you define by individual row. Click the data selection row to highlight it. Right-click the row and select Advanced from the menu. On the Data Selection Protection form, select the Locked option.

The user can clear the locked option from the JD Edwards Batch Versions application, from either the Row menu or at runtime. The locked option sends a visual to the user that the defined data selection might be required for the report to function as designed. The locked option is particularly beneficial when a section of the report adopts it's data selection from another section.

Click to jump to top of pageClick to jump to parent topicAdding Detail Sections

Access RDA.

  1. Open a report template.

  2. From the Section menu, select Create, and select one of these detail section types:

  3. Use the Director to design the section.

Click to jump to top of pageClick to jump to parent topicSelecting Business Views

Open a report template in RDA.

  1. Click inside the detail section of the report.

  2. From the Section menu, click Select Business View.

  3. On the Business View Director, select a tab:

  4. Proceed to the appropriate task.

Click to jump to top of pageClick to jump to parent topicSelecting Business Views from the Select Business View Tab

From the Section menu in RDA, click Select Business Views to access the Business View Director.

  1. Select the Select Business View tab.

  2. On the Select Business View form, enter the business view name on the Object Name QBE line, and click Find or press Enter.

  3. Select a business view, and click OK.

Click to jump to top of pageClick to jump to parent topicSelecting Business Views from the Favorite Business Views Tab

From the Section menu in RDA, click Select Business Views to access the Business View Director.

  1. Select the Favorite Business Views tab.

  2. From the Favorites view, expand each folder until you locate the required business view.

  3. Select the Description tab to view a brief description of the business view that you have selected.

  4. Select the Columns tab to view the data fields that are included in the business view that you have selected.

  5. When you are certain that you have selected the appropriate business view, click OK.

See Also

Setting Up Business Views as Favorites

Click to jump to top of pageClick to jump to parent topicAdding Business View Columns Using Quick Section

Open a report template in RDA.

  1. Click a detail section of the report that includes an attached business view but no fields.

  2. From the Section menu, select Quick Section.

  3. On the Quick Section form, click a required column in the Available Business View Columns list, and perform one of these tasks:

  4. To remove columns, click a column in the Selected Columns list and perform one of these tasks:

  5. To change the order in which the columns appear on the report, click a column from the Selected Columns list and perform one of these tasks:

  6. Complete the layout of the section, and click OK.

Click to jump to top of pageClick to jump to parent topicDefining Section Data Sequencing

Open a report in RDA.

  1. Click a detail section of the report in which the section layout is defined.

  2. From the Section menu, select Define Data Sequence.

  3. On the Data Sequencing form, select the Section Data Sequencing tab.

  4. To select columns for data sequencing, click a column in the Available Columns list and perform one of these tasks:

  5. To remove columns from the data sequencing, click a column in the Selected Columns list and perform one of these tasks:

  6. To change the order of the fields that are used to sort the section data, click a column in the Selected Columns list and perform one of these tasks:

Click to jump to top of pageClick to jump to parent topicDefining Sort Properties

From the Section menu in RDA, select Define Data Sequence to access the Data Sequencing form.

  1. Select the Define Sort Properties tab.

  2. Complete the Sort Order field for each sort column.

  3. Click these fields as appropriate, and click OK:

Click to jump to top of pageClick to jump to parent topicDefining Section Data Selection

Open a report in RDA.

  1. Click a detail section of the report that has a business view attached.

  2. From the Section menu, select Define Data Selection.

  3. On the Data Selection form, click in the Operator column of the detail area and select Where for the first set of criteria.

  4. Click in the Left Operand column to display the list of available business view fields, and perform one of these tasks:

  5. Select an operator in the Comparison column.

    When you double-click the comparison operator, the list in the Right Operand column appears.

  6. In the Right Operand column, select from the available objects, special values, and variables.

  7. To delete a line of criteria on the Data Selection form, click the row header to highlight the row, and then click the Delete button at the top of the form.

  8. To change the order of the criteria, click the row header to highlight the row, and then click the up arrow or down arrow button.