How to Import the PrcsApi Class

The PrcsApi class is not a built-in class, like Rowset, Field, Record, and so on. It is an Application Class. Before you can use this class in your PeopleCode program, you must import it to your program.

An import statement names either all the classes in a package or one particular application class. For importing the PrcsApi class, PeopleSoft recommends that you import the API class.

The import statement you should use is as follows:

import PT_PRCS:API:*;

Using the asterisks after the package name makes all the application classes directly contained in the named package available.