Deploy Scheduled Script

After successfully adding all the saved searches to the Configuration - PayPack screen, navigate to create and schedule the Map/Reduce script. To do this, follow these steps:

  • Click Customization → Scripting → Scripts.

  • Filter the scripts to display only MapReduce scripts. You can achieve this by clicking Filters → Type and selecting Map/Reduce.

  • In the search bar, enter PayPack Auto Bill Customer Payments MR and click the View button.NetSuite Scripts.png

  • Once you've accessed the script details page, you can deploy the script by clicking the Deploy Script button.
    Deploy Script - PayPack Auto Bill Customer Payments MR.png

  • Clicking "Deploy Script" will take you to the Script Deployment page. This page allows you to schedule the script execution based on your requirements. You will find a parameter named "Stripe Account Id." This parameter requires the internal ID of the relevant "PayPack Stripe Accounts Configuration" custom record in NetSuite. By specifying the correct ID, you can ensure the script deployment runs for the intended Stripe account.

     


Configure Script Deployment

  • Navigate to Customization → Scripting → Script Deployments and select PayPack Auto Bill Customer Payments Script Deployment.

    • Settings/Configuration for the first run:
      1. Click on edit on this script deployment PayPack Auto Bill Customer Payments MR.
      2. Users having single Stripe account can ignore entering the Stripe Account ID parameter.Script Deployment - Multiple Stripe Account.png
      3. Hover on the save button and click on “Save & Execute” (optional).
        NetSuite Scripts - Save and Execute.png
    • Setting/Configuration for the next runs:
      1. Click on edit on this script deployment PayPack Auto Bill Customer Payments MR.
      2. Navigate to the Schedule subtab and select the type of event.
      3. Enter the Start Date for the event.
      4. Select how often the event should be scheduled.
      5. Enter the End Date or Check No End Date checkbox.
      6. Click on Save.
        Schedule Script Deployment - PayPack Auto-Bill Customer Payments MR.png
Was this article helpful?
0 out of 0 found this helpful

More resources