Lawson Software

Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Elements Libraries App Forms

HR67


HR67.1 - HR Writer Compute Statement

Use HR67.1 (HR Writer Compute Statement) to define compute statements for
reports created in HR65. Compute statements are set up by author and can only
be used on titles created by that author. Compute statements that include
items from a detail topic can only be used on reports that include the same
detail topic.

You define the compute statement name which then appears under the topic CM
in the Format Selection portion of HR65.2 (HR Writer Format Item Selection).

A compute statement can consist of up to three factors and two operations.
The available operations are: Add (+), Subtract (-), Multiply (*), and Divide
(/). The factors can be a column on the report, a specific item from the
dictionary, or a constant value. You can specify the order of operations if it
makes a difference in the result.

The available items and their associated number and topic display through use
of the select button. You can combine data items from different topics as long
as you do not select items from more than one detail topic. For example, you
can select one item from the E1 (Employee) topic and another from the DM
(Deduction Master) topic, but you cannot select an item from DM (Deduction
Master) and an item from PD (Payment Deduction) because DM and PD are both
detail topics.


Updated Files

    CKPOINT    - The Checkpoint file is the environment file used for recovery.

    PWAUTHOR   - Used to update the last compute number.

    PWCOMPUTE  - The primary file maintained by this program.


Referenced Files

    PADICT     - Used to get data item information from the dictionary.

    PADICT2    - Used to get data item information from the dictionary.

    PWTITLE    - Used to ensure that the compute statement is not used in a
                 title that is about to be deleted because you cannot delete a
                 title if the title has a compute statement associated with it.