Join Slack
Powered by
I want to write a schedule script that runs every ...
# suitescript
h
Hardick Pandya
03/17/2021, 10:18 PM
I want to write a schedule script that runs every 15 mins and updates the memo field with the current time of a single sales order test record.
b
battk
03/17/2021, 10:51 PM
you will want to start with a scheduled script that updates a single sales order record
👍 1
battk
03/17/2021, 10:54 PM
Create your Script Record
, being sure to implement the
scheduled script entry point
battk
03/17/2021, 10:56 PM
You will be using the
N/record module
in your entry point to update your record, preferably using
record.submitFields
battk
03/17/2021, 10:57 PM
you can start with a hardcoded string for your memo, but you will eventually need to use one of the
Date
related constructors to get the current date/time
battk
03/17/2021, 10:59 PM
Schedule a Recurring Scheduled Script
on the deployment of your scheduled script to get it to run on your 15 minute schedule
2
Views
Open in Slack
Previous
Next