/
SQL error during Timecard Distribution by Pay Group


SQL error during Timecard Distribution by Pay Group

Issue/Symptom/Question

While running Timecard Distribution by Pay Group, the following error was received:

Error message:

An error has been detected in a SQL Statement.

PRP054 -20002 ORA - 20002: Invalid Cost Type X for WO Service Type XXXX XXX

ORA-06512:at "PENTA.PK_WO", line XXXX
ORA-06512:at "PENTA.PK_WO", line XXXX

ORA-06512:at line X

create_equipment_timecards - po_wo.p_getChrgOuAcct

Applies To

Penta for Windows

Payroll > Centralized Payroll Check Processing > Timecard Distribution by Pay Group

Work Order Service Type Setup:

Service Management > Setup > Service Types

Resolution/Fix/Answer

The error message "PRP054 -20002 ORA - 20002: Invalid Cost Type X for WO Service Type XXXX XXX" indicates there is a missing Cost Type in the specified WO Service Type. The following steps should resolve your error:

  1. Navigate to the Service Management > Setup > Service Types


  2. Query the Service Type in the error message


  3. Navigate to the Cost Type tab, insert a new row and add the necessary information
  4. Exit the window to execute the addition of the new record

Once the information is updated, you should be able to continue with the payroll distribution process. 




Related content

PRP021 Error during Centralized Timecard Distribution by Pay Group
PRP021 Error during Centralized Timecard Distribution by Pay Group
More like this
PRP057 Function get_job_acct() error during Timecard Distribution
PRP057 Function get_job_acct() error during Timecard Distribution
More like this
PRP054 Function create_equipment_timecards() during Timecard Distribution
PRP054 Function create_equipment_timecards() during Timecard Distribution
More like this
Receiving error when distributing timecards with Union Reciprocity setup
Receiving error when distributing timecards with Union Reciprocity setup
More like this
PRP048 SQL error during timecard distribution
PRP048 SQL error during timecard distribution
More like this
No timecards exist for pay group error running Gross to Net process
No timecards exist for pay group error running Gross to Net process
More like this