Overview
When NetSuite refreshes a Sandbox account or provisions a Release Preview account, it copies your Production data into the new account. That includes vendor endpoints, vendor credentials, setup page values, and workflow schedules.
If you don't change anything, scheduled processes in the new account can send bulk requests to your vendors' live systems. This can cause:
- Duplicate request volume, since Production and the Sandbox run the same jobs on the same schedule.
- Failed authentication attempts when the Sandbox credentials are out of date, which vendors may report back to you.
- Live purchase orders placed with vendors from Sandbox data.
This article lists the eXtendPS-DE, eXtendSanMar, and eXtendASI-DE processes to pause, and explains how to point vendor connections to test environments. Complete it along with Reconfiguring eXtendApps after a Sandbox refresh or Release Preview provisioning, which covers subdomains and authentication.
Prerequisites
- NetSuite Administrator access in Production and in the Sandbox or Release Preview account
- Test or UAT endpoints and credentials from each vendor that offers them
Configuration
Step 1: Set the Sandbox preferences in Production before a refresh
The refresh copies setup page values from Production, so set these in Production ahead of time. They only take effect in Sandbox and Release Preview accounts.
| SuiteApp | Setup page preference | Location on the setup page | Recommended value |
|---|---|---|---|
| eXtendPS-DE | Avoid Running M/R Scripts In Sandbox Accounts | Additional Settings subtab | Checked |
| eXtendPS-DE | Allow Place PO In Sandbox & RP Accounts | Additional Settings subtab → Miscellaneous Settings section | Unchecked |
| eXtendSanMar | Avoid Running M/R Scripts In Sandbox & RP | Additional Settings subtab | Checked |
| eXtendSanMar | Allow Place PO In Sandbox & RP | Additional Settings subtab → Miscellaneous Settings section | Unchecked |
If the refresh already happened, set these on the setup pages in the Sandbox or Release Preview account instead. For details, see Disable eXtendPS-DE Map/Reduce Script Executions in Sandbox and Release Preview Environments and eXtendSanMar Sandbox and Release Preview Account Configuration.
Note: The M/R preferences only stop Map/Reduce scripts. They don't stop scheduled workflows, scheduled scripts, or mass updates. The eXtendPS-DE item constitution Map/Reduce script also keeps running.
Step 2: Suspend scheduled workflows after a Sandbox refresh
After a Sandbox refresh, NetSuite copies your scheduled script and Map/Reduce script deployments but doesn't schedule them. See NetSuite's Features Available for Limited Testing in Sandbox Accounts. Scheduled workflows aren't paused, so they keep running on their Production schedules.
In Release Preview accounts, NetSuite doesn't automatically run scheduled scripts, Map/Reduce scripts, or scheduled workflows. See NetSuite's Features Available for Testing in Release Preview. You can skip this step in Release Preview, but anything you run manually there still sends live requests to your vendors.
- In the Sandbox account, go to Customization → Workflow → Workflows.
- Find each scheduled workflow that uses an eXtendTech workflow action or was copied from an eXtendTech bundled workflow. The app sections below list the ones to look for.
- Open the workflow and click Edit.
- Set Release Status to Suspended.
- Click Save.
How to treat workflows by suffix:
- [B] workflows are bundled templates and are normally suspended when installed. You don't need to change them, but review the copies you made of them.
- [S] and [System] workflows are meant to stay scheduled, so leave them as they are.
- Review any of your own versions of [S] or [System] workflows one by one. Whether they run a bulk operation depends on the specific workflow.
eXtendPS-DE
Update vendor endpoints and credentials
- Open each vendor record that has PromoStandards endpoints, then select the eXtendPS-DE subtab. Depending on your form, it may be labeled PromoStandards.
- If the vendor offers test endpoints, replace each service endpoint URL with the vendor's test URL. See Configuring your NetSuite Vendor with PromoStandards Services Endpoints.
- If the vendor doesn't offer test endpoints, clear the endpoint URLs. Without endpoints, eXtendPS-DE doesn't send requests to that vendor, and the related buttons don't appear.
- If the vendor issues separate test credentials, update eXtendPS-DE Vendor Id and eXtendPS-DE Vendor Secret, along with any eXtendPS-DE Supplier Credentials records. See How to Update PromoStandards Vendor Credentials in NetSuite for eXtendPS-DE and eXtendPS-DE: Service-Based Credentials Configuration Guide.
- Click Save.
Note: Leave the eXtendPS-DE Populate Suppliers and eXtendPS-DE Update Vendor Endpoints Map/Reduce scripts unscheduled, and don't run Update PromoStandards API Endpoints from the eXtendPS-DE Job Runner. These processes replace your test or cleared endpoints with Production endpoints from PromoStandards.org. See Configure Automatic Update of NetSuite Vendor PromoStandards Endpoints from PromoStandards.org Data.
Scheduled workflows to suspend
| Workflow or workflow action | What it does | Related article |
|---|---|---|
| Workflows that use eXtendPS-DE Item Price Update WFA | Refreshes item pricing from PromoStandards | Automated Pricing Update Using NetSuite Workflow |
| Copies of eXtendPS-DE Custom Integration[B] | Updates item fields from PromoStandards | Updating Specific Item Fields from PromoStandards with eXtendPS-DE |
| Copies of eXtendPS-DE Bill From Invoice Respons[B] | Creates vendor bills from invoice responses | Configure NetSuite Vendor Bill Creation from PromoStandards Invoice Response in eXtendPS-DE |
| Copies of eXtendPS-DE Create Shipment From SO[B] | Creates item fulfillments from order shipment notifications | Create Auto-Fulfillments from PromoStandards-enabled Drop Ship Purchase Orders |
Map/Reduce deployments to leave unscheduled
NetSuite copies these deployments to Sandbox and Release Preview accounts but doesn't schedule them. Leave them unscheduled until you finish the checks in Before you turn processes back on.
| Map/Reduce script | What it does | Related article |
|---|---|---|
| eXtendPS-DE Custom Integration | Refreshes purchase prices, item fields, and decoration details | Automatically Update Item Purchase Price from PromoStandards, Constituting Decoration Information in eXtendPS-DE |
| eXtendPS-DE Create Custom Bill Record | Imports PromoStandards invoices | Saving Invoice Responses as eXtendPS-DE Invoice Response Custom Record |
| eXtendPS-DE Update Order Status | Updates order status in bulk | Bulk Update the PromoStandards Order Status on Purchase Orders with eXtendPS-DE |
| eXtendPS-DE OSN Glom | Updates order shipment notifications in bulk | Methods for Performing Order Status and Order Shipment Notification Searches in eXtendPS-DE |
| eXtendPS-DE Item Shipment | Creates item fulfillments and item receipts from shipment data | Auto Receive/Fulfill Special Order and Drop Ship Purchase Orders with eXtendPS-DE |
| eXtendPS-DE Populate Suppliers, eXtendPS-DE Update Vendor Endpoints | Updates vendor endpoints from PromoStandards.org | Configure Automatic Update of NetSuite Vendor PromoStandards Endpoints from PromoStandards.org Data |
eXtendSanMar
- Before you allow PO placement or Map/Reduce scripts, point the eXtendSanMar setup page to SanMar's UAT host,
https://uat-ws.sanmar.com:8080, and your SanMar test credentials. See SanMar Setup Configuration. - Avoid Running M/R Scripts In Sandbox & RP covers the PO Creation, Create Bill, Item Fulfillment, Link Items, and Purchase Price Map/Reduce scripts.
- The preference doesn't cover workflows, so also check for scheduled workflows that place SanMar purchase orders or create SanMar vendor bills. See eXtendSanMar Sandbox and Release Preview Account Configuration.
eXtendASI-DE
- Suspend scheduled workflows that use the eXtendASI Purchase Price Refresh workflow action. Scheduled runs use the ASI credentials of the employee in the ASI Employee parameter. See View the Updated Purchase Price from ESP/ASI in a Custom Item Field.
- Leave eXtendASI Item Custom Integration Map/Reduce deployments unscheduled. See Updating Specific Item Fields from eXtendESP-DE (eXtendASI).
Before you turn processes back on
- Confirm each vendor points to test endpoints and credentials, or has its endpoints cleared.
- Turn on only the processes you need to test.
- Test on demand first, using a saved search limited to a few records.
- If you need a schedule, use a narrow saved search and a different schedule from Production.
- Suspend or unschedule the process again when testing is done.
Frequently Asked Questions (FAQs)
Q: Why didn't Avoid Running M/R Scripts stop the requests to my vendor?
A: The preference only covers Map/Reduce scripts. Scheduled workflows, scheduled scripts, and mass updates still run, so suspend them separately.
Q: Do real-time buttons still work in the Sandbox?
A: Yes. Buttons like Update Order Status and Refresh PromoStandards Pricing send requests using the endpoints and credentials on the vendor record. Update or clear those before you test.
Q: Do I need to suspend the bundled [B] workflows?
A: No. They're normally suspended when installed. Review the copies you made of them instead.
Q: Do I need to suspend scheduled workflows in a Release Preview account?
A: No. NetSuite doesn't automatically run scheduled workflows, scheduled scripts, or Map/Reduce scripts in Release Preview. Anything you run manually there still uses the vendor endpoints and credentials copied from Production, so update or clear those first.
Q: What happens if the Sandbox credentials are out of date?
A: Every scheduled request fails authentication, and a single bulk job can send thousands of failed requests to the vendor. See Guide for eXtendPS-DE Order Status Update Errors.
Q: Do I need to repeat these steps after every refresh?
A: Yes. Each refresh or provisioning copies your Production settings, schedules, and vendor records again.