HomeTagSubmit NotesAsk AnythingLoginSubscribe Us
1. Feel Free to ask and submit anything on and get satisfactory answer
2. Registration is not compulsory, you can directly login via google or facebook
3. Our Experts are looking for yours ?.

netsuite-basics: Not able to get records from sandbox account in nesuite

Earlier i was used test account,it works fine for me to get records. now i am using sandbox account unable to get records from it. Getting null pointer exception after calling getRecordList() on search result ,here is the code

SearchDateField created=new SearchDateField();
SimpleDateFormat dft1=new SimpleDateFormat("MM-dd-yyyy");
Calendar toDay = Calendar.getInstance();
Calendar calendar=Calendar.getInstance();
Calendar calendar2=Calendar.getInstance();
TransactionSearchBasic tsb=new TransactionSearchBasic();
SearchResult res =;
System.out.println("recordslist"+ res.getRecordList());

netsuite x 18
basics x 171
Posted On : 2014-09-26 15:27:18.0
profile venky - venky


Companies with a NetSuite account have to pay extra to have access to a sandbox version, where they take a snapshot of your current database and copy it to a test server (on demand, usually takes a few days to a week). This can be a great way to test out incremental modifications to your existing set up, and can give you a chance to see if it conflicts with other customizations.

Once you purchase the sandbox account from NetSuite, the administrator of the production system has to request a REFRESH of the sandbox account, which essentially creates a copy of the production database at that time. This process typically takes about 1-2 business days. During the refresh request, you can select to only allow ADMINISTRATORS access to the sandbox account or allow all users to access the sandbox. Any workflows which trigger an e-mail notification to recipients will be prefixed with the [SANDBOX] disclaimer, allowing all parties to quickly differentiate notifications from the production account.
You typically receive a limited number of refresh options from NetSuite and have to pay for more. This is a great option for those NetSuite customers who wish to develop and test their own system customizations, Workflows using SuiteFlow, JavaScript Mods using SuiteScript or any other portion of their NetSuite system. Some of our clients also use the sandbox account to provide new hires with training options without affecting their production system.
As with most things from NetSuite, the sandbox account is not cheap, but if you do any amount of customization in your system, usually well worth it.

The sandbox account does run significantly slower than a live account. Sometimes a saved search or report will time out, but most of the time the slowness is a minor inconvenience. I haven´t run into any situations where I was unable to complete my testing in the sandbox account, but most of the time it did take longer than it would have otherwise.

I would recommend the sandbox for companies who have invested a lot into customization and scripting, and need to test complex bundles and solutions on a regular basis. Keep in mind that NetSuite gives you access to a beta copy of your account twice a year for several weeks, which works exactly like the sandbox. If your testing needs can be satisfied with a combination of the beta and a test drive account, then the sandbox might not be necessary.

The NetSuite connection represents a single NetSuite account, including login credentials. If you have multiple accounts or sandbox instances, you need to use a separate connection for each and configure the URL accordingly. You can pair a single connection with different NetSuite operations to perform a unique action against a NetSuite account.

In September 2012 NetSuite began hosting new customer accounts in multiple data centers. The URL to be used for access depends upon the data center hosting each NetSuite account. For example, it could be or All that you need to do is enter the default URL,<year>_<version_number>, in the NetSuite connection. The NetSuite connector automatically discovers the correct URL for access to your NetSuite account. This automatic lookup works with any NetSuite version that you select. NetSuite treats Beta URLs and sandbox URLs differently, so the automatic lookup does not occur when you use them.

Posted On : 2014-09-27 17:02:17
Satisfied : 2 Yes  0 No
profile Rishi Kumar - Rishi Kumar
Reply This Thread

Post Answer
Please Login First to Post Answer: Login login with facebook -