Working with Periodic Functions (WPER)

Periodic functions are jobs that you need to run periodically, usually on a daily, monthly, or yearly basis. Periodic functions include reports listing or summarizing activity in a particular area of your business, reports providing current status information on your business, periodic resets, and aging operations.

Assign certain functions to your daily, monthly and yearly processing; a list of these functions appears in this topic. You can define your own programs and queues as periodic functions as well.

You use Working with Periodic Processes (WPPR) to define a group of periodic functions to run together within a periodic process and to schedule when the system executes the process. You cannot run a periodic function by itself.

Note: Periodic functions and processes are not restricted by company; when you create a periodic function or process, it is defined across all companies.

For more information: See Periodic Functions Available to Schedule for a listing of functions.

In this chapter:

Work with Periodic Functions Screen

Create Periodic Function Screen

Work with Periodic Functions Screen

How to display this screen: Enter WPER in the Fast path field at the top of any menu, or select Work with Periodic Functions from a menu.

Field

Description

Function

The name of the periodic function.

Alphanumeric, 7 positions; display-only.

Description

The description of the periodic function.

Alphanumeric, 70 positions; optional.

Applic (Application area code)

The area of Order Management System (for example, Customer Service) where this function belongs. Use application areas to categorize similar system control values, secured features, and menu options as well as periodic functions.

Alphanumeric, 3 positions; optional.

System

Indicates whether the periodic function is a system-level function, which was delivered with the software and cannot be changed or deleted.

Valid values are:

Yes = This is a system-level function.

No = This is not a system-level function.

Optional.

Screen Option

Procedure

Change a periodic function

Select Change for the function to advance to the Change Periodic Function Screen. You can change any information on this screen except for the function name. See the Create Periodic Function Screen for field descriptions.

Delete a periodic function

Select Delete for a function to delete it.

Note: You cannot delete a function that is assigned to a periodic process. You must first remove the periodic function from the process before you can delete it.

Display a periodic function

Select Display for a function to advance to the Display Periodic Function Screen. You cannot change any information. See the Create Periodic Function Screen for field descriptions.

Create a new periodic function

Select Create to advance to the Create Periodic Function Screen.

Create Periodic Function Screen

Purpose: Use this screen to create a function to include in periodic processing.

How to display this screen: Select Create at the Work with Periodic Functions Screen.

Field

Description

Function

The name of the periodic function. You must define a function at this screen before you can assign it to a periodic process.

Alphanumeric, 7 positions.

Create screen: required.

Change screen: display-only.

Description

The description of the periodic function.

Alphanumeric, 70 positions; optional.

Company parameter

Select this field to indicate that a company parameter is required to execute the periodic process containing this periodic function. If you assign a function with this field selected to a periodic process, it updates the Company parameter field for the periodic process to selected, and you need to enter a company code at the First Execute Periodic Process Screen (Setting Parameters).

Note: In order to run a periodic function without errors, you must select the Company parameter, even if the periodic function is designed to run across companies.

Company codes are defined in and validated against the Company table.

Appl area (Application area code)

The area of Order Management System (for example, Customer Service) where this function belongs. Use application areas to categorize similar system control values, secured features, and menu options as well as periodic functions.

Alphanumeric, 3 positions; required.

Program name

The name of the program to be called by the periodic function.

Alphanumeric, 10 positions; required.

Parameter

A parameter required to execute the periodic function. See Periodic Functions Available to Schedule to review which periodic functions allow you to define an additional parameter.

Alphanumeric, 256 positions; optional.

WPER OMSCS 19.0 December 2019 OHC