Deploy Scheduled Script

After successfully adding all the saved searches to the Configuration - PayPack screen, navigate to create and schedule the MapReduce 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 Customer Installment Plan MR and click the View button.

  • Once you've accessed the script details page, you can deploy the script by clicking the Deploy Script button.
    PayPack Customer Installment Plan.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 Stripe Installment Plan MR.

    • Settings/Configuration for the first run:
      1. Click on edit on this script deployment PayPack Stripe Installment Plan MR.
      2. Users having single Stripe account can ignore entering the Stripe Account ID parameter.PayPack Customer Installment Plan - 2.png
         
      3. Hover on the save button and click on “Save & Execute” (optional).
        Script - Save & Execute.png
    • Setting/Configuration for the next runs:
      1. Click on edit on this script deployment PayPack Stripe Installment Plan 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 PayPack Customer Installment Plan MR script deployment.png
Was this article helpful?
0 out of 0 found this helpful

More resources