Firstly, thanks to all the new members of the NetSuite group! Russ (rport) and I felt an update was in order.
So, we have made some good progress on a Drupal module that can be used to connect to the NetSuite API. Our module uses a modified version of the NetSuite PHP toolkit. Some of the enhancements we have made to the toolkit are:
- Error handling of exceptions, sending errors to the Drupal watchdog
- Short-circuiting the xml processing which PHP Toolkit likes to do after the SOAP call is made (adding meta-data based on the schema AFAICT). Frequently this raised errors for us, and not much value to be honest.
- Better call logging
- Other little bugs and tweaks.
Working services
I have the following API function wrappers which are providing a solid baseline for the private work we are doing. We are using saved searches for various list views and entity displays from those views.
- Authenticate
- Get a list of saved searches
- Display paged results of a saved search
- Display an entity
Open source status
The PHP Toolkit doesn't have an explicit license so we are unable make our version available. Our code simply won't work with the publicly available PHP Toolkit. We are currently waiting for a NetSuite representative to consider our request for them to GPL the toolkit.
Based on the response from NetSuite, three things could happen:
- If the toolkit is not open-sourced, we need to find resources to write our own interface so we can bundle.
- If the toolkit is GPL'd we will release a forked version bundled with our NetSuite module.
- If the toolkit is open-sourced in a way not compatible with GPL, we may initially release our forked version on github.com. However we would remain keen to write a GPL version sooner or later.
Our preference is to develop a GPL version. We're seeking active NetSuite support to do this. We have a pretty clear idea of what is needed to build an interface, however we could use some support to do it in a timely matter. We welcome any offers of funding, sponsorship, collaboration and resources to make this happen!
As soon as we get some clear direction from NetSuite we'll make available a public git repository of our interface code.
Thanks for being part of the group!
Simon

Comments
Netsuite API for e-commerce
I have been a Netsuite user for a number of years (and love it!) and working to set up an easy to manage, Netsuite back-end enabled ecommerce website.
Netsuite
I am working on netsuite and magento soap integration. I am done with following things.
1) item searching and getting most of the details about the items.
2) adding items into the netsuite.
3) adding customers.
etc ..
Any word from Netsuite
about GPL'ing the PHP toolkit? In my experience they are quite slow and would need continuous prodding to get this done.
I'm anxious to get my hands on this module as I have tons of Netsuite-related .net code that I would like to port to PHP.
Thanks.
NetSuite PHP Toolkit License - Update
Hi,
We have had a fairly quick response from NetSuite. In fact they have been very helpful!
They have provided a license that is very open but is not GPL.
This represents a problem in regard to including their code with our projects.
Sime has been off on assignment so our internal development has been on hold, starting again this week...
We have also asked that NetSuite to consider starting hosting the NS PHP Toolkit on GitHub so we can commit patches. They have not yet responded to this... In the mean time, I will chat with sime about posting our patches...
I will also speak with Sime about posting an update on the work we are doing...
In the mean time, I would be interested to learn what others are doing?
Anyone going to the Suite World 2011 - Developers & Users Conference?
Russ
Netsuite Toolkit
Why would the inclusion of the Netsuite PHP Toolkit have to be a dependency of the Netsuite API Module. Why not just include documentation on where to find the toolkit. Several other modules take this process. Patches for the toolkit could also be included on GitHub without the base toolkit.
It's less than ideal, but waiting for Netsuite to open source the toolkit should not be a dependency to moving forward with this project.
Agreed!
Hi Jason,
You may notice my last comment is quite old, there have been some developments in regard to this project, perhaps I need to post an update and get the team working on this!
Thanks for the prompting!
Russ