Creating a Script Deployment for the Auto-charge Credit Card Script

If you want the Auto-charge Credit Card script to run according to different schedules for different parameters, you can create multiple script deployments.

To create deployments for the Auto-charge Credit Card script:

  1. Go to Customization > Scripting > Scripts.

  2. Click the Deployments link of the Auto-charge Credit Card MR script with the ID customscript_psgacc_mr_acc.

  3. In the Script Deployments list that shows the deployments available for the script, click New Deployment.

  4. In the Title field of the Script Deployment page, enter a descriptive name for the deployment. For example, Auto-charge Credit Card for New York Subsidiary.

  5. If you do not enter an ID in the ID field, the system will create an ID after you save the deployment record.

  6. In the Status field, select one of the following:

    • Not Scheduled – If you select Not Scheduled, the script will run when you click Save and Execute.

    • Scheduled – If you select Scheduled, the script will run according to the settings on the Schedule subtab.

  7. Ensure that the Deployed box is checked, otherwise the script will not run.

  8. In the Schedule subtab, define the schedule for executing the script:

    1. Choose Single Event, Daily Event, Weekly Event, Monthly Event, or Yearly Event. By default, the schedule is set to Single Event.

    2. In the Start Date field, select or enter a date that the scheduler for the script will begin. Note that before the script will execute, the Status field must be set to Scheduled and the Deployed box must be checked. Today’s date is set as the default.

    3. (Optional) In the Start Time field, select the time the script will be placed into the NetSuite scheduling queue. This time is not necessarily the time the script will execute. It is only the time the script will be placed into the queue.

    4. (Optional) In the Repeat field, select how often you want this script to be placed into the NetSuite scheduling queue. On the day or days the script is scheduled to go into the queue, it will go into the queue at the specified Start Time and repeat every n hours until midnight.

    5. (Optional) If the script schedule is not set to Single Event, the following fields become available:

      • End By – Select or enter the last date that the script will run.

      • No End Date – Check this box if you do not want to set an end date.

  9. On the Parameters subtab, select values for optional fields as needed.

    • In the Subsidiary field:

      • If you are using a OneWorld account, select a subsidiary if you want to limit the search to sales orders under one subsidiary. To process sales orders for all subsidiaries, leave the Subsidiary field blank.

      • If you are using a non-OneWorld account, you must leave the Subsidiary field blank.

    • (Optional) In the Customer field, select a customer. If no customer is selected, sales orders of all customers will be processed.

    • (Optional) In the Credit Card Processor field, select a credit card processor. Only payment processing profiles that have been set up in your account will be available for selection.

    • (Optional) In the Sales Order Bill Date field, select or enter the date to narrow the search. The value in this field refers to the value in the sales order’s Date field, not the creation date.

    • (Optional) In the Cash Sale Bill Date field, select or enter the date you want to display on the cash sale record. If no date is entered, today’s date is used. The system uses Pacific Time (UTC 8).

    • In the Report Recipient field, select the employee to whom the system will send error notifications. Only active employees are available for selection.

    • In the Report Sender field, select the employee whose email address the system will use as the sender of the error notifications. Only active employees are available for selection.

    • In the Sales Order Search for Billing field, the Sales Orders for Billing saved search is selected by default. You can also create a customized saved search for any changes in the payment methods and then select the customized saved search for redeployment.

  10. Click Save.

To see script deployments of the Auto-charge Credit Card script:

  1. Go to Customization > Scripting > Scripts.

  2. Click the View link of the Auto-charge Credit Card MR script (ID customscript_psgacc_mr_acc).

  3. On the Script page, click the Deployments subtab. The list includes a Title column where the names of the deployments are shown.

Related Topics

Auto-charge Credit Card
Auto-charge Credit Card SuiteApp Availability
Installing the Auto-charge Credit Card SuiteApp

General Notices