Magento :: NetSuite :: Warehouse (WMS) Integration Discovery Questions

If you want to run a few discovery sessions for a client who wants to deploy NetSuite in the ecommerce ecosystem, then here are a few questions to help you kick off. I have come up with these from my experiences deploying NetSuite in ECOMMERCE businesses. Below are targeted to Magento/NetSuite and a Warehouse Management
Continue reading Magento :: NetSuite :: Warehouse (WMS) Integration Discovery Questions

Integrating NetSuite and Magento: Questions for a successful integration

A few questions to ask your System Integrator when integrating an ecommerce platform(Magento) with NetSuite or any other ERP 1.    Slow Magento API(SOAP calls) How do we work/scale around this with so many calls to be made for order sync, shipping sync, stock sync, pricing sync,  etc ? What is the choreography? 2.    Shipping Rules
Continue reading Integrating NetSuite and Magento: Questions for a successful integration

NetSuite: Automatically Create TAX Nexus for all USA and Canada States

Code is not perfect and is not production ready. Iterate through the List of States vs Countries Create the Tax Nexus using the internal ID of the state for the RecordRef //FOR USA AND CANADA STATES Iterator statesIterator = stateMapUSAAndCanadaForNexusCreation.entrySet().iterator(); int ctr = 1; System.out.println(“Total Size ” + stateMapUSAAndCanadaForNexusCreation.size()); while (statesIterator.hasNext()) { Map.Entry countryVsState =
Continue reading NetSuite: Automatically Create TAX Nexus for all USA and Canada States

NetSuite: Automatically Create TAX Nexus for all Countries (252)

This piece of code will create TAX Nexus for all these countries For USA and Canada States, please read this post Iterator it = countryMapForNexusCreation.entrySet().iterator(); int i = 1; while (it.hasNext()) { Map.Entry pair = (Map.Entry)it.next(); //System.out.println(i + “: Code: ” + pair.getKey() + ” = ” + pair.getValue()); createNexus((Country)pair.getKey(),(String)pair.getValue()); it.remove(); // avoids a ConcurrentModificationException
Continue reading NetSuite: Automatically Create TAX Nexus for all Countries (252)

NetSuite: Get all country list

This is a Java Snippet to get all the countries in NetSuite public void getCountryList() throws Exception{ GetSelectValueFieldDescription desc = new GetSelectValueFieldDescription(); desc.setRecordType(RecordType.customer); desc.setSublist(“addressbookList”); desc.setField(“country”); GetSelectValueFilter myfilter = new GetSelectValueFilter(); myfilter.setOperator(GetSelectValueFilterOperator.contains); myfilter.setFilterValue(“states”); GetSelectValueResult result = _port.getSelectValue(desc, 0); BaseRefList baseRef = result.getBaseRefList(); System.out.println(“Total countries: ” + result.getTotalRecords()); //Loop to all the values for (int i =
Continue reading NetSuite: Get all country list