HR507 - Supervisor Conversion
Run HR507 (Supervisor Conversion) to load supervisor data from a non-Lawson
system into HR07.1 (Supervisor) in the Lawson Human Resources system. This
program takes fields from a comma-separated value (CSV) file and updates the
associated supervisor files as if the supervisor was added on HR07.1.
Use the Add function in the CSV file only for initial supervisor creation.
Use the Change function in the CSV file to update existing supervisor data
with data from a non-Lawson system.
The program loads all supervisor fields found in HR07.1 and performs all the
edits of HR07.1. If the record has errors, an error message prints on the
report.
Planning considerations:
1. Decide if you will convert reports to data. Data in this field can be used
for hierarchical structure reporting relationships.
Supervisor records are processed and printed in the order they are found in
the CSV file. If converting reports to data, the records should be sorted in
hierarchical order (e.g. The CEO supervisor code should be converted before
the SRVP supervisor code if SRVP reports to CEO).
2. Decide if you will attach employees to converted supervisor data.
If supervisor codes are converted before converting employees, the process
may be a two step process:
- Run HR507 to add supervisor codes without employee numbers.
- After converting employee records, run HR507 again sending change records
which include employee numbers.
3. Decide if you want supervisor data changes to be logged to history. This
history can be used in ad hoc reports.
HR507 (Supervisor Conversion) updates the following files:
HRSUPER
HRHISTORY (If fields are logged to history)
Before you run HR507:
- Be sure company information is defined in HR00.1 (Company).
- Be sure employees are defined in HR11.1 (Employee).
- Be sure data item attributes are defined in HR10.1 (Data Item Attributes).
In addition, supervisor fields that should be logged to history need to be
flagged in HR10.1.
- Be sure supervisor user codes (S1 - S5) are defined in HR04.1 (HR Codes
Setup).
Workfile Name:
SUPLOADCSV
To verify data:
Run HR207 (Supervisor Listing).
Updated Files
CKPOINT -
HRSUPER -
Referenced Files
EMPLOYEE -
PASCRTY -
PATHFIND -
PCODES -
PRSYSTEM -
INVOKED Programs
HRFN
HRLO
IFOB
|