Delete Deprecated Scripts
Overview
As we release updates to Infinet Cloud Payroll on a regular basis, often scripts will be replaced with newer versions. Unfortunately there are scenarios where these old (deprecated) scripts are not correctly removed by NetSuite’s bundle update process. This issue, usually presents itself as “infinet” is not defined error as per the screenshot below.
If you receive the above error or have been linked to this article by Support then you will need to delete the scripts manually. Please follow the instructions below.
How to delete a script
Log into NetSuite as an Administrator or Payroll Administrator - Unlocked.
Go to the Scripts page, via:
The menu, select Customization > Scripts > Scripts
Global search, enter Page: Scripts and select the result
Expand the FILTERS section and set everything as per the screenshot below.
Using the browser’s find command (ctrl + F, or cmd + F), search for a Script ID (e.g.
customscript_pr_cs_payslip_approval
).Click the Edit link for the relative Script
From the Actions menu, select Delete
Confirm deletion by clicking OK in the popup.
Repeat for every script listed below
List of Scripts to delete
The following Scripts should not exist in your account, if they do then please use the instructions above to delete.
customscript_pr_cs_payslip_approval
customscript_payroll_payslip_approval
customscript_pr_cs_one_off
customscript_pr_cs_superfund
customscript_pr_cs_recalculate_payslip
customscript_pr_sch_rollback
customscript_pr_sl_roll_back
customscript_sl_pr_employeeassistant
customscript_sl_getlicense
customscript_pr_sl_one_off
customscript_pr_sl_employee_leaveimport
customscript_pr_help
customscript_pr_ss_vendor
customscript_pr_ss_employee_buttons
customscript_pr_ss_basic_time_sheet
customscript_pr_ss_emp_bank_account_all
customscript_pr_cs_rollback
customscript_pr_cs_payslip
customscript_pr_cs_popup
customscript_pr_sl_popup
customscript_pr_ss_employee_super
customscript_pr_ss_help
customscript_pr_payrun_user_event
customscript_payroll_payslip_user_event
customscript_pr_ss_leave_history
customscript_pr_sl_recalculate_payslip