2) Script Deployment
Table of Contents
NBP Exchange Rate Integration
Vendor Whitelisting
Upon installation, the scripts for the on-demand and scheduled whitelisting must be properly deployed to ensure that the feature works as expected. Below are the steps administrators need to take to deploy the vendor whitelisting feature fully:
Deploy/Undeploy On-Demand Whitelisting on Vendor
To deploy the On-Demand Whitelisting on the Vendor Record:
Go to Customization > Scripting > Scripts.
Search for a script named [STA] UE PL Vendor Whitelisting (id: customscript_ue_sta_vendorwhitelisting)
Click the View link next to the script.
Navigate to the Deployment subtab and view the deployment for the Vendor record.
Edit the deployment record and make the necessary adjustments:
Deployed - Check the box to deploy the script.
Status - Select the Released status as default.
Execute As Role - Select the [STA-PL] Admin Role as default.
Roles - Check the Select All box.
Employees - Check the Select All box.
Click the Save button.
Go to Customization > Scripting > Scripts.
Search for a script named [STA] SL PL Vendor Whitelisting (id: customscript_sl_pl_vendorwhitelisting)
Click the View link next to the script.
Navigate to the Deployment subtab and view the deployment record.
Edit the deployment record and make the necessary adjustments:
Deployed - Check the box to deploy the script.
Status - Select the Released status as default.
Execute As Role - Select the [STA-PL] Admin Role as default.
Roles - Check the Select All box.
Employees - Check the Select All box.
Click the Save button.
Deploy/Undeploy On-Demand Whitelisting on Transaction
To deploy the Scheduled Whitelisting on the vendor record:
Go to Customization > Scripting > Scripts.
Search for a script named [STA] UE PL Vendor Whitelisting (id: customscript_ue_sta_vendorwhitelisting)
Click the View link next to the script.
Navigate to the Deployment subtab and view the deployment for the Vendor Bill record.
Edit the deployment record and make the necessary adjustments:
Deployed - Check the box to deploy the script.
Status - Select the Released status as default.
Execute As Role - Select the [STA-PL] Admin Role as default.
Roles - Check the Select All box.
Employees - Check the Select All box.
Click the Save button.
Repeat Steps 1-6 for each of the following transaction records:
Purchase Order
Vendor Credit
Go to Customization > Scripting > Scripts.
Search for a script named [STA] SL PL Vendor Whitelisting (id: customscript_sl_pl_vendorwhitelisting)
Click the View link next to the script.
Navigate to the Deployment subtab and view the deployment record.
Edit the deployment record and make the necessary adjustments:
Deployed - Check the box to deploy the script.
Status - Select the Released status as default.
Execute As Role - Select the [STA-PL] Admin Role as default.
Roles - Check the Select All box.
Employees - Check the Select All box.
Click the Save button.
Deploy/Undeploy Scheduled Whitelisting on Vendor
To deploy the scheduled whitelisting on the vendor record:
Go to Customization > Scripting > Scripts.
Search for a script named [STA] MR PL Vendor Whitelisting (ID: customscript_mr_sta_pl_vendorwhitelist).
Click the View link next to the script
Navigate to the Deployment subtab and view the deployment record.
Edit the deployment record and make the necessary adjustments:
Set Status to Scheduled
Define the desired recurrence schedule:
Select Daily Event
Repeat Every is set to 1 by default, but you may change this to any other value if you do not wish to run the script daily.
Enter the Start Date and Start Time
Define whether the schedule will end on a certain date by entering an End By date value,
Or having the schedule run indefinitely by checking the No End Date field.
Optionally, configure any of the following fields:
Priority - Available options are High, Standard, and Low. The default option is Standard. This field determines the urgency of the script processing. The higher the priority of the script run, the higher up the queue it will be included.
Concurrency Limit - Determines the number of job queues that can be used to process runs of this script. The default option is 1. Depending on your licensing agreement with NetSuite, you may have other values available. You should only increase this value if regular vendor whitelisting is at the top of your priority list and several thousands of vendors are eligible for regular checks. Otherwise, please keep this value to 1.
Yield After Minutes - This is a soft time limit on how long a script can run before yielding. The default value is 60 minutes. You can enter any value from 3-60. It is highly suggested that this is kept at 60. Only reduce the value if necessary.
Buffer Size - This value determines how many records can be processed in parallel before information about the job’s progress is saved to the database. A low Buffer Size minimizes the risk of any records being processed twice. The default value is 1. It is generally suggested to leave this value to 1 unless special circumstances dictate otherwise.
Click the Save button.
Deploy/Undeploy Scheduled Whitelisting on Transactions
To deploy the scheduled whitelisting on transaction records:
Go to Customization > Scripting > Scripts.
Search for a script named [STA] MR PL Vendor Whitelisting By Trxn (ID: customdeploy_mr_sta_pl_vw_by_trxn)
Click the View link next to the script
Navigate to the Deployment subtab and view the deployment record.
Edit the deployment record and make the necessary adjustments:
Set Status to Scheduled
Define the desired recurrence schedule:
Select Daily Event
Repeat Every is set to 1 by default, but you may change this to any other value if you do not wish to run the script daily.
Enter the Start Date and Start Time
Define whether the schedule will end on a certain date by entering an End By date value,
Or having the schedule run indefinitely by checking the No End Date field.
Optionally, configure any of the following fields:
Priority - Available options are High, Standard, and Low. The default option is Standard. This field determines the urgency of the script processing. The higher the priority of the script run, the higher up the queue it will be included.
Concurrency Limit - Determines the number of job queues that can be used to process runs of this script. The default option is 1. Depending on your licensing agreement with NetSuite, you may have other values available. You should only increase this value if regular vendor whitelisting is at the top of your priority list and several thousands of vendors are eligible for regular checks. Otherwise, please keep this value to 1.
Yield After Minutes - This is a soft time limit on how long a script can run before yielding. The default value is 60 minutes. You can enter any value from 3-60. It is highly suggested that this is kept at 60. Only reduce the value if necessary.
Buffer Size - This value determines how many records can be processed in parallel before information about the job’s progress is saved to the database. A low Buffer Size minimizes the risk of any records being processed twice. The default value is 1. It is generally suggested to leave this value to 1 unless special circumstances dictate otherwise.
Click the Save button.
Send an email to support@staria.com for questions or concerns regarding this topic.
©2024 Staria. All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.