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
- Select “nm PayPack Payout Process Script” for Scheduled Script
- Select “nm PayPack Payout Process ScriptOnDemand” for Regular/ OnDemand Script
Scheduled Script
Settings/Configuration for the first run:
- Click on edit of this script “nm PayPack Payout Process Script”
- Navigate to the subtab parameters
- 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)
- Hover on save button and click on “Save & Execute”
Epoch Converter: https://www.epochconverter.com/
For multiple PayPack configurations, insert the corresponding Stripe Account Id under the Parameters tab for each script deployment.
Setting/Configuration for the next runs:
- Click on edit of this script “customdeploy_nm_pp_payout_proc_ns_scrp”
- Navigate to the subtab “Schedule” and select the type of event
- Single Event
- Daily Event
- Monthly Event
- Weekly event
- Yearly Event
- Enter the Start Date for the event
- Select how often the event should be scheduled
- Enter End Date or Check No End Date checkbox
- Click on Save