Using the Utilities

This chapter provides an overview of the Global Payroll utilities and discusses how to:

Click to jump to parent topicUnderstanding the Global Payroll Utilities

This section discusses:

Click to jump to top of pageClick to jump to parent topicCommon Terms Used in This Chapter

Element Map

Depicts the relationships between the elements in your database. For example, if you have an earning element with a calculation rule of rate × units, where the number of units is returned by a formula, you can use the element map to see how the components and formula elements are connected to your earning element.

The element map plays a critical role in packaging and moving elements and data to other databases. Because the map must be current and accurate when you create packages, the system rebuilds it when you start the process that creates rule packages. During mapping, the system validates that the defined fields exist in the records.

Note. Mapping includes PIN-level records only. You must include those records that don't have a PIN number as the primary key in order to use the non-rule packager.

Focus Element

The focal point of a process or action.

Non-rule

Non-rule data includes processing results, payee data, setup definitions, and other data where PIN_NUM isn't the primary key.

Package Status

Click this link to access the Package Status page.

PIN Code (pay item name code)

The only element attribute that must be unique across databases. Like a PIN number, it's automatically assigned to every element, those delivered by PeopleSoft and those that you create. The Code consists of the element name plus the suffix ALL if the element is used by all countries, or a three-character country code if the element is used by one country—for example, BASE ALL or BASE ITA. When you move elements between databases, the system compares the elements that you're exporting with those in the target database. PIN code is one of the attributes that the system checks when comparing elements.

PIN Number (pay item name number)

This number is a pointer back to a PIN name-related data in GP_PIN and other tables. It is generated and assigned to every element, those delivered by PeopleSoft and those that you create. Global Payroll programs access and process elements by referring to their PIN numbers (PIN_NUM), not their names.

PIN numbers are assigned sequentially in a given database, meaning that the same element can have different PIN numbers in different databases. So when you move elements between databases, the utilities don't rely on the PIN number to determine if the source elements that you're copying exist in the target database.

Rule

In Global Payroll a rule is an element or combination of elements used to define a business rule. For example, an earning or deduction rule or a count or rounding rule. The primary key for rule-definition tables is PIN_NUM.

Target PIN Number (target pay item name number)

The element's PIN number in the target database.

Upgrading

This process consists of copying items from a source database to a target database; comparing the copied items with items already in the target database; overlaying items in the target database or adding new items, depending on the comparison results; and deleting selected items from the target database.

Source Database

The database containing the rule or non-rule elements that you are packaging and moving into the target database.

Target Database

The database into which you are moving the packaged rule or non-rule elements from the source database.

See Also

Why the Core Application Uses Pay Item Name (PIN) Processing

Click to jump to top of pageClick to jump to parent topicUtility Usage Guidelines

Global Payroll provides a suite of integrated tools for implementing and maintaining the elements that define your payroll rules. You can use these utilities to view the relationships between elements, package and move elements and data between databases, and delete elements. When implementing your payroll system, you can use the utilities to move all or selected rules that you've created and tested into your production database. In an existing system, these utilities streamline the process of introducing new rules, installing system updates, and moving processing results and payroll data to other databases.

Here are some guidelines for using the utilities:

Click to jump to top of pageClick to jump to parent topicThe Packaging and Upgrading Processes

To move rules and data between databases, you use several utilities in a specific sequence. This illustration shows the typical sequence for using the utilities to move rules and data between databases:

Moving rules and data between databases

To move rules and data between databases:

  1. Create and upgrade a rule package.

    A rule package contains elements that are defined in records with PIN_NUM as the primary key. You use the Create/Export Rule Package and Apply Rule Package components to package and upgrade the elements you want to move. You can select individual elements for a package by name or by attribute, or you can select elements based on their version number. You tell the system whether you want to include only the focus elements or the focus elements plus the elements the focus elements use, based on the element map.

    You can direct the system to delete or upgrade elements in the target database. A batch process creates a package of elements that you can view online.

    After creating a package, you export it from the source database and import it into the target database; the system adds 50 000 000 to the value of each PIN number in the package to avoid overwriting elements in the target database that have matching PIN numbers.

    A batch compare process follows, in which the system compares the packaged elements with those in the target database. The goal is to determine which elements are new to the target database, which match elements that exist in the database, and which need deleting according to your instructions. Elements that are new to the target database are assigned the next PIN number.

    After reviewing the results of the comparison and resolving conflicts, you complete the upgrade process.

  2. Create and upgrade a non-rule package.

    Non-rule packages contain data from records where PIN_NUM is not the primary key—plus information about related elements.

    To create a non-rule package:

    1. Define the criteria for creating the package of data to move.

    2. Export the non-rule data and element information from the source database.

    3. Import information for the elements (not the elements themselves) into the target database.

    4. Run a compare process that compares the packaged elements with those in the target database and identifies conflicts to address before importing non-rule data.

    5. Import the non-rule data and start an upgrade process that renumbers the PINs in the non-rule data records that were moved to the target database.

      For example, imagine that the absence results record (GP RSLT ABS) contains a take element with a PIN number of 1333 on the source database. The element was moved to the target database, and because it matches (based on PIN code) an element in the target database with PIN number 3453, the non-rule packager renumbers the PIN number in the absence results record.

Click to jump to top of pageClick to jump to parent topicBase and Related Languages

In the case of rule packages, the source and target database need not have the same base language. The rule packager, using Data Mover functionality, can identify the base language in the target database and use the correct language from either the base or related language table if that language existed in the source package. Additionally, the rule packager also creates a related language entry on the target database for the source database's base language. Consider the following example:

A German (DEU) target database contains the following data:

Base Data

PIN_NUM

PIN_CODE

Translatable Data

Nontranslatable Data

701

GP_TEMP001_DEU

Current German

Text

content

Current values on the target database

You create a package from an English (ENG) source database copying PIN_CODE GP_TEMP001 for base language only. The system:

The German target database now looks like this:

PIN_NUM

PIN_CODE

Translatable Data

Nontranslatable Data

701

GP_TEMP001_DEU

CONTENT

Current values on the target database

50 000 701

GP_TEMP001_DEU

SALARY

New values from the source database

Related Language Data

PIN_NUM

PIN_CODE

LANGUAGE_CD

Translatable Data

50 000 701

GP_TEMP001_DEU

ENG

SALARY

The system then:

The result of the process is updated information on the base table and a new ENG entry on the related language table, as shown below.

Base Table

PIN_NUM

PIN_CODE

Translatable Data

Nontranslatable Data

701

GP_TEMP001 DEU

CONTENT

New values from the source database

Related Language Table

PIN_NUM

PIN_CODE

LANGUAGE_CD

Translatable Data

701

GP_TEMP001 DEU

ENG

SALARY

Had the package been defined as both base and related languages, the swapping of languages to some extent would already have been completed by datamover during the package import (if a related language row for the language of the target database was part of the package.) This would result in overlaying translatable fields of the base row with the contents of the copied language row. If only the related language was copied with the package, the process is the same as described above, except for translatable fields of the base row of the target database, which would be updated to contain the values of the moved language row.

Click to jump to top of pageClick to jump to parent topicThe Versioning Functions

You can use the versioning utilities of Global Payroll to assign a version number to elements, and then have the system package only elements with this version number. Having created a package by version, you can move it to another database. In this case, the system moves changes from element definitions or component records (for example, if you change only an earning calculation, the element definition itself is not moved).

Version-based packages only pull data from the database base language table, not from the Pay Item Names — Related Language table (GP_PIN_LANG). The only way to move related language information from GP_PIN_LANG is to use a regular rule package.

Click to jump to top of pageClick to jump to parent topicThe Delete Functions

To delete rules from the target or source database, you can enter instructions for deleting elements when defining the selection criteria for a package. To preserve the integrity of your data, you can delete an element only if it's not associated with other data. That is, the element being deleted must meet all of the following conditions:

Important! PeopleSoft recommends that you place elements to be deleted in a separate package from elements that you want to move from the source to the target database.

See Also

Selecting Elements for a Rule Package By Element

Selecting Elements for a Rule Package by Attribute

Click to jump to top of pageClick to jump to parent topicThe Process of Connecting UNIX and NT Directories

If your application runs on UNIX, exporting and importing packages involves additional considerations. You can create data mover scripts on the UNIX machine, but the data mover used for importing and exporting packages can only be run via an NT Process Scheduler.

Important! Any job or process that uses data mover in a UNIX environment must run on an NT Process Scheduler.

Because UNIX and NT reference directories differently, you must define a shared directory that can be accessed by both platforms. In order to do so, the same paths must be mounted on both platforms. The path name must be defined identically on both machines. For example, we have defined the following directory structure to store datamover files:

When you specify the path names before creating scripts, importing packages, or exporting packages, you must always use the NT notation including the double back slash. PeopleCode automatically transcribes the path name to the appropriate platform notation when needed.

Important! You must add the location of your scripts to the psprcs.cfg file in the NT Process Scheduler. You should verify that the section marked [Data Mover] has the Input and Output paths pointed to the same drive.

Click to jump to parent topicDefining Element Relationships

To define element relationships, use the Define Element Relationships (GP_PIN_FLD_MAP1) component.

The Define Element Relationships utility builds an element map that shows how elements with PIN numbers are related. It defines the relationship between elements, and enables packager to determine if elements are used in non-rule data, which is important when deleting elements and packaging non-rule data.

Although the packager process rebuilds the map when you create a rule package, we recommend that you rebuild the map when you define new elements, change existing elements, or delete elements. It's also advisable to rebuild the map for the target database after completing an upgrade. This ensures that the map is current when displayed.

This section discusses how to:

See Also

Adding Records to an Element Map

Click to jump to top of pageClick to jump to parent topicPages Used to Define Element Relationships

Page Name

Definition Name

Navigation

Usage

Define/Build

GP_PIN_FLD_MAP

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Define Element Relationships, Define/Build

Start the GP_PINMAP process, which rebuilds element maps. View which records contain fields that store PIN numbers. You can add and delete records that you've created to the rule map.

Validation

GP_PIN_FLD_MAP_ERR

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Define Element Relationships, Validation

Review for errors after rebuilding the element map.

Click to jump to top of pageClick to jump to parent topicRebuilding Element Maps

Access the Define/Build page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Define Element Relationships, Define/Build).

This page only lists those records that contain elements (which store PIN numbers). PIN NUM is often the key to these records, though this is not always the case.

Note. You cannot edit or delete this page if it displays information for a PeopleSoft-delivered object.

See Adding Records to an Element Map.

Record Type

Select a record type, which is the type of record that contains elements. Values are:

Element Definition: Records of this type define elements with a primary key of PIN_NUM. Examples: GP_ERN_DED (earnings and deductions), GP_ABS_TAKE (absence takes), GP_ARRAY arrays and GP_FORMULA (formulas).

Note. The Element Definition record type is used only by PeopleSoft.

Records that contain elements but don't define elements have one of the following record types:

Set-up Definition: These are records you define when you implement Global Payroll. Examples: GP_ELIG_GRP_MBR (eligibility group member) and GP_RUN_TYPE_DTL (run type detail).

Output Result Data: These records contain calculation results. Examples: GP_RSLT_ACUM (accumulator results) and GP_RSLT_PIN.

Payee Data: These records contain payee-specific data. Examples: GP_ABS_EVENT (absence events) or GP_PYE_OVRD (payee overrides).

Record

Displays the name of the record, containing one or more elements.

Export Record

Displays the name of the record that the system uses when exporting this data to another database.

Effective Date Type

Identifies whether the record is effective-dated. If this field is set incorrectly, the packager may fail.

Effdt (effective date): This is the default value. Indicates that the record is effective-dated. Example: GP_BRACKET.

Note. If you include in a package an element that has more than one effective-dated row, the system tries to match each row when comparing the source elements with the target database. If it finds a match, it replaces the row in the target database; if it doesn't find a match, it adds the row to the target database. And if a row in the target database has no match , the system leaves the row in the target database unchanged.

No Effdt (not effective-dated): Indicates that the record doesn't have an effective date. Example: GP_ARRAY.

Note. If you include in a package an element with no effective date, the system replaces all data for that element in the target database when you upgrade the package.

Begin − End: Indicates that the record isn't effective-dated but contains begin and end dates. Example: GP_ACM_MBR.

Note. If you include in a package an element with begin and end dates, the system replaces all data for that element in the target database when you upgrade the package.

Field Name

Displays the name of the field in the record that contains other PIN number elements.

For a record type of Element Definition, the system displays the name of the key field (PIN_NUM).

Fields Referencing Other Elements

This group box displays all fields that store the PIN numbers of (member) elements that are used by the record/field combination at the top of the page.

The sample page displays information for GP_ERN_DED, the record that defines earning and deduction elements. This record can use up to 17 elements. PIN_AMT_NUM and PIN_BASE_NUM are some of the fields that store PIN numbers of member elements. For example, PIN_BASE_NUM identifies the element that returns the base amount. To resolve an earning or deduction element, the system must know the PIN numbers of elements that store the amount, base, generation control instructions, and so on.

Field Name

Displays the name of the field that stores a member element's PIN number.

Field Long Name

Displays the long name of the field.

Field Status

Displays the field's status. Values are:

Valid: Indicates that the field in the record existed when the element map was last rebuilt.

Invalid: Indicates that a field has been renamed or removed from the record, or that the record no longer exists. The system flags invalid fields when you rebuild the element map.

Applicable Element Types

When the record type is Element Definition, this group box identifies the corresponding element types. For example, the element types that apply to GP_ERN_DED are Earnings and Deductions.

Element Type

Important when packaging elements. The element type that you select when creating a package gives the system information needed to select rows from the appropriate record.

Rebuild Effdt Element Map (rebuild effective-dated element map)

Click to start the rebuild process. If the system cannot build the element map because of errors, this message appears on the page: "Effdt Element Map hasn't been built. Please check Validation page for errors."

Note. If the rebuild process is unsuccessful, an error message also appears in the message log.

Click to jump to top of pageClick to jump to parent topicReviewing for Errors

Access the Validation page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Define Element Relationships, Validation).

Review this page for errors generated by the rebuild process.

Status

Displays Invalid if an error occurred. Usually means that a field has been renamed or removed from the record, or that the record no longer exists.

If this is a PS Delivered/Maintained (PeopleSoft delivered/maintained) record, contact PeopleSoft support.

If the error involves a record that you created, check the record to make sure all the fields are still valid.

Record (Table) Name

Identifies the record that contained the invalid field.

PIN Nbr Fieldname (pay item name number field name)

Displays the name of the field that appears in the Field Name field at the top of the Define/Build page.

Field Name

Displays the field name that no longer exists in the record but appears on the Define/Build page.

Message

Displays an error message pertaining to the specific field.

Click to jump to parent topicAdding Records to an Element Map

The procedure for adding records to an element map depends on the record's main (first) key:

This section discusses how to add non-rules to an element map.

Click to jump to top of pageClick to jump to parent topicAdding Non-Rules to an Element Map

This section describes the procedure for adding non-rule definitions to an element map, where the record's main key is not PIN_NUM.

To add a non-rule to an element map:

  1. Use PeopleTools to create a SQL view for the record.

    The view must have the same structure as your new record, as illustrated in the following example.

    In the Select statement, enter + 50 000 000 after each field in the record that references a PIN number.

  2. On the Define/Build page, add a row for the new record.

  3. Complete these fields on the Define/Build page:

    1. For Record Type, select Output Result Data, Payee Data, or Set up Definition.

    2. For Record, select your new record.

    3. For Export Record, select the view that you created in step 1.

    4. For Effective Date Type, select the appropriate value for the record.

    5. For Field Name, select any field in the record that references PIN_NUM.

    6. In the Fields Referencing Other Elements group box, list each field within your record that contains a PIN number.

      This includes the field name defined in step e. You can select only PIN_NUM.

Example

This illustration shows how your SQL statement should match the record structure:

Record definition for GP_ PYE_OVR_SOVR

SELECT EMPLID ,EMPL_RCD ,PIN_NUM + 50000000 ,BGN_DT ,PIN_SOVR_NUM + 50000000 ,END_DT ,ENTRY_TYPE_SOVR ,SOVR_VAL_CHAR ,SOVR_VAL_NUM ,SOVR_VAL_DT FROM PS_GP_PYE_OVR_SOVR

Click to jump to parent topicViewing Element Relationships

You can use the View Element Relationships utility to view hierarchical maps, including a map that existed as of a specific date.

This section discusses how to:

Click to jump to top of pageClick to jump to parent topicPages Used to View Element Relationships

Page Name

Definition Name

Navigation

Usage

Uses

GP_PINTREE_EFFDT

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, View Element Relationships, Uses

View a map of elements that a focus element uses. The element relationship map must be built before the data is displayed.

Used By

GP_PINTREE_EFFDT2

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, View Element Relationships, Used By

View elements that use the focus element.

Click to jump to top of pageClick to jump to parent topicViewing Elements Used by a Focus Element

Access the Uses page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, View Element Relationships, Uses).

Element maps include fields that contain PIN_NUM only. So, when looking at the map for an earning element, you don't see fields for frequency, currency, and other non-element information.

Element Name

Displays the name of the element that you selected on the search page. This is the focus element.

Type

Displays the element type of the focus element.

As Of Date

To see the relationship map that was in effect on a specific date, enter the date in this field.

Element Uses

Click the element name to view its member elements. This information appears in a tree structure that expands or collapses as you click the + or − folder before an element name.

Perspective

To see additional information on a related element, click the element name in the Element Uses group box and select a view in the Perspective field.

Perspective

Select the format for the data in this group box. Values are:

Functional: Displays descriptive names of the data.

Technical: Displays technical names for the data.

Type

Functional: Displays the name of the element type for the selected element.

Technical: Displays the 2 character code of the element type for the selected element.

Name

Displays the name of the selected element. (The name is the same in the functional and technical views.)

Description

Displays the description of the selected element. (The description is the same for the functional and technical views.)

Record

Functional: Displays the descriptive name of the record in which the selected element resides.

Technical: Displays the technical name of the record in which the selected element resides.

Field

Functional: Displays the descriptive name of the field that stores the element's value.

Technical: Displays the technical name of the field that stores the element's value.

Click to jump to top of pageClick to jump to parent topicViewing Elements That Use a Focus Element

Access the Used By page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, View Element Relationships, Used By).

This page resembles the Uses page but shows all elements that use the focus element.

See Also

Viewing Elements Used by a Focus Element

Click to jump to parent topicCreating and Exporting Rule Packages

In release 9.1, Global Payroll offers a streamlined package creation process that enables you to create rule packages, create import/export scripts, and export rule packages using a single component for both standard and version based rule packages. You can run each step in this process—from package creation, to script creation, to package export—as part of a continuous sequence of steps, or run one step at a time. The Global Payroll system ensures that each step is complete before the next step begins, and displays the status of the package so that you can track your progress through the export process.

In addition, Global Payroll enables you to specify a default location on the Installation Settings page for the scripts used in the import/export process so that you do not need to enter the same basic information each time you export a package.

This section provides an overview of how to create and export rule packages, and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding How to Create and Export Rule Packages

To create and export a rule package:

Note. Rule packages can only include elements defined in records having PIN_NUM as the key.

  1. Define criteria for selecting the elements in a rule package.

    You can define different kinds of selection criteria:

    You can specify criteria by element and by attribute for the same package. If you do this, the system selects all elements that meet the criteria specified on the Define Criteria By Element page or the Define Criteria By Attribute page.

    You cannot define criteria by version for a package together with criteria by element and/or by attribute. Version criteria are exclusive of other selection criteria.

  2. Run the create package process to package the elements meeting the selection criteria.

    Do this on the Package Processing page of the Create/Export Rule Package component.

  3. View the package and clear any elements that you do not want to move to the target database.

    Do this on the View Package page of the Create/Export Rule Package component

  4. Run the create scripts process.

    Do this on the Package Processing page.

    Note. The system generates three scripts for the export and import process: xxx_exp.dms (export script), xxx_imp.dms (import script), and gp_cleanup.dms (cleanup script), where xxx represents the name of the rule package.

  5. Review the scripts created in step 4 (above).

    Do this on the View Scripts page of the Create/Export Rule Package component.

  6. Run the export package process.

    Do this on the Package Processing page.

    You must export the package before you can import it into the target database.

Note. This section represents the create rule package, create import/export scripts, and export rule package steps as separate, discrete processes; however, you can also run these steps as part of a single continuous process.

Warning! If you add or change an element after creating a package, you must recreate the package to include your changes.

Click to jump to top of pageClick to jump to parent topicPages Used to Create and Export Rule Packages

Page Name

Definition Name

Navigation

Usage

Package Definition

GP_PKG_DFN

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create/Export Rule Package, Package Definition

Name a rule package and enter a description and comments.

Define Criteria By Element

GP_PKGCRIT_ELM_SEC

Click Define Criteria By Element link on the Package Definition page.

Define selection criteria for a package by element.

Define Criteria By Attribute

GP_PKGCRIT_ATR_SEC

Click Define Criteria By Attribute link on the Package Definition page.

Define selection criteria for a package by attribute.

Define Criteria By Version

GP_PKGCRIT_VER_SEC

Select the Version Based check box on the Package Definition page and click the Define Criteria By Version link.

Define selection criteria for a package by version.

Where Clause

GP_PKG_CRIT2_SEC

Click the Show Where Clause link on the Define Criteria By Attribute page.

View and modify the SQL Where clause for the selection criteria defined on the Define Criteria By Attribute page.

Package Processing

GP_PKG_S_RUNCTL

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create/Export Rule Package, Package Processing

  • Package elements meeting the selection criteria you have defined.

  • Generate scripts for the export and import process.

  • Export packages.

View Package

GP_PKG_VIEW

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create/Export Rule Package, View Package

View the elements in a rule package. View the action (upgrade or delete) that the system takes when you copy the package. You can clear elements in the package.

View Version Detail

GP_PKG_VERDTL_SEC

Click the View Version Detail link on the View Package page for a package by version.

View version details for a package by version.

Package Status

GP_PKG_DTTM_SEC

Click the Package Status link on the Package Processing page.

View the date and time packages and scripts were created, and see when packages were exported, imported, compared, and upgraded.

View Scripts

GP_PKG_SCRIPTS_SEC

Click the View Scripts link on the Package Processing page.

View export, import, and cleanup scripts.

Click to jump to top of pageClick to jump to parent topicNaming Rule Packages

Access the Package Definition page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create/Export Rule Package, Package Definition).

Description and Comment

Enter a description of the package and comments.

Version Based and Define Criteria By Version

Select the Version Based check box to define a package using version criteria. By default, this check box is deselected.

When you select this check box, the Define Criteria By Version link appears and the Define Criteria By Element and Define Criteria By Attribute Links disappear.

Click the Define Criteria By Version link to access the Define Criteria By Version page, where you can specify the version of the elements that you want to include in the rule package.

Define Criteria By Element

Click the link to access the Define Criteria By Element page, where you can select elements to include in the package by name.

Note. When you specify the elements to include in the package on the Define Criteria By Element page and click OK, the check box in front of this link is automatically selected.

Define Criteria by Attribute

Click the link to access the Define Criteria By Attribute page, where you can select elements to include in the package based on attributes of the elements.

Note. When you define element attributes on the Define Criteria By Attribute page and click OK, the check box in front of this link is automatically selected

Note. You cannot define version based criteria for a package together with element or attribute criteria, as these package types are mutually exclusive. The system provides the following controls to prevent this from occurring: After you define and save version criteria for a package, you cannot access the Define Criteria By Element or Define Criteria By Attribute pages to add element and attribute criteria. In addition, if you try to combine package types before saving your work—for example, you define a version based rule package and then try to define additional criteria by element or by attribute—all of the version criteria you have already entered will be deleted at save time and you will receive a warning message.

Note. After you import a package, the Define Criteria By Element, Define Criteria By Attribute, and Define Criteria By Version links are disabled and you can no longer modify the selection criteria.

Click to jump to top of pageClick to jump to parent topicSelecting Elements for a Rule Package By Element

Access the Define Criteria By Element page (click Define Criteria By Element link on the Package Definition page).

Packaging Criteria - Element List

Entry Type

Select the entry type for the element to include in the package. This determines which elements you can select in the Element Name field.

Element Name

In this required field, select the name of the element to include in the package. This element is referred to as the focus element.

Element Owner

Identifies who created the element that you selected in the Element Name field and who's responsible for maintaining it. Valid values are Customer, Modified, PS Mnt (PeopleSoft Maintained), PS NonMnt, and PS Secure.

Include

Select the elements to include in the package.

Valid values are:

Focus Element + Members: The system includes focus elements (the elements in the Element Name field) as well as any member elements used by the focus elements (as depicted on the Uses page).

Focus Element Only (default): The system includes focus elements as well as any auto generated components and accumulators. First level elements are selected as information only elements.

Warning! Select Focus Element Only only if you know that the target database contains all of the member elements. If it doesn't, the system reports an error during the compare process.

Note. The system always includes information for the member elements in the package—even when you select Focus Element Only. Although the member elements aren't copied to the target database, the system uses the information to perform the compare process described later in this chapter.

Language

Specify whether to copy base and related language data to the target database.

All fields on GP_PIN that are translatable have associated related language data. Related language data is stored on the related-language table for GP_PIN, GP_PIN_LANG.

Valid values are:

  • All: Add all language information to the package.

  • Base: Select to get only the base language data.

  • Related: Copy all language data related to the element but not the base language for the element itself.

Action

Select the action the system should take with this element when upgrading the target database. Values are:

Upgrade (default): Adds the element to the target database or updates a matching element that's in the target database.

Delete: Deletes the element from the target database. (One database can be used as both the source and target database.)

You cannot delete elements that meet any of the following conditions:

  • Used in a results table.

  • Associated with payee data.

  • Linked to a non-rule table.

  • Used by another element.

  • Delivered by the PeopleSoft system.

Note. You can delete the related language or all language information but not the base language alone.

If you are deleting both a parent and a child element, you must still unhook the child from the parent.

Warning! PeopleSoft strongly recommends that you place deletes in a separate package from all other elements.

See Also

Base and Related Languages

Click to jump to top of pageClick to jump to parent topicSelecting Elements for a Rule Package by Attribute

Access the Define Criteria by Attribute page (click Define Criteria By Attribute link on the Package Definition page).

Attribute Set1

Select the Attribute Set1 tab.

Include

Specify whether the package includes only focus elements (which meet the selection criteria on the Attribute Set1 tab) or also includes elements that are used by the focus elements.

Values are Focus Element + Members and Focus Element Only.

Focus Element + Members: The system includes focus elements (in the Element Name field) as well as any member elements used by the focus elements (as depicted on the Element Relationship Uses page).

Focus Element Only (default): The system includes focus elements as well as any auto generated components and accumulators. First level elements are selected as information only elements. Information only elements are used by the focus element and its immediate children (if this information has not been previously selected).

Warning! Select Focus Element Only only if you know that the target database contains all the member elements. If it doesn't, the system reports an error during the compare process.

Note. The system always includes information for the member elements in the package—even when you select Focus Element Only. Although the member elements aren't copied to the target database, the system uses the information to perform the compare process described later in this chapter.

Language

Specify whether to copy base and related language data for GP_PIN fields to the target database.

All fields on GP_PIN that are translatable have related language data. This data is stored in the related-language table for GP_PIN, GP_PIN_LANG.

Valid values are:

  • All: Add all language information to the package.

  • Base: Select to get only the base language data.

  • Related: Copy all language data related to the element but not for the base element itself.

Action

Select the action the system should take with this element when upgrading the target database. Values are:

Upgrade (default): Adds the element to the target database or updates a matching element that's in the target database.

Delete: Deletes the element information from the target

You cannot delete elements that meet any of the following conditions:

  • Used in a results table.

  • Associated with payee data.

  • Linked to a non-rule table.

  • Used by another element.

  • Delivered by the PeopleSoft system.

Note. You can delete the related language or all language information but not the base language alone.

If you are deleting both a parent and a child element, you must still unhook the child from the parent.

Warning! PeopleSoft strongly recommends that you place deletes in a separate package from all other elements.

Element Type

Select the element type.

Element Owner

Select the element owner. Valid values are: Customer, Modified, PS Mnt, PS Non-Mnt, and PS Secure.

Attribute Set2

Select the Attribute Set2 tab.

Used By

Select where elements are used. Valid values are All Countries (default) and Specific Country. If you select Specific Country, you must select the country in the Country field.

Country

Select the country's three-digit country code if you selected Specific Country in the Used By field.

Category

To select only elements assigned to a particular category, select the category. (You assign a category to an element on the Element Name page.)

Element Class

Select the element class to package. (You assign an element class to an element on the Element Name page.)

Valid values are: Customary, Not Classified, Sample Data, Statutory, and System Data.

Where Clause Option

The system converts the criteria entered on the Define Criteria by Attribute page into SQL in order to select elements for the package.

Values are:

Use Default WHERE Clause: Tells the system to use the default Where clause. If the where clause has been changed and Use Default WHERE Clause is selected again, the page discards any SQL code modifications you have made and reverts to the Where clause based on the criteria you specified.

Change WHERE Clause: Makes all other fields on the page unavailable and puts the SQL code on the Where Clause page in edit mode.

Show Where Clause

Displays the Where Clause page, where you can view and alter the SQL code containing your selection criteria.

See Also

Selecting Elements for a Rule Package By Element

Defining Security

Base and Related Languages

Click to jump to top of pageClick to jump to parent topicModifying the SQL Where Clause for Selection Criteria

Access the Where Clause page (click the Show Where Clause link on the Define Criteria By Attribute page).

Where Clause Option

Select Use Default WHERE Clause to use the default clause or revert to it after editing the SQL code. Any edits you make to the Where clause will be lost when you select Use Default WHERE Clause.

Select Change WHERE Clause to make the code on the lower part of the page available for editing.

Where Clause

If you select Use Default WHERE Clause as the Where Clause Option, the system displays the Where clause of the SQL statement that it created based on the selection criteria defined on the Define Criteria by Attribute page. The Where clause is not editable.

If you select Change Where Clause, you can edit the SQL Where clause. The following rules apply:

  • Do not use PIN_NUM as a selection criterion or any field where PIN_NUM can be stored.

    (Doing so prevents renumbering during the import process.)

  • Add the prefix PS_GP_PIN to field names that you enter.

    Example: PS_GP_PIN.RECALC_IND.

Note. When you Click OK and save, the system checks for the use of PIN_NUM, and looks for SQL syntax errors.

Click to jump to top of pageClick to jump to parent topicSelecting Elements for a Rule Package by Version

Access the Define Criteria By Version page (Select the Version Based check box on the Package Definition page and click the Define Criteria By Version link).

Used By

Select All Countries or Specific Country depending on whether you are defining version criteria for all countries or a single country.

Specific Country

If you select Specific Country in the Used By field, specify the country.

Version

Select the version of elements to include in the package. You can select multiple versions if they are for the same country.

Click to jump to top of pageClick to jump to parent topicCreating Packages and Scripts, and Exporting Packages

Access the Package Processing page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create/Export Rule Package, Package Processing).

After defining selection criteria for a package, use the Package Processing page to:

During the export process, the system automatically adds 50, 000, 000 to the value of the PIN number assigned to each element so that it can distinguish the imported elements from elements that exist in the target database.

Processing Options

The check boxes under Processing Options display the status of the creation and export process. Status values are:

Package Status

Click to access the Package Status page, where you can view the date and time packages and scripts were created, and see when packages were exported, imported, compared, and upgraded.

Create Processing

Create Package

Select Create Package to have the program create the package based on the criteria, attributes, or version you have defined.

Export Processing

Create Scripts

Select Create Scripts to have the system to generate three scripts for the export and import process: xxx_exp.dms (export script), xxx_imp.dms (import script), and gp_cleanup.dms (cleanup script), where xxx represents the name of the rule package.

This check box becomes available under the following conditions:

  • You select the Create Package check box.

  • The package has already been created.

Note. You must specify a path to the script location to generate a script.

Note. You can select Create Package and Create Scripts at the same time, and the system will generate the package and then create the export and import scripts. However, you cannot select Create Scripts before you generate the package.

Script Location

Specify the path to the location where you want the scripts to be created.

This field becomes available when you:

  • Select the Create Scripts check box.

  • Select the Export Package check box.

  • Have created the scripts for a package.

The location of the scripts and data files must be accessible by both the import and export NT Process Scheduler for the import and export databases. You must specify the script location in the Process Scheduler configuration file (psprcs.cfg).

Note. We discuss how to specify the script location in the Process Scheduler configuration file in the section titled The Process of Connecting UNIX and NT Directories.

See The Process of Connecting UNIX and NT Directories.

Note. You can define a default script location on the Installation Settings page for all packager scripts.

See Defining Global Payroll Installation Settings.

View Scripts

Click to access the View Scripts page, where you can review export and import scripts.

Export Package

Select Export Package to have the system export the package during processing.

This field becomes available when you:

  • Select the Create Package and Create Scripts check boxes.

  • Have created a package and then select the Create Scripts check box.

  • Have created the package and the scripts.

After exporting the package from the source database, you can import it into the target database using the Apply Rule Package (GP_PKG_APPLY) component.

Note. During the export process, the system automatically adds 50 000 000 to the value of the PIN number assigned to each element so that it can distinguish the imported elements from elements that exist in the target database.

Process

Click the Process button to call and run the processes denoted by the check boxes you have selected: Create Package, Create Scripts, and Export Package. Note that you can select all three check boxes at the same time and run these processes as a single, continuous sequence, or run one process at a time. However, the processes must run in the order of create package first, then create scripts, then export package.

Note. When you click the Process button the Process Monitor page appears, so that you can monitor the process. Wait until the program finishes before opening a page associated with the package.

Click to jump to top of pageClick to jump to parent topicViewing the Elements in a Rule Package

Access the View Package page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create/Export Rule Package, View Package).

After creating a package, you can view the elements in the package and individually select any elements that you do not want to export to the target database.

Action

Displays the action applicable to the element in your package.

Values are: Upgrade, Delete, and Info Only.

When deleting items, the source database and target database can be the same.

Upgrade

This check box is selected by default to include the element in the package for export. deselect it to exclude the element from the export.

View Version Detail

If the elements displayed on the View Package page are packaged by version, the View Version Detail link appears. Click this link to access the View Version Detail page, where you can view each element's version number and the database records (tables) containing the element definitions.

Click to jump to top of pageClick to jump to parent topicViewing Version Details for a Package By Version

Access the View Version Detail page (click the View Version Detail link on the View Package page for a package by version).

For elements packaged by version, access the View Version Detail page to view each element's version number and the database records (tables) containing the element definitions.

Click to jump to top of pageClick to jump to parent topicViewing the Status of a Package

Access the Package Status page (click the Package Status link on the Package Processing page).

View the date and time packages and scripts were created, and see when packages were exported, imported, compared, and upgraded.

Click to jump to top of pageClick to jump to parent topicViewing a Script

Access the View Scripts page (click the View Scripts link on the Package Processing page).

Script Location

Displays the script location, which must be accessible by both the import and export NT Process Scheduler for the import and export databases. You must specify the script location in the Process Scheduler configuration file (psprcs.cfg).

Note. We discuss how to specify the script location in the Process Scheduler configuration file in the section titled The Process of Connecting UNIX and NT Directories.

See The Process of Connecting UNIX and NT Directories.

Note. You can define a default script location on the Installation Settings page for all packager scripts.

See Defining Global Payroll Installation Settings.

View Package Script

Select the type of script that you want to view: export, import, or cleanup. The DataMover script appears.

Click to jump to parent topicImporting, Comparing, and Upgrading Rule Packages

In release 9, Global Payroll offers a streamlined package import and compare process that enables you to run the import, compare, and upgrade process using a single component for both standard and version based rule packages. You can run each step in this process—from package import, to comparison, to upgrade—as part of a continuous sequence of steps, or run one step at a time. The Global Payroll system ensures that each step is complete before the next one begins, and displays the status of the package so that you know exactly where you are in the process.

In addition, Global Payroll enables you to specify default packager-related options on the Installation Settings page so that you do not need to enter the same basic information each time you run the import, compare, and upgrade process. Use the Installation Settings page to:

See Defining Global Payroll Installation Settings.

This section provides an overview of rule package, imports, comparisons, and upgrades, and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding Rule Package Imports, Comparisons, and Upgrades

After running the export process, use the Apply Rule Package (GP_PKG_APPLY) component to import the package into to the target database, compare the rules in the source database to those in the target database, and upgrade the rule package.

To import, compare, and upgrade a rule package:

  1. Run the import process on the Package Processing page of the Apply Rule Package component.

  2. Compare the packaged elements with the elements in the target database by running the compare process and generating the compare report on the Package Processing page of the Apply Rule Package component. Generating the compare report is optional.

    The system determines which elements are new to the target database, which update existing elements in the target database, and which need deleting from the target database.

  3. Review the compare report and the results displayed on the Package Elements and Package Compare Audit pages of the Apply Rule Package component to determine the results of the compare process.

    On the Package Elements page you can exclude elements from the upgrade process.

  4. Resolve warnings and errors that are identified in the compare report, on the Package Elements page, and on the Package Compare Audit page during the compare process.

    Warnings and errors can occur for several reasons. For example, the source element could use other elements that don't exist in the target database and are not included in your package or an element that you want to delete could be used in a results table. The corrective action depends on the type of error and warning.

  5. Rerun the compare process on the Package Processing page after correcting errors or excluding elements from the package.

  6. Run the upgrade process after deciding whether to proceed with errors and/or warnings.

    Do this on the Package Processing page.

    During the upgrade process the system:

    You can run this process only once.

Note. This section presents the package import, comparison, and upgrade steps as separate, discrete processes; however, you can run these steps as part of a single continuous process.

Note. Before moving rule and non-rule packages, it is recommended that you back up the target database.

What Happens During the Compare Process

For each exported element, the system looks for an element in the target database with the same PIN code, element type, and element owner.

This flowchart shows the logic that the system uses to perform the comparison and generate the resulting warning or error messages:

Compare process for rule packages (flowchart 1)

Compare process for rule packages (flowchart 2)

Warning! Upgrades override elements in the target database with the information that has been sent over from the source.

See Also

The Delete Functions

Click to jump to top of pageClick to jump to parent topicRunning the Compare Report

You can generate a compare report while performing the compare process. The compare report enables you to see what elements the Rule Package will change on a field-by-field basis. Use this information to decide whether to upgrade a specific element.

The compare report creates a report displaying the affected elements and what the differences are between the elements in the Rule Package and the elements in the target database. The compare report can only be run at the same time as the compare process.

Note. We provide a sample compare report in the sample reports PDF file (hgpy91reports) delivered with this PeopleBook.

Compare Report Summary Page

The summary page is the first page of the compare report. It includes the following information:

Compare Report Body

The body of the compare report consists of four columns. The columns and contents are described in the following table:

Column

Contents

Element

  • PIN code.

  • PIN type.

  • Upgrade action (either Upgrade, Delete, or Informational Only).

  • Upgrade (either Yes or No).

  • Compare status.

  • Error or Warning (if applicable).

Note. Upgrade action, upgrade, compare status, and error or warning messages appear only on the Elements With Error/Warning Messages page of the report.

Record.Field

Record and field name for the values contained in the Source Database and Target Database columns.

Source Database

Data values that are moving from the source to the target database as part of the Rule Package for the applicable record or field name.

Target Database

Data values that are currently in the target database for the applicable record or field name.

Note. Elements in the compare report are displayed based on the alphabetical order of their country codes. For example, elements for CHE (Switzerland) appear before elements for DEU (Germany). The country code All (Across All Countries) appears if there is an element in the package that is defined for All countries or that is in error/warning status.

Elements Displayed in the Compare Report

The compare report is made up of different sections containing detailed information about different categories of elements:

Note. These report sections are displayed country by country in alphabetical order of the country codes. For example, report sections for CHE (Switzerland) appear before those for DEU (Germany). If you request a report section and there are no elements belonging to that category, the following message appears in that section of the compare report: "There are no elements that qualify for this section." For country code 'All' (Across All Countries), the report sections only print out if there are elements to report on. No page is printed if no elements exist for 'All' in the section—not even the message noted above appears. Country code 'All' pages always appear at the end of the report.

Note. For formulas, only the formula text is displayed in the compare report, rather than details about each individual field.

For all PIN Number fields, the compare report displays the corresponding PIN Code instead of the PIN Number.

Note. In the compare report, record information is printed in the following sort order: GP_PIN (if applicable), Parent Element Definition Record (if applicable), and Child Element Definition Records (if applicable). Within each of these records, the data displayed is sorted by effective-date descending (if effective date is in the record) and then by key fields ascending.

Click to jump to top of pageClick to jump to parent topicPages Used to Import, Compare, and Upgrade Rule Packages

Page Name

Definition Name

Navigation

Usage

Package Definition

GP_PKG_DFN

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Apply Rule Package, Package Definition

View the description and package ID of a rule package.

Package Processing

GP_PKG_T_RUNCTL

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Apply Rule Package, Package Processing

  • Import rule packages into the target database.

  • Run the compare process and generate the compare report.

  • Run the upgrade process.

Package Elements

GP_PKG_ELEM_UPG

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Apply Rule Package, Package Elements

View the results of the compare processes and clear elements from the upgrade process.

Package Compare Audit

GP_PKG_CMP_AUDIT

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Apply Rule Package, Package Compare Audit

Review for errors that occur during the compare process. Before continuing with the upgrade process, correct the errors and rerun the compare process.

Package Status

GP_PKG_DTTM_SEC

Click the Package Status link on the Package Processing page.

View the date and time packages and scripts were created, and see when packages were exported, imported, compared, and upgraded.

View Scripts

GP_PKG_SCRIPTS_SEC

Click the View Scripts link on the Package Processing page.

View export, import, and cleanup scripts.

Click to jump to top of pageClick to jump to parent topicViewing a Package Definition

Access the Package Definition page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Apply Rule Package, Package Definition).

View the Package ID and description of the package you are comparing and upgrading.

Click to jump to top of pageClick to jump to parent topicStarting the Import, Compare, and Upgrade Processes

Access the Package Processing page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Apply Rule Package, Package Processing).

Access this page from the target database.

Use this page to import, compare, and upgrade rule packages and to track the status of an upgrade.

Processing Options

The check boxes under Processing Options display the status of the upgrade. Status values are:

Package Status

Click to access the Package Status page, where you can view the date and time packages and scripts were created, and see when packages were exported, imported, compared, and upgraded.

Import Processing

Import Package

Select Import Package to instruct the system to import the elements in the package into the target database during processing. You must specify a path to the scripts used to import the package.

This check box is always enabled, regardless of whether the package has already been imported.

Script Location

Specify the path to the location where you want the scripts to be created.

The location of the scripts and data files must be accessible by both the import and export NT Process Scheduler for the import and export databases. You must specify the script location in the Process Scheduler configuration file (psprcs.cfg).

Note. We discuss how to specify the script location in the Process Scheduler configuration file in the section titled The Process of Connecting UNIX and NT Directories.

See The Process of Connecting UNIX and NT Directories.

Note. You can define a default script location on the Installation Settings page for all packager scripts.

See Defining Global Payroll Installation Settings.

View Scripts

Click to access the View Scripts page, where you can view the export, import, and cleanup scripts.

Compare Processing

Compare Package

Select Compare Package to have the system compare the imported elements with those in the target database during processing.

This check box is enabled when:

  • The package has already been imported but not upgraded.

  • You select the Import Package check box.

When the compare process is complete, check the Package Upgrade tab on the Package Elements tab and then review the Package Compare Audit page for errors.

Create Compare Report

Select to generate a report comparing elements in the rule package to the elements in the target database on a field-by-field basis.

This check box is enabled when you select the Compare Package check box.

Update Statistics

Select to update statistics in the appropriate tables when running the compare process.

Compare Report Print Options

These check boxes determine what data appears in the compare report.

  • Errors/Warnings: Report includes all warning or errors that occur during the compare.

    The default setting for this check box is on.

  • Modified: Report includes packaged elements that are different from those in the target database.

    The default setting for this check box is on.

  • New: Report includes the new elements.

    The default setting for this check box is off.

  • Deleted: Report includes the elements selected for deletion.

    The default setting for this check box is off.

  • Unchanged: Report includes the elements that have not changed.

    The default setting for this check box is off.

Note. You can set default print options for the compare report on the Installation Settings page. You can override these defaults when you run the compare process on the Package Processing page.

See Defining Global Payroll Installation Settings.

Upgrade Processing

Upgrade Package

Select Upgrade Package to have the system upgrade the target database with the elements in the package during processing.

This check box is enabled when:

  • The package has been compared but not upgraded.

  • You select the Compare Package check box.

This process upgrades only those elements that pass the compare process without errors. You can upgrade a package only once.

Note. The upgrade process will not be completed if there are errors or warnings—unless you select upgrade with errors and/or warnings. If you choose not to upgrade with errors and warnings and there is an error or a warning, the process monitor will show success but the message log will display one of the following messages:

1. "The Upgrade process cannot continue because the compare process finished with some elements having a status of Error. Please see online 'Package Elements' page or review the 'Error/Warning' section of your report."

or

2. "The Upgrade process cannot continue because the compare process finished with some elements having a status of Warning. Please see online 'Package Elements' page or review the 'Error/Warning' section of your report."

Even with the upgrade with errors and warnings check boxes selected, at least one element must have a status of success for the process to upgrade the elements. You must fix the errors.

Important! Do not run the compare and upgrade processes together with regular payroll processes. This is to avoid affecting other users.

Update Statistics

Select to generate and view statistics on the upgrade process.

This check box becomes available when you select Upgrade Package.

Continue Upgrade Processing

Select With Errors and/or With Warnings to proceed with the upgrade despite errors and warnings in the compare report. If you do not select one or both of these options, and there are errors or warnings, the process will not upgrade. The process will run to success but a message will be generated with information about the errors or warnings.

These check boxes become available when the Upgrade Package check box is selected.

Note. Even with the With Errors check box selected, elements that are in error are not included in the upgrade—only elements in the package that are not in error are upgraded in the target database when you run the upgrade process. By contrast, selecting the With Warnings check box does not prevent an element with an associated warning from being included in the upgrade if the upgrade check box is selected. However, if you do not select With Errors and/or With Warnings, and there is even a single error or warning, the process will not upgrade. The process will run to success but a message will be generated with information about the errors or warnings.

Note. You can set default options for continuing an upgrade on the Installation Settings page. You can override these defaults when you run the upgrade process on the Package Processing page.

See Defining Global Payroll Installation Settings.

Process

Click the Process button to call and run the processes denoted by the check boxes you have selected: Import Package, Compare Package, and Upgrade Package. Note that you can select all three check boxes at the same time and run these processes as a single, continuous sequence, or run one process at a time. However, the processes must run in the order of import first, then compare, then upgrade.

Note. When you click the Process button the Process Monitor page appears, so that you can monitor the process. Wait until the program finishes before opening a page associated with the package.

Click to jump to top of pageClick to jump to parent topicReviewing Results of the Compare Process

Access the Package Elements page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Apply Rule Package, Package Elements).

This page displays the results of the compare process. If failures are reported, correct the errors before continuing with the upgrade. The Package Compare Audit page provides additional information about the errors.

Source Pin Number (source pay item name number)

Displays the PIN number of the element from the source database (without an added 50 000 000).

Element Name

Displays the name of the element in the source database.

Upgrade

Select this option to overwrite the element with the data from the source database. If you modified the target element then your changes will be lost. To exclude the element from the upgrade process, deselect the check box. Excluded elements will retain any changes you may have made.

Important! If you exclude an element from the package, you must rerun the compare process before resuming the upgrade.

Result

Displays the result of the comparison. Values are:

Not Done: You haven't yet run the compare process.

Success: The compare process encountered no errors.

Failure: The compare process failed. The Reason field shows why.

Warning: The PeopleSoft system has modified the element in the source database (the upgrade flag is checked on) or you have taken control of the element ownership (the upgrade flag is checked off). The Reason field explains the reason for the warning.

In order to accept or ignore the change, update the upgrade flag to indicate whether you want the element upgraded.

Note. Failures are listed first, followed by warnings and then successes, so if the entries on the first page all read Success, you can assume that the entire comparison process succeeded.

Reason

If the compare process failed or generated a warning, one of the following reasons appears here:

New Element Not Copied Completely: You're trying to copy a new element into the target database but that element has no GP_PIN record—only a definition. (For example, you stamp and package elements by version. Another person modifies the element and clears the version number.) Restamp the element with the appropriate version and export it again.

Note. This error occurs when an element is new and only GP_PIN is brought in and not the definition, or when the definition is there but not GP_PIN.

Element Owner / Type Conflict: The PIN code for the source element matches a PIN code in the target database, but the owner or element type doesn't match. Use the Element Rename page to change the PIN code in the target database.

If an element is customer-defined, the Element Owner field on the Compare and Upgrade Package - Package Elements page reads Customer.

Member Element not found: The source element uses other elements that don't exist in the target database and aren't included in the package. Remove the element from the upgrade process by deselecting the Upgrade check box, or include the missing elements in the packaging criteria, recreate the package in the source database, and re-import it.

Mbr Element Owner/Type Conflict (member element owner/type conflict): This is similar to the Element Owner/Type Conflict message but applies to a member element that's used by the focus element. Use the Element Rename page to change the PIN code in the target database.

Element does not exist: You're trying to delete an element that's not in the target database.

PS Delivered/Customer Modified: This warning indicates that the element in the target database has been modified and no longer matches the element in the source database. To accept the PeopleSoft or customer modifications and overwrite any changes in the target database, select the Upgrade check box. The element ownership remains PS Delivered/Customer Modified once the check box is selected.

PS Delivered/PS Modified: This warning indicates that the PeopleSoft system has changed the ownership of the element in the source database so that it's no longer PeopleSoft delivered or maintained. To reject the change, deselect the Upgrade check box.

Cannot delete PS-Owned Element: You're trying to delete a PeopleSoft-owned element from the target database. You cannot delete such elements.

Duplicate Package Element Found: You're trying to import an element that is in another package that's being upgraded.

Used in Non-Elem Defn (element definition): You are trying to delete an element that is used in a non-element definition. Modify the non element definition so that it no longer uses this element.

Used in Output Results: You are trying to delete an element that is used in a processing result table. (Results cannot be deleted from the result tables.)

Used in Payee Data: You're trying to delete an element that's associated with payee data. Modify the payee data so that it no longer uses this element.

Used in Rule Defn (definition): You are trying to delete an element that is used by another element. Modify the rule definition so that it is no longer uses this element.

Auto-component used in RuleDfn (rule definition): You are trying to delete an element whose component is used by a rule definition. Modify the element definition so that it is no longer uses this component.

New Element

The check box is selected if the element to be upgraded isn't in the target database.

Upgrade Status

Indicates whether the upgrade process has occurred. Changes from Not Done to Done after you complete the compare and upgrade processes.

Click to jump to top of pageClick to jump to parent topicReviewing for Upgrade Errors

Access the Package Compare Audit page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Apply Rule Package, Package Compare Audit).

Parent

Displays the name of the parent element.

Member Element

Displays the name of the member element that generated the error.

Failure Reason

Displays the cause of the failure. The same information appears in the Reason field on the Package Elements tab.

Upgrade Action

Displays the action that the system was trying to take when the error occurred. Values are: Upgrade, Delete, and Info Only.

Package Upgrade

Select the Package Upgrade tab.

Parent

Displays the name of the parent element that generated the error.

Member Element

Displays the name of the member element that generated the error.

Record (Table) Name

Displays the name of the record that stores the parent element and its members.

PIN Nbr Fieldname (pay item name number field name)

Displays the name of the field that contains the key field.

Field Name

Displays the name of the field that contains the member element that created the error.

Click to jump to top of pageClick to jump to parent topicViewing the Status of a Package

Access the Package Status page (click the Package Status link on the Package Processing page).

View the date and time packages and scripts were created, and see when packages were exported, imported, compared, and upgraded.

Click to jump to top of pageClick to jump to parent topicViewing a Script

Access the View Scripts page (click the View Scripts link on the Package Processing page).

Script Location

Displays the script location, which must be accessible by both the import and export NT Process Scheduler for the import and export databases. You must specify the script location in the Process Scheduler configuration file (psprcs.cfg).

Note. We discuss how to specify the script location in the Process Scheduler configuration file in the section titled The Process of Connecting UNIX and NT Directories.

See The Process of Connecting UNIX and NT Directories.

Note. You can define a default script location on the Installation Settings page for all packager scripts.

See Defining Global Payroll Installation Settings.

View Package Script

Select the type of script that you want to view: export, import, or cleanup. The DataMover script appears.

Click to jump to parent topicRenaming Elements

This section provides an overview on how to rename elements, and discusses renaming an element.

Click to jump to top of pageClick to jump to parent topicUnderstanding How to Rename Elements

Sometimes the compare process finds an element in the target database whose PIN code is the same as the source element's, but the two elements have different element types or owners. In this case, you receive one of the following error messages: "Element Owner/Type Conflict" or "Mbr Element Owner/Type Conflict."

To continue exporting the element, you can use the Element Rename Utility to change the PIN code of the target element. After changing the PIN code, always rerun the compare process.

When you instruct the system to change an element's PIN code, it checks the following:

Important! Do not rename an element when you are in the process of creating a package.

PeopleSoft created elements cannot be renamed.

Warning! Time and Labor stores PIN code information, so if you make a change, you must update Time and Labor data accordingly.

See Also

The Delete Functions

Configuring Human Resources

Click to jump to top of pageClick to jump to parent topicPage Used to Rename Elements

Page Name

Definition Name

Navigation

Usage

Element Rename

GP_PIN_RENAME

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Rename Element Codes, Element Rename

Change an element's PIN code.

Click to jump to top of pageClick to jump to parent topicRenaming an Element

Access the Element Rename page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Rename Element Codes, Element Rename).

New PIN Code (new pay item name code)

Enter the new code. The old PIN code is replaced when you save.

Note. When renaming a PIN, make sure that you use the PIN name plus the country suffix. For example: PIN NAME DEU.

Click to jump to parent topicCreating and Exporting Non-Rule Packages

This section provides an overview of creating and exporting non-rule packages and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding How to Create and Export Non-Rule Packages

Non-rule packages contain both non-elements and element information. Non-elements are those that belong to records where PIN_NUM is not the primary key.

Important! When creating a non-rule package, make sure that records that are related to the record you are moving are included in the same package. To move a complete set of related data, you need to understand which records are related.

Before moving non-rule data, make sure that the elements that are associated with the non-rule data exist in the target database. You can do this by creating a rule package that contains the elements that are associated with the data record that's being moved and copying (upgrading) the rule package to the target database.

For example, suppose that you are moving non-rule calendar detail records. Calendar details are associated with the process number element (PIN_PRC_NUM). Before moving the calendar data, create a rule package that contains the process number element and move it to the target database. The system can assign a new PIN number to this element in the target database, if necessary. Once this package is in the target database, you can move the calendar details by creating a non-rule package.

When the system moves the calendar details, it finds the process number element in the target database, retrieves the new PIN number that was assigned during the rule upgrade process, and renumbers the process number PIN in the calendar detail record. (Without renumbering, the calendar detail would contain PIN numbers that may not exist or are not related the element used by that calendar in the target database.)

To create and export a non-rule package:

  1. Create the non-rule package.

    To do this, use the Create Non-Rule Package (GP_NR_PKG_CREATE) component.

    On this component you can:

  2. Export the non-rule package.

    To do this, use the Export Non-Rule Package (GP_NR_PKG_EXPORT) component.

    The system exports the non-rule data and the element information contained in the non-rule package.

Note. Global Payroll enables you to specify a default location for the scripts used in the export non-rule package process so that you do not need to enter the same basic information each time you export a package. To do this, access the Installation Settings page for Global Payroll (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, System Settings, Installation Settings) and specify the script location.

Click to jump to top of pageClick to jump to parent topicPages Used to Create and Export Non-Rule Packages

Page Name

Definition Name

Navigation

Usage

Create Non-Rule Package - Package Definition

Export Non-Rule Package - Package Definition

GP_NR_PKG_DFN

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create Non-Rule Package, Package Definition

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Export Non-Rule Package, Package Definition

Name or view a non-rule package and enter a description and comments.

Create Non-Rule Package - Package Criteria

GP_NR_PKG_CRIT

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create Non-Rule Package, Package Criteria

Define criteria for selecting items for the non-rule package and create the package.

Create Non-Rule Package - Package Records

GP_NR_PKG_RECS

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create Non-Rule Package, Package Records

View and optionally edit the Where clause of a SQL statement that the system creates based on selection criteria that you enter on the Package Criteria page.

Export Non-Rule Package - Package Records

GP_NR_PKG_DATA

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Export Non-Rule Package, Package Records

  • Create scripts and export package records and element information.

  • View Where clause of SQL statement that the system creates based on selection criteria that you enter on the Package Criteria page.

Create Non-Rule Package - Package Elements

Export Non-Rule Package – Package Elements

GP_NR_PKG_ELMTS

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create Non-Rule Package, Package Elements

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Export Non-Rule Package, Package Elements

View the elements of a non-rule package.

Export Non-Rule Package - View Script

GP_NR_PKG_EXPIMP

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Export Non-Rule Package, View Script

View non-rule export and import scripts.

Package Status

GP_NR_PKG_DTTM_SEC

  • Click Package Status link on Package Definition page.

  • Click Package Status link on Package Criteria page.

  • Click Package Status link on Package Records page.

  • Click Package Status link on Package Elements page.

  • Click Package Status link on View Script page.

View the date and time a package was created, exported, imported, compared, and upgraded.

Click to jump to top of pageClick to jump to parent topicNaming Non-Rule Packages

Access the Package Definition page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create Non-Rule Package, Package Definition).

Enter a description of the package and comments.

Click to jump to top of pageClick to jump to parent topicDefining Selection Criteria

Access the Package Criteria page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create Non-Rule Package, Package Criteria).

Package ID

Displays the package ID.

Record

Select the record that contains the data to move. The Data Selection group box becomes available.

Where Clause Option

The system converts the criteria entered on this page into SQL in order to select elements for the package.

Values are:

Use Default WHERE Clause: Tells the system to use the default Where clause. If the where clause has been changed and Use Default WHERE Clause is selected again, the page discards any SQL code modifications you have made and reverts to the Where clause based on the criteria you specified.

Change WHERE Clause: Makes all other fields on the page unavailable and puts the SQL code on the Package Records page in edit mode.

Data Selection

Use the fields in the Data Selection group box to indicate which data to move. Selection criteria are optional, but if you don't enter selection criteria, no delete process is performed on the target database before source data importation. This can result in a "Duplicate Record" message from Data Mover during import, or it can cause the upgrade process to fail.

Field Name

Select the field on which to base the selection criteria. (It is advisable to use a key field, which are identified in the prompt table's Key Position column.)

Field Format

Displays the format of the field that you selected.

Operator

Select the operator that the system uses to select the data to include in the package. Values are <, <=, <>, =, >, >=, and LIKE. If you select LIKE, you can enter a partial value, such as S, in the field to the right.

In the field on the right of the Operator field, enter the value the system searches for. (The name of this field varies with field format.)

Create Package

Click to create the package after defining the selection criteria. The Create Non-Rule Package - Package Records page appears when the package is created.

To review the package contents, select the Package Elements tab.

Click to jump to top of pageClick to jump to parent topicModifying the SQL Where Clause for the Selection Criteria

Access the Create Non-Rule Package - Package Records page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create Non-Rule Package, Package Records).

Record

Displays the record from which fields are selected.

Where Clause Option

Select a Where clause option. Values are:

Change WHERE Clause: Select to edit the SQL code on the lower part of the page.

Use Default WHERE Clause: Select to use the default clause or revert to it after editing the SQL code. Changes that you have made to the Where clause are lost and the field is disabled.

Where Clause

If you selected Use Default WHERE Clause in the Where Clause Option field, the system displays the Where clause of the SQL statement it created based on the selection criteria that you entered for the package on the Create Non-Rule Package - Package Criteria page. This WHERE clause cannot be edited.

If you selected Change Where Clause, you can edit the SQL. Do not use PIN_NUM as a selection criterion or any field where PIN_NUM can be stored. (Doing so prevents renumbering during the import process.)

Click to jump to top of pageClick to jump to parent topicDisplaying Elements of a Non-Rule Package

Access the Package Elements page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Create Non-Rule Package, Package Elements).

Note. This display page lists the rule elements used in the records being moved to the new database. These are informational elements. The page doesn't show data in records where PIN Num is not a field.

Click to jump to top of pageClick to jump to parent topicCreating Scripts and Exporting Non-Rule Packages

Access the Export Non-Rule Package - Package Records page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Export Non-Rule Package, Package Records).

Script Location

Specify the path to the location where you want the import/export scripts to be created when you click the Create Scripts button.

The location of the scripts and data files must be accessible by both the import and export NT Process Scheduler for the import and export databases. You must specify the script location in the Process Scheduler configuration file (psprcs.cfg).

Note. We discuss how to specify the script location in the Process Scheduler configuration file in the section titled The Process of Connecting UNIX and NT Directories.

See The Process of Connecting UNIX and NT Directories.

Note. You can define a default script location on the Installation Settings page for all packager scripts.

See Defining Global Payroll Installation Settings.

Record

Displays the name of the record containing the data that you're exporting.

Where Clause

Displays the Where clause of the SQL statement that selects the data to be exported.

Create Scripts

Click to create the import and export scripts for the non-rule package: xxx_elements_imp.dms, xxx_elements_exp.dms, xxx_records_exp.dms, and xxx_record_imp.dms (where xxx = name of package). The scripts will be created in the script location you specify.

Export

Click to export the package once you have selected a script location.

Click to jump to top of pageClick to jump to parent topicViewing Non-Rule Package Scripts

Access the View Scripts page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Export Non-Rule Package, View Script).

Script Location

Displays the script location, which must be accessible by both the import and export NT Process Scheduler for the import and export databases. You must specify the script location in the Process Scheduler configuration file (psprcs.cfg).

Note. We discuss how to specify the script location in the Process Scheduler configuration file in the section titled The Process of Connecting UNIX and NT Directories.

See The Process of Connecting UNIX and NT Directories.

Note. You can define a default script location on the Installation Settings page for all packager scripts.

See Defining Global Payroll Installation Settings.

View Package Script

Select the type of script that you want to view: either export or import scripts for the elements and records. The DataMover script appears.

Click to jump to top of pageClick to jump to parent topicViewing the Status of a Package

Access the Package Status page (click the Package Status link on any page in the Export Non-Rule Package and Create Non-Rule Package components).

View the date and time a package was created, exported, imported, compared, and upgraded.

Click to jump to parent topicImporting, Comparing, and Upgrading Non-Rule Packages

This section provides an overview of comparing and upgrading non-rule packages and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding How to Import, Compare, and Upgrade Non-Rule Packages

After creating and exporting a non-rule package:

  1. Import the non-rule elements.

    To do this, use the Import Non-Rule Elements (GP_NR_PKG_IMPORT) component.

    The system imports the element information only—not the elements themselves.

  2. Compare the elements in the non-rule package with those in the target database to ensure that the non-rule elements are in the target database.

    To do this, use the Compare Non-Rule Package (GP_NR_PKG_COMPARE) component.

    Using this component you:

  3. Import the non-rule records.

    To do this, use the Import Non-Rule Records (GP_NR_PKG_IMPRECS) component.

  4. Upgrade the non-rule package.

    To do this, use the Upgrade Non-Rule Package (GP_NR_PKG_UPGRADE) component.

Note. Global Payroll enables you to specify a default location for the scripts used in the import non-rule package process so that you do not need to enter the same basic information each time you import a package. To do this, access the Installation Settings page for Global Payroll (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, System Settings, Installation Settings) and specify the script location.

Click to jump to top of pageClick to jump to parent topicPages Used to Import, Compare, and Upgrade Non-Rule Packages

Page Name

Definition Name

Navigation

Usage

Import Non-Rule Elements – Package Definition

Compare Non-Rule Package – Package Definition

Import Non-Rule Records – Package Definition

Upgrade Non-Rule Package – Package Definition

GP_NR_PKG_DFN

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Elements, Package Definition

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Compare Non-Rule Package, Package Definition

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Records, Package Definition

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Upgrade Non-Rule Package, Package Definition

  • Name a non-rule package and enter a description and comments.

  • View the name and description of a non-rule package.

Import Non-Rule Elements - Package Records

Import Non-Rule Records – Package Records

GP_NR_PKG_DATA

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Elements, Package Records

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Records, Package Records

  • Import non-rule element information into the target database.

  • Import non-rule records into the target database.

  • View Where clause of SQL statement that the system creates based on selection criteria that you enter on the Package Criteria page.

Upgrade Non-Rule Package – Package Records

GP_NR_PKG_RECS

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Upgrade Non-Rule Package, Package Records

  • View the Where clause of a SQL statement that the system creates based on selection criteria that you enter on the Package Criteria page.

  • Upgrade a non-rule package.

    The compare process must be successfully completed before you can upgrade the package.

Import Non-Rule Elements – Package Elements

Compare Non-Rule Package - Package Elements

Import Non-Rule Records – Package Elements

GP_NR_PKG_ELMTS

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Elements, Package Elements

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Compare Non-Rule Package, Package Elements

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Records, Package Elements

  • Compare data from the source database with the data in the target database.

  • View the contents of the imported package.

Import Non-Rule Elements - View Script

Import Non-Rule Records – View Script

GP_NR_PKG_EXPIMP

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Elements, View Script

  • Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Records, View Script

View export/import scripts.

Package Status

GP_NR_PKG_DTTM_SEC

  • Click Package Status link on Package Definition page.

  • Click Package Status link on Package Records page.

  • Click Package Status link on Package Elements page.

  • Click Package Status link on View Scripts page.

View the date and time a package was created, exported, imported, compared, and upgraded.

Click to jump to top of pageClick to jump to parent topicNaming Non-Rule Packages

Access the Package Definition page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Elements, Package Definition).

Enter or view a description of the package and comments.

Click to jump to top of pageClick to jump to parent topicImporting Non-Rule Element Information

Access the Import Non-Rule Elements - Package Records page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Elements, Package Records).

Script Location

Displays the script location, which must be accessible by both the import and export NT Process Scheduler for the import and export databases. You must specify the script location in the Process Scheduler configuration file (psprcs.cfg).

Note. We discuss how to specify the script location in the Process Scheduler configuration file in the section titled The Process of Connecting UNIX and NT Directories.

See The Process of Connecting UNIX and NT Directories.

Note. You can define a default script location on the Installation Settings page for all packager scripts.

See Defining Global Payroll Installation Settings.

Import Package

If the button is available, click to start the import process.

Click to jump to top of pageClick to jump to parent topicComparing Non-Rule Packages with Elements in a Target Database

Access the Compare Non-Rule Package - Package Elements page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Compare Non-Rule Package, Package Elements).

After completing the first part of the export and import process, log onto the target database and perform the compare process, which verifies that the elements needed by the data you're moving exist in the target database. The compare process checks PIN code and PIN type.

If the elements don't exist or if the element types do not match, the compare process fails and you must create a rule package and move the package to the target database before continuing with the non-rule upgrade.

Element List

This group box shows the results of the comparison of the source and target databases. If the compare process reports failures, correct the errors before continuing with the upgrade process.

Source PIN (source pay item name)

Displays the PIN number of the element from the source database (without 50000000 added).

Element Name

Displays the name of the element in the source database.

PIN Code (pay item name code)

Displays the element's PIN code.

Element Type

Displays the element's type.

Element Owner

Identifies who created the element and who's responsible for maintaining it. Valid values are: Customer, Modified, PS Mnt, PS NonMnt, and PS Secure.

Result

Displays the results of the comparison:

Not Done: You haven't yet run the compare process.

Success: The compare process didn't encounter any errors.

Failure: The compare process failed. The Reason field shows why.

Reason

If the compare process failed, displays one of the following values:

Not Found: Create a new rule package that includes the missing elements and move the package to the target database before continuing with the non-rule upgrade.

Type Cnflt (type conflict): The element types do not match. Most likely this error occurred because you created an element that has the same PIN code, but a different type. Rename your element and create a new rule package that includes the element that is being used.

Target PIN (target pay item name)

Displays the PIN number of the element from the target database (without 50000000 added).

Compare

Click to start the compare process. Once the process is complete, the Element List group box shows, element by element, whether a match was found.

If the process generates no errors, the following message appears: "Compare process completed successfully. You can now import non-rule records from the source database."

Click to jump to top of pageClick to jump to parent topicImporting Non-Rule Records

Access the Import Non-Rule Records - Package Records page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Records, Package Records).

After reviewing the results of the compare process and moving any missing elements into the target database, you can import the non-rule records into the target database.

Click the Record Import button to import the records.

Click to jump to top of pageClick to jump to parent topicUpgrading Non-Rule Packages

Access the Upgrade Non-Rule Package - Package Records page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Upgrade Non-Rule Package, Package Records).

The final step is to renumber the elements on the non-rule data that you've imported so that they have the same PIN numbers as the matching elements in the target database, using the Upgrade Non-Rule Package component.

Upgrade

Click to start the upgrade process. A message tells you when the process is complete.

You cannot compare or upgrade the same package again unless you re-import records and elements into the target database.

Click to jump to top of pageClick to jump to parent topicViewing Non-Rule Package Scripts

Access the View Script page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Import Non-Rule Elements, View Script).

Script Location

Displays the script location, which must be accessible by both the import and export NT Process Scheduler for the import and export databases. You must specify the script location in the Process Scheduler configuration file (psprcs.cfg).

Note. We discuss how to specify the script location in the Process Scheduler configuration file in the section called The Process of Connecting UNIX and NT Directories.

See The Process of Connecting UNIX and NT Directories.

Note. You can define a default script location on the Installation Settings page for all packager scripts.

See Defining Global Payroll Installation Settings.

View Package Script

Select the type of script that you want to view: export or import. The DataMover script appears.

Click to jump to top of pageClick to jump to parent topicViewing the Status of a Package

Access the Package Status page (click the Package Status link on any page in the Import Non-Rule Package, Compare Non-Rule Package, or Upgrade Non-Rule Package components).

View the date and time a package was created, exported, imported, compared, and upgraded.

Click to jump to parent topicCopying Packages

This section discusses how to:

Note. Copying packages alone does not prepare the package for export. You must also run the create rule or non-rule process, which attaches all elements to the package.

Click to jump to top of pageClick to jump to parent topicPages Used to Copy Packages

Page Name

Definition Name

Navigation

Usage

Copy Rule Package

GP_PKG_COPY

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Copy Rule Package, Copy Rule Package

Copy an existing rule package and its selection criteria. This does not copy the element information.

Copy Non-Rule Package

GP_NR_PKG_COPY

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Copy Non-Rule Package, Copy Non-Rule Package

Copy an existing non-rule package and its selection criteria. This does not copy the element information.

Click to jump to top of pageClick to jump to parent topicCopying a Rule Package and Its Selection Criteria

Access the Copy Rule Package page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Copy Rule Package, Copy Rule Package).

Copy To Package ID

Enter up to eight alphanumeric characters for the new package ID.

Copy Package Definition

Click to copy the package.

Click to jump to top of pageClick to jump to parent topicCopying a Non-Rule Package and Its Selection Criteria

Access the Copy Non-Rule Package page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Copy Non-Rule Package, Copy Non-Rule Package).

See the field descriptions for the Copy Rule Package page.

See Also

Copying a Rule Package and Its Selection Criteria

Click to jump to parent topicStamping and Packaging Elements by Version

This section provides an overview of stamping and packaging elements by version and discusses how to:

Click to jump to top of pageClick to jump to parent topicUnderstanding How to Stamp and Package Elements by Version

Versioning is a way to track the elements that were delivered for each release or update and to package elements by version. For example, elements delivered with Global Payroll 8.9 are labeled 8.90.00. Major releases, updates, and hot fixes typically require a new version of all or some previously delivered rules.

You can assign a version number (or label) to multiple elements and use the versioning utilities to package elements by version so that they can be moved to another database.

When you package elements by version, the system pulls the rows associated with the version that you specify. Once the elements are packaged, you can move them across databases, using the same procedures that apply to rule packages; you export the elements, compare them with existing elements in the database, and complete the upgrade.

To package elements by version:

  1. Stamp the appropriate version number(s) on the elements that you want to package using the Version Stamping (GP_STAMPING) component.

  2. Use the Define Criteria By Version page of the Create/Export Rule Package (GP_PKG_CREXP) component to define selection criteria for packaging the elements that you stamped in step 1.

  3. Follow all other instructions presented earlier in this chapter for creating and exporting rule packages.

    See Creating and Exporting Rule Packages.

  4. Follow the instructions presented earlier in this chapter for importing, comparing, and upgrading rule packages.

    See Importing, Comparing, and Upgrading Rule Packages.

See Also

Defining Element Names

Click to jump to top of pageClick to jump to parent topicPages Used to Stamp and Package Elements by Version

Page Name

Definition Name

Navigation

Usage

Version Stamping

GP_STAMPING

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Version Stamping, Version Stamping

Stamp elements with a new version number, and initiate the stamping process.

Define Version Relationships

GP_VER_RULE_DFN

Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Define Version Relationships, Define Version Relationships

View version relationships between element definition records. Displays the Rule Definition record and the corresponding child records.

Click to jump to top of pageClick to jump to parent topicStamping Elements with a New Version Number

Access the Version Stamping page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Version Stamping, Version Stamping).

Use this page to stamp a version on elements that you add or modify or to restamp an existing version of an element.

Used By

You can stamp elements that are applicable to all countries or limit the stamping to one country. If you select All Countries, the Country field defaults to All. If you select Specific Country, specify the country code in the Country field.

Stamp Type

Indicate the elements to stamp:

Blank: Elements that have no existing version.

Existing Version: Elements whose version is what you specified in the Existing Version field.

Blank and Existing Version: Elements with no existing version and elements associated with the version that you specified in the Existing Version field.

Existing Version

Becomes available when you select Existing Version or Blank and Existing Version as the stamp type. Select from any existing version. The system looks for all elements associated with the version that you select.

New Version

Enter up to 16 alphanumeric characters for the name of the new version. The system adds the prefix C_ to the name if this is a customer installation. A package coming from the PeopleSoft system would have version numbers, preceded by P_. When using the User Version functionality provided on the Element Name page, the system adds the prefix INT_ to those versions. The Element name page is documented in another section of this PeopleBook.

See Defining Element Names.

Stamp Global Payroll Records

Click to initiate the stamping process. The system stamps the selected elements with the new version after clearing the existing Version entries, if any.

Note. Versioning occurs only in element definition records (records with a primary key of PIN_NUM).

Click to jump to top of pageClick to jump to parent topicDefining Version Relationships

Access the Define Version Relationships page (Set Up HRMS, Product Related, Global Payroll & Absence Mgmt, Elements, Manage Global Payroll Packages, Define Version Relationships, Define Version Relationships).

Rule Definition Record

Displays the name of the parent record that contains the field GP_VERSION.

Child Record

Displays the child record whose data when changed causes GP_VERSION to be cleared from the corresponding row in parent record. (The name of the parent record is displayed here if there are no children.)

Export Record

Selected if the child record is to be included in the version package for export and import.

For example, when an accumulator element changes, only data in GP_ACCUMULATOR and GP_ACM_MBR needs to be moved. The child record, GP_ACM_MBR_VW, does not need to be exported and imported because it is used only to associate accumulators with earnings and deductions in the Earnings and Deductions components.

Rule Record in Buffer

Applicable to accumulators only.

Selected if the record that has GP_VERSION is in the component buffer (for example, when an earning accumulator is changed, and needs GP_VERSION cleared). Record GP_ACCUMULATOR is not in the component buffer. Select this check box to prevent the system from looking for the record in RECNAME_RULE_DFN in the component buffer and issue a SQLEXEC instead. The child record that exists in the earnings component is GP_ACM_MBR_VW.

PIN Number Field

Displays the name of the PIN_NUM field on the record that needs GP_VERSION cleared. Using the earlier example, the earning accumulator PIN_NUM is contained as PIN_MBR_NUM in the earning component buffer and PIN_NUM itself contains the earning PIN. So, when updating data for GP_ACCUMULATOR, data for PIN_MBR_NUM value and not PIN_NUM value from the earnings component must be updated.