Table of Contents
NBP Exchange Rate Integration
To deploy the exchange rate integration script:
Go to Customization > Scripting > Scripts.
Search for [STA] Update FX Rates SS (id: customscript_sta_update_fxrates)
Click the View link.
Go to the Deployments tab.
Click Script Deployment record
Click the Edit button.
Check Deployed box.
Select Status to Scheduled
Go to the Parameters subtab.
Check any of the currency checkboxes (NBP, MNB, ECB) if this set of parameters only applies to specific currencies. Leaving all checkboxes unchecked will apply the parameters to all enabled currency exchange rate integrations in [STA] FX Rates Update Preferences.
Select the Get Exchange Rate: You can choose between two options on which date the FX rate will be based.
Before Effective Date - exchange rates published a day before the effective date will be used. If the day before falls on a weekend, published rates from the previous Friday will be used.
On or Before Effective Date - exchange rates published on the day or a day before the effective date will be used. If the day before falls on a weekend, published rates from the previous Friday will be used.
Go to the Schedule subtab.
Select Daily Event > Repeat Every Weekday.
Select Start Date.
Select Start Time.
Click the Save button.
For scheduled runs, the effective date will always be based on the CET timezone.
Important: If you are using NetSuite’s exchange rate provider (e.g., Xignite, etc.), there could be instances where the previously updated exchange rates by NBP integration will be overridden. To make sure that the PLN exchange rates will be reverted to the rates coming from NBP, create another script deployment which should be scheduled to run after the update from NetSuite’s exchange rate provider.
Vendor Whitelisting
Script Deployment
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.