NetLoan - Create and Schedule an Automated Job Deployment

Overview

Use the Manage Automated Jobs page to create a new automated job deployment, set its run schedule, test it, and turn it on. This applies whenever you want a NetLoan process like billing, journals, schedule generation, or fee generation to run on its own instead of being triggered by hand. The page creates and configures deployments, but run frequency and time are set on the underlying NetSuite script deployment record through the Advanced Edit link.

Step-by-Step

The page title reads Automate Job Deployments. It lists every existing deployment of the NetLoan - Automate Jobs MR script.

Create the deployment

  • Click New Deployment.
  • Enter a unique Deployment ID in the format customdeploy_da_auto_<process>, e.g. customdeploy_da_auto_billing. Click Create.
  • The new deployment is a copy of an existing Automate Jobs deployment and inherits its parameters and schedule. Review and replace those in the following steps.

Step 1 of 2: Deployment Settings

  • Enter a descriptive Title, e.g. "Automatic Billing – Term Loans". This is the name shown on the list page.
  • Leave Status set to Not Scheduled until testing is done.
  • Check Deployed.
  • Set Log Level. Audit is a reasonable production setting. Use Debug when troubleshooting.
  • Optionally set Concurrency Limit, Priority, Submit All Stages At Once, Yield After Minutes, and Buffer Size. These are applied to the target process script's deployments each time the job runs. Leave them alone unless you have a reason to change them.
  • Click Next.

Step 2 of 2: Parameters

  • In the Script ID parameter, select the NetLoan process this deployment should run. Options include Automatic Billing, Automatic Journals, Automatic Schedules, Automatic Commencement, Automatic Fee Generation, Automatic Payment Application, Automatic Collections, Statement Generation, Calculate Interest, Escrow Billing, and Funding Requests.
  • Select the Saved Search that limits which loans are processed. Required for most processes. Generate Fees, Collections, Payment Processing, Funding Requests, Escrow Billing, Evergreen Extension, and Summarize Lines run without one.
  • For period-based processes (Journals, Reclass, Billing, Calculate Interest, Statements), set Relative Accounting Period to Current, Previous, First Open, or Next, or enter a Date offset instead. Check Run All Months Up To And Including if the job should catch up earlier unprocessed periods.
  • Set any process-specific options: statement action and template for Statements, payment type and date for Fee Generation and Payment Application, Allow Concurrent Processing, Override Batch Size, or Next Job to chain another deployment after this one.
  • Click Save. The list page reloads with the banner Deployment saved successfully.

Set the schedule

  • On the list page, click Advanced Edit on the new deployment's row. The NetSuite script deployment record opens in a new tab.
  • On the Schedule subtab, set the frequency (Daily, Weekly, Monthly, or a repeat interval), start time, and any start or end dates. 15 minutes is the shortest repeat interval. Schedule as infrequently as the process allows to limit NetSuite processing load.
  • Click Save on the deployment record. Return to the Manage Automated Jobs tab and refresh. The Recurrence column shows the schedule, e.g. "Daily at 2:00 AM".

Test and activate

  • Click Execute Now on the deployment's row and confirm. The banner Deployment executed successfully. means the job was submitted.
  • Click View Log to see today's execution log for the process. Click Refresh while the job runs. Confirm the expected records were created or updated on a few of the affected loans.
  • Click Enable on the row and confirm. The Status column changes to Active and the deployment runs on the schedule you set.

Delete a deployment

  • The Manage Automated Jobs page has no delete action. To stop a job without removing it, click Disable on its row.
  • To remove it, click Advanced Edit on the deployment's row to open the NetSuite script deployment record.
  • Choose Actions > Delete and confirm. Return to the Manage Automated Jobs tab and refresh. The deployment no longer appears.

Considerations

  • Only schedule NetLoan - Automate Jobs MR deployments. Bundle updates delete and recreate the deployments on every other NetLoan script. A job copied directly from NetLoan - Generate Fees MR, for instance, is wiped on the next update. Deployments created from this page survive updates.
  • The new deployment starts as a copy of an existing one, including parameters and schedule. Review every field in Step 2 and on the Schedule subtab.
  • Frequency lives on the NetSuite deployment record behind Advanced Edit. The page displays it but cannot set it. The Recurrence column shows the time in your user time zone (standard offset), matching the Schedule subtab.
  • Execute Now confirms submission, not completion. Use View Log (today's entries only) or check the loans to verify results. A deployment left in Testing status shows as Inactive on the list.

Related Articles

Record Structure

Automate Job Deployment (Quick Edit)

Field NameField TypeDescriptionExampleField ID
Deployment IDTextUnique script ID for the deployment. Entered once on the New Deployment page.customdeploy_da_auto_billingscriptid
TitleTextName shown in the Name column on the list page.Automatic Billing – Term Loanstitle
StatusSelect (inline)Scheduled runs on the schedule. Not Scheduled and Testing do not run and display as Inactive.Scheduledstatus
DeployedCheckboxMust be checked for the deployment to run.Checkedisdeployed
Log LevelSelect (inline)Detail written to the execution log: Debug, Audit, Error, Emergency, or Quiet (Off).Auditloglevel
Concurrency LimitIntegerNumber of parallel queues the target process may use. Applied to the target script's deployments at run time.2concurrencylimit
PrioritySelect (inline)High, Standard, or Low. Applied to the target script's deployments at run time.Standardpriority
Script IDList/RecordThe NetLoan process this deployment runs.NetLoan - Billing MRcustscript_da_automated_job_script_id
Saved SearchList/RecordLimits which loans the process touches. Required for most processes.Term Loans – Activecustscript_da_automated_job_search
Relative Accounting PeriodSelect (inline)Current, Previous, First Open, or Next. Used by period-based processes.Previouscustscript_da_automated_job_period
DateIntegerDay offset from today used in place of an accounting period.-1custscript_da_automated_job_date
Run All Months Up To And IncludingCheckboxProcesses every open period through the selected one.Checkedcustscript_da_automated_job_run_up_to
Allow Concurrent ProcessingCheckboxLets this job run while another NetLoan process is active. The global setting does not apply to automated jobs.Uncheckedcustscript_da_automated_job_concrt_proc
Override Batch SizeIntegerReplaces the default batch threshold for high-volume accounts.10000custscript_da_automated_job_batch_size
Next JobTextDeployment ID of another automated job to run when this one finishes.customdeploy_da_auto_journalscustscript_da_automated_job_next_job_id

Was this article helpful?