100% found this document useful (1 vote)
85 views12 pages

Reports

Uploaded by

hc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
85 views12 pages

Reports

Uploaded by

hc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 12

MATERIAL FOR PRPC CERTIFICATION

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


REPORTING % of EXAM - 5%

• Understands the difference between summary and list reports

List View:
• A list view rule, an instance of the Rule-Obj-ListView class.
• Lists individual instances.
• A List View displays the property-value details of a class,
• Users can personalize list view reports easily and interact with them.
• Use the Report wizard to define list view reports and link them to your portal.

Summary View Report:


• Summary view rules are instances of the Rule-Obj-SummaryView class.
• A Summary View counts and aggregates data in a class, i.e. includes totals and breaks.
• Use the Summary View rule form to define a simple custom or personal query. This rule
generates HTML that provides an attractive, custom interactive display.
• Developers can define reports directly by completing the Summary View form. However,
developers and business managers can also create many summary view rules indirectly,
through guided processing provided by the Report wizard.

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


2
REPORTING % of EXAM - 5%

• Generating Reports through wizard.

• Select File menu and choose  New  Report

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


3
REPORTING % of EXAM - 5%

• Summary and list Reports using Report Wizard


• Start: Select Summary view or List View and wizard mode as simple or advanced.

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


4
REPORTING % of EXAM - 5%

• Data Source: This panel lists those work types, assignment types, or concrete Data- classes that
can be the source of detail rows for the report.

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


5
REPORTING % of EXAM - 5%

• Criteria: Define selection criteria as rows of this array. Each row can define a comparison test
for a property in the data source you selected in step 2.

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


6
REPORTING % of EXAM - 5%

• Fields: Define the fields (properties) to appear in the detail rows of the report.

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


7
REPORTING % of EXAM - 5%

• It shows the details. Click finish button to view the report.

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


8
REPORTING % of EXAM - 5%

• Expose columns in the database for reporting purposes

• Process Commander stores the values of all aggregate properties and some Single Value
properties in a blob column (the Storage Stream) usually in a compressed form. Such
properties cannot be accessed for selection in list view and summary view reports, and can
slow retrieval and processing in other operations.

• Exposing too many properties in a table may speed reporting and searching operations, but
make insert and update operations slower

• Use the Modify a Database Schema wizard to:


• Review the current schema of a database table.
• Change the width in bytes of a column in the database table.
• Resave rows of a table.
• Expose a Single Value property as a new individual column and copy values from the
Storage Stream (blob) archive column.

• Choose Tools > Database > Modify Database Schema from the menus to start the wizard

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


9
REPORTING % of EXAM - 5%

• To expose a top-level Single Value property as a new column

• Access the List of Classes window for the table containing the property of interest,
following steps 1 to 5 above.
• Locate the class that contains the scalar property to be exposed.
• Click the number in the Set to be Visible row.
• The resulting detail window displays the properties already exposed as columns in gray text
at the bottom of the display. Properties that are candidates to be exposed are shown at the
top of the display in black text.
• Check the box for each property to become exposed as a column. For properties with a data
type of text, identifier, or password, you can modify the column width shown in the
Column/Size column. The default width is 64 characters, or the Max Length of the property
(if that was defined for the property). If you change these values, remember to update
later the Max Length values if defined on the Property form.
• To complete the size changes or create the new column or columns now, enter a Database
UserID and password that grants the ability to modify the schema of this database. Select
the Generate Database Columns option and click Go.
• If you don't have an appropriate password, or want to review the revised Structured Query
Language definition for the table, select the Generate SQL Code option and click Go.

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


10
REPORTING % of EXAM - 5%

• If you don't have an appropriate password, or want to review the revised Structured
Query Language definition for the table, select the Generate SQL Code option and click
Go.
• If this table contains fewer than 10,000 rows, you can instruct the system to unload
them, change the table schema, and reload them. Confirm that no other requestors are
using this table, select Resave affected records? and then click Go to start this
processing.

• To expose embedded properties

• Only top-level Single Value properties can be exposed as individual columns. Two
tactics are available when you need a database column that contains the value of an
embedded property:
• Copy approach — Copy the value to a new top-level property each time the embedded
property changes (or each time the instance containing the property is saved). For
example, if a list view report needs to select rows based on property
pyWorkPage.pxFlow("LoanDisburse").Sheet.Detail(4), you can:
• Create a new top-level Single Value property to hold a copy of this value
• Create a one-step activity to copy the value to the new top-level property, with
Activity Type set to Trigger
• Create Declare Trigger rule that calls the activity each time the work object is saved
• Expose the top-level property.
• Reference the top-level property in the list view rule
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL
11
REPORTING % of EXAM - 5%

• Declare Index approach —

• If not one but many or all values of a Value List or Value Group are needed as exposed
columns, a Declare Index rule is a better approach.
• Create a concrete class derived from the Index- base class
• Create Single Value properties in the new class to hold individual values of the
embedded values
• Create a Declare Index rule with the appropriate embedded Page Context value that
copies the embedded values into a new Index- instance.
• Save the Declare Index rule; it immediately begins executing, adding and deleting
instances of the new class.
• Expose database columns corresponding to the Index- class
• Reference the Index- properties in the list view rule.

Copyright ©2004 Virtusa Corporation | CONFIDENTIAL


12

You might also like