Deploy Scheduled Script

Two custom scripts have been developed, addressing distinct workflow needs to improve efficiency and streamline operations.

Scheduled Script
Script integrates multiple NetSuite records and schedules automated execution at specified intervals, removing manual work.

Script Deployment

Navigate to Customization → Scripting → Script Deployments 

  1. Select  “nm PayPack Payout Process Script” for Scheduled Script
  2. Select  “nm PayPack Payout Process ScriptOnDemand” for  Regular/ OnDemand Script

Scheduled Script

Settings/Configuration for the first run:

  1. Click on edit of this script “nm PayPack Payout Process Script”
  2. Navigate to the subtab parameters
  3. Enter the payout start date in epoch format. Use an epoch converter to change the date to epoch format (The day from which one would like to get the payout records from Stripe)
  4. Hover on save button and click on “Save & Execute”

Epoch Converter: https://www.epochconverter.com/

Epoch Converter Tool.png
Script Deployment - PayPack Payout Process Script.png

For multiple PayPack configurations, insert the corresponding Stripe Account Id under the Parameters tab for each script deployment.

NetSuite Script Deployment Parameters for Stripe Accounts.png

Save and Execute NetSuite Script Deployment.png

 

Setting/Configuration for the next runs:

  1. Click on edit of this script “customdeploy_nm_pp_payout_proc_ns_scrp”
  2. Navigate to the subtab “Schedule” and select the type of event
    • Single Event
    • Daily Event
    • Monthly Event
    • Weekly event
    • Yearly Event
  3. Enter the Start Date for the event
  4. Select how often the event should be scheduled
  5. Enter End Date or Check No End Date checkbox
  6. Click on Save
Schedule Script Deployment.png
Was this article helpful?
0 out of 0 found this helpful

More resources