Compute parameters

Compute parameters are used with a compute statement to retrieve the data you want to use with a given data dictionary name. For example, you can identify the data to use for an activity-related data dictionary name by making both an activity and account category selection from these set of options:

Activity Account category
  • activity group list

  • activity group

  • a list of activities

  • single activity

  • a range of account categories

  • an account category group

You can use also use General Ledger data dictionary names in compute statements for activity allocations. For General Ledger data dictionary names, you can specify the accounting units and accounts from which you want to retrieve data using any of these parameters:

Company and accounting unit Accounts Subaccounts
  • a company and an accounting unit

  • a company group and an accounting unit

  • a list of accounting units

  • a range of accounts

  • an account group

  • a range of subaccounts

  • a subaccount group

Note: You can use the same set of compute parameters with different compute statements.

Accounting unit balances by activity

If you maintain accounting unit balances in activities, you can use data dictionary names that specify the accounting unit balance by activity. For example, LTDAUA specifies the life-to-date activity accounting unit amount. Compute parameters you use with these types of data dictionary names should identify both activity and General Ledger information.

You can also use the total dictionary names with total names to consolidate accounting unit balances by activity. The type you assign in the total name can refer to accounting unit balances by activity for amounts or units. See Total name.

Example

LGE Corporation used compute parameters to identify the data retrieved for the PRDACA/CPAMT compute statement. To get the salary for each activity, they defined these activity parameters:

  • Activity Group: DRUG RESEARCH STUDY

  • Activity: ADMISSIONS

  • Account Category Group: Labor

The CPAMT data dictionary name retrieves General Ledger data to identify total salaries paid to the department associated with the activity:

  • Company: 4321

  • Accounting Unit: 403 - Patient Services

  • Account Range: 51080 - 51090