Customizing ERPNext by adding additional script

Hi, I am new to Frappe and ERPNext.

I would like to ask if it’s possible to connect additional scripts into ERPNext in the middle of a process without making big changes on the module itself.

For example, I would like to make changes in the Payroll module and I want to calculate the deductions in a separate page.


You can user custom scripts or server side scripts.
Please refer to documentations.

Custom Scripts for processing on client (browser side):

Server scripts for, you know, the server side:

Before jumping head first into these, also best to understand the framework and how these are executed:

Thanks for the reply.

I will be studying the documentation.