Defining a compute statement

A compute statement is an arithmetic equation consisting of Lawson data dictionary names, total names, operation symbols, and numeric values that lets you create customized calculation formulas. In Project Accounting, you can use compute statements to calculate budget amounts or units. Use this procedure to define a compute statement that you will use to calculate a computed budget or allocation.

If the data dictionary was not loaded as part of your initial installation, then run Data Dictionary Load (RW590) to load the pre-defined dictionary. If you do not have the General Ledger application, then run AC Subset Data Dictionary Load (RW591) to load the pre-defined dictionary.

Follow these steps to define a compute statement:

  1. Access Compute Statement (RW50.1).
  2. Define the name and folder for the compute statement. Use these guidelines to specify the field values:
    Compute

    Specify a name and description for the compute statement you are defining.

    Folder

    Select a folder where you want to store compute statement information. For more information about defining and using folders, see the Report Writer User Guide.

  3. Define the compute statement equation.
  4. Select the applications in which you want to be able to use this compute statement. Use these guidelines to specify the field values:
    Report Writer

    Leave this field blank for compute statements that contain activity data dictionary names.

    Ratio

    Leave this field blank for compute statements that contain activity data dictionary names.

    GL Allocation

    Leave this field blank for compute statements that contain activity data dictionary names.

    GL Budgeting

    Leave this field blank for compute statements that contain activity data dictionary names.

    Activity Management

    Select Activity Management to use the compute statement in Project Accounting.

    Lease Management

    Leave this field blank for compute statements that contain activity data dictionary names.

    Note: When you select data dictionary names, you can use Drill Around to see the optional parameters allowed. Compute statements containing activity-related data dictionary names can be used only in Project Accounting.
  5. Leave the Default Heading fields blank. These fields are not required for compute statements you use in Project Accounting.

Related reports and inquiries

To Use
Create a list of data dictionary names and the parameters they accept Data Dictionary Listing (RW205)
Create a list of compute statements Compute Listing (RW250)