Related Language Integrity
The following table describes the audit queries and resolutions for this area:
| Query | Description | Resolution |
|---|---|---|
|
SYSLANG-01 |
Base language records that are found in the PSRECDEFNLANG table. |
Run the following SQL:
|
|
SYSLANG-02 |
Base language fields that are found in the PSDBFIELDLANG table. |
Check the value of LANGUAGE_CD on PSOPTIONS; this is the base language. Entries with this language code are found in PSDBFIELDLANG. Base language entries should only be in PSDBFIELD. After you establish that the base language entries in PSDBFIELD are correct, you delete them from PSDBFIELDLANG as follows:
|
|
SYSLANG-03 |
Foreign language records that are found in PSRECDEFNLANG table without related base records from PSRECDEFN. |
Run the following SQL:
|
|
SYSLANG-04 |
Foreign Language fields that are found in the PSDBFIELDLANG table without related Base Fields from PSDBFIELD. |
Run the following SQL:
|
|
SYSLANG-05 |
Foreign Language translate fields that are found in the XLATTABLE table without related base language translate fields. |
Either delete the offending entries using SQL, or use Application Designer to add the equivalent entries in the base language of the database. To delete the offending entries using your platform query tool, first, perform a SELECT to verify the rows indicated in the report. Then, delete the selected rows.
|
|
SYSLANG-07 |
Related Language records which are not valid records. |
In Application Designer, delete the specified Related Language Records. Or, use your platform query tool to delete the related language reference for each record that is listed. First, perform a SELECT to verify the rows indicated in the report. Then, update the selected rows.
|
|
SYSLANG-08 |
The displayed Related Language Records are effective-dated but do not have an EFFDT field defined. |
In Application Designer, add EFFDT to the specified related language table. |
|
SYSLANG-09 |
The displayed Related Language records point to another Related Language record. |
In Application Designer, delete the related language reference for each record that is listed. Or, use your platform query tool to delete the related language reference for each record that is listed. First, perform a SELECT to verify the rows indicated in the report. Then, update the selected rows.
|
|
SYSLANG-13 |
Identify related language records that have more than one base record defined. |
In Application Designer, remove the related language table link to one of the base records. |
|
SYSLANG-15 |
The displayed Related Language fields in the PSDBFLDLABLLANG table are orphaned. |
Using the platform query tool, first, perform a SELECT to verify the rows indicated in the report. Then, delete the selected rows. This is sample SQL. Adjust accordingly for your platform:
|
|
SYSLANG-16 |
Invalid language code found in PSOPRDEFN. |
Using your SQL query tool, issue a SELECT to verify the rows indicated in the report. Update the affected rows as shown in the following sample SQL.
|