***Note: For running this module Nodejs must be installed in your system, if it is not already install then please install it and check the version in cmd using this command {using this link to download -> https://nodejs.org/en/download} If you are woking for the first time in Nodejs ->then Run the nodeInitial.bat {double Click on nodeInitial.bat} PATH -> C:\inetpub\wwwroot\PrayagPolymersNode\Prayag_server\nodeInitial.bat *********************************************************************************************************************************************************************** To configure this module as External module follow the below Steps: =================================================================== 1> First keep the published folder in this path -> C:\inetpub\wwwroot 2>Go to file path C:\inetpub\wwwroot\PrayagPolymersNode\Prayag_server\.env and change SQL Database Credentials with your DB credentials => DB_USER="" => DB_SERVER="" => DB_PASSWORD= "" 3> Run the _prj_start.bat {double Click on prj_start.bat} 4> To configure the module Trigger 1 (on leave) a) Go to Financials > Transactions > Purchases > Job Work Challan IN> Settings > Views> Select specific view >External Functions [Job Work Out Ref No] Header field. i) On Event => onLeave ii) Module Type => URL iii) URL => /PrayagPolymersNode/scripts/jobwork_Consumption/jobwork_ConsumptionOnLeave.js iv) Function Name => jobwork_consumption_onLeave v) Then click on Insert and Update. 5> To configure the module Trigger 2 (Before Save) a) Go to Financials > Transactions > Purchases > Job Work Challan IN> Settings > External Functions i) On Event => before save ii) Module Type => URL iii) URL => /PrayagPolymersNode/scripts/jobwork_Consumption/jobwork_ConsumptionBeforeSave.js iv) Function Name => jobwork_consumption_BeforeSave v) Then click on Insert and Update. 6> To configure the module Trigger 3 (After Save) a) Go to Financials > Transactions > Purchases > Job Work Challan IN> Settings > External Functions i) On Event => after save ii) Module Type => URL iii) URL => /PrayagPolymersNode/scripts/jobwork_Consumption/jobwork_ConsumptionAfterSave.js iv) Function Name => jobwork_consumption_AfterSave v) Then click on Insert and Update. **Note: In this module 7021(http) and 7022(https) ports are used for this module