Processing Payment Scripts Using SuiteScript 2.x
The following payment scripts are processed using SuiteScript 2.0. Also, old scripts are replaced with new scripts:
Record Names or Script Names |
Old Scripts (SuiteScript 1.0) |
New Scripts (SuiteScript 2.0) |
Batch Approval Notification-WorkFlow |
customscript_ |
customscript_ |
Batch Rejection Notification-WorkFlow |
customscript_ |
customscript_ |
EP Customer Refund Suitelet |
customscript_ |
customscript_ |
EP Exchange Rates Loader |
customscript_ |
customscript_ |
Electronic Payments Preferences |
customscript_2663_preference_s |
customscript_ |
Electronic Payments Preference CS |
customscript_ep_preference_cs |
customscript_ |
Electronic Payments Preference UE |
customscript_ep_preference_ue |
customscript_ |
EP Bundle Installation |
customscript_2663_bundle_install |
customscript_ |
EP Admin Data Lookup |
customscript_ |
customscript_ |
EP Admin Data Submit |
customscript_ |
customscript_ |
Generic Direct Debit Selection Suitelet |
customscript_ |
customscript_ |
Generic File Format Updater |
customscript_2663_file_format_ue |
customscript_15486_file_format_cs |
Generic File Format Validator |
customscript_2663_file_format_cs |
customscript_ |
Generic Field Validator Processing |
customscript_2663_field_validator_s |
customscript_ |
Generic Payment Aggregation Validation |
customscript_ |
customscript_ |
Generic Payments Configuration Loader |
customscript_ |
customscript_ |
Generic Payment Information Hider |
customscript_2663_payment_info_ue |
customscript_ |
Generic Payment Jumplet |
customscript_2663_jumplet_s |
customscript_ |
Generic Pay Processing & File Creation Suitelet |
customscript_ |
customscript_ |
Global EFT Payment Selection Suitelet |
customscript_ |
customscript_ |
Payment Aggregation UE |
customscript_7716_pay_aggregation |
customscript_ |
Payment Batch List |
customscript_ |
customscript_ |
Payment Batch Selection Main Suitelet |
customscript_ |
customscript_ |
Payment Batch Processing Portlet |
Payment Batch Processing Portlet |
EP Payment Batch Processing Portlet SS2 |
Payment File Administration UE |
customscript_ |
customscript_ |
Payment File Administration CS |
customscript_ |
customscript_ |
Payment File Format UE |
customscript_2663_file_format_ue |
customscript_ |
Payment File Format CS |
customscript_2663_file_format_cs |
customscript_15486_file_format_cs |
Payment Portal AP Suitelet |
customscript_ |
customscript_ |
Positive Pay Suitelet |
customscript_ |
customscript_ |
Payment Schedule UE |
customscript_ |
customscript_ |
Payment Schedule CS |
customscript_ |
customscript_ |
Payment Reversals |
customscript_ |
customscript_ |
If you have any customizations in the SuiteScript 1.0 records, then these customizations are not saved in the SuiteScript 2.0 records automatically. Therefore, you must add your SuiteScript 1.0 record customizations to all the refactored SuiteScript 2.0 records manually.
To access the new SuiteScript 2.0 script records, you must setup the View level permission for Allowed Country Formats By Edition in your custom record. If the View level permission is not set, then the error error.SuiteScriptError -INSUFFICIENT_PERMISSION is displayed.
You can use the SuiteScript 1.0 Suitelets if you are facing problems with the SuiteScript 2.0 Suitelets from the Suitelet's script deployment record.
To use SuiteScript 1.0 Suitelets from the Script Deployment record:
-
Go to Customization > Scripting > Script Deployments.
-
Click View next to the required SuiteScript 1.0 Suitelet script deployment.
-
Click the URL link on the Script Deployment record to use the SuiteScript 1.0 Suitelet.
SuiteScript Permission for Payment Reversal Custom EFT Role
You must enable the reversal process permissions to reverse the Payment file. A permission SuiteScript with View level can be selected in the Custom EFT role. If you have an existing custom role created by customizing the Custom EFT role, then you must add this permission manually. Otherwise, opening the Payment Reversals page without updating the custom role permission can lead to errors in certain scenarios.
To manually add the SuiteScript permission to the Custom EFT role:
-
Go to Set Up > User/Roles > Manage Roles.
-
Click Edit next to your custom role.
-
In the Permissions tab, select the Setup subtab.
-
Select SuiteScript from the list in the Permission column.
-
Select the permission level as View from the list in the Level column.
-
Click Save.
Not updating the custom role leads to errors when you open the Payment Reversals page in certain scenarios. If you create a new custom role by customizing the Custom EFT role, then the SuiteScript permission will be added automatically.