NetSuite Integration

Events happening in the community are now at Drupal community events on www.drupal.org.

Overview

NetSuite is business management software run as SaaS over the interwebs. This group welcomes discussions about getting Drupal to talk to NetSuite via the SuiteTalk SOAP API.

There is an, official, albeit closed, NetSuite User Group which can be useful. However much of the conversation there regarding the SuiteTalk API revolves around C/Java. There are some PHP users there who use the PHPToolkit though.

PHPToolkit

There is a PHPToolkit for NetSuite. This uses PHP's SoapClient for talking to NetSuite. The toolkit ships with a simple e-Commerce example that uses some of the API calls, however it is has a lot of limitations and flaws. Anecdotal evidence on the NetSuite User Group forum suggests that many companies using PHPToolkit are working with hacked versions.

Drupal module

You may like to read the overview of a new Drupal project which will aim to provide API integration and other features. This integration will either use the PHPToolkit (looking unlikely) or talk to the SOAP API directly.

NetSuite Integration

sime's picture

How do you use NetSuite API with PHP?

PHP Toolkit
17% (2 votes)
Hacked PHP Toolkit
42% (5 votes)
Direct SOAP (No PHP Toolkit)
17% (2 votes)
Not at all
25% (3 votes)
Total votes: 12
sime's picture

Progress on NetSuite API module

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
Read more
rport's picture

Do you already use Drupal and NetSuite?

No
14% (1 vote)
Yes
86% (6 votes)
Someday
0% (0 votes)
Total votes: 7

NetSuite Integration

Do you already use Drupal and NetSuite?

rport's picture

No
14% (1 vote)
Yes
86% (6 votes)
Someday
0% (0 votes)
Total votes: 7

How do you use NetSuite API with PHP?

sime's picture

PHP Toolkit
17% (2 votes)
Hacked PHP Toolkit
42% (5 votes)
Direct SOAP (No PHP Toolkit)
17% (2 votes)
Not at all
25% (3 votes)
Total votes: 12
Subscribe with RSS Syndicate content