PeopleCode Integrity
The following table describes the audit queries and resolutions for this area:
| Query | Description | Resolution |
|---|---|---|
|
PEOPLECODE-1 |
The PeopleCode Name table contains a program name that does not exist in PcmProgram table |
Run the following SQL:
|
|
PEOPLECODE-2 |
The PeopleCode Program table contains a program name that does not exist in the PcmName table. |
Run the following SQL:
|
|
PEOPLECODE-3 |
The PeopleCode Program table name count does not match the record count in PcmName table. |
Run Application Designer in two-tier mode in order to compile all PeopleCode. Select the Compile all and Save all PeopleCode option. See PeopleCode Developer’s Guide: Finding References to Application Packages and Classes |
|
PEOPLECODE-4 |
PeopleCode contains invalid FILELAYOUT References. |
Open the PeopleCode program in Application Designer and correct the invalid reference. |
|
PEOPLECODE-5 |
PeopleCode reference to an invalid record or field. |
Open the PeopleCode program in Application Designer and correct the invalid reference. |
|
PEOPLECODE-6 |
PeopleCode reference to an invalid field. |
Open the PeopleCode program in Application Designer and correct the invalid field name. |
|
PEOPLECODE-7 |
There is orphaned Application Package PeopleCode. |
Run the following SQL:
|
|
PEOPLECODE-8 |
There is orphaned Application Package PeopleCode. |
Run the following SQL:
|
|
PEOPLECODE-9 |
There is orphaned Application Package PeopleCode. |
For Microsoft SQL Server, run the following SQL:
For all other DB platforms
|
|
PEOPLECODE-10 |
Lists PeopleCode programs that contain directives and that have not been compiled after a PeopleTools upgrade. |
Compile and save all directive PeopleCode in Application Designer when upgrading from PT8.53 or later. |