Tag Archives: php toolkit

Netsuite PHP Toolkit and Custom Fields

Figuring out how to set custom fields via Netsuite Webservices can be a bit difficult. Here is a quick example of how it can be done: (I am using an old version of the toolkit, but I believe the example … Continue reading

Posted in Netsuite PHPToolkit | Tagged , , , , , | 18 Comments

Netsuite Data Validation Headache

Several times over the past year I have run into the same problem when using the PHPToolkit with Netsuite Web Services; Netsuite will store values that don’t match its data validation schema.  For example, there are several contacts stored in … Continue reading

Posted in Netsuite PHPToolkit | Tagged , , , , , , | 1 Comment

Sample Search Code

The ability to run searches is a great feature of Netsuite Backend. Following is some sample search code. Keep in mind that Netsuite changes the structure of the returned object if their is only one result. (often, rather than returning … Continue reading

Posted in Beginning with the PHPToolkit, Netsuite PHPToolkit | Tagged , , , | 10 Comments

Netsuite and Null Fields

UPDATE: There is a nice post here on how to do this with the 2013_1 toolkit. If you wish to have the Netsuite PHPToolkit set a field to null, you can’t just set the value of the field array to … Continue reading

Posted in Netsuite PHPToolkit | Tagged , , | Leave a comment

Netsuite PHP Toolkit Directory Global Scope Problem

The latest version of the PHP Toolkit for Netsuite web-services (2010_2 as of this writing) and all previous versions (as far as I know) assume that the $endpoint string and $myDirectory array are declared in global scope. However, if in … Continue reading

Posted in Netsuite PHPToolkit | Tagged , , | 5 Comments

NSclient login time

Over the last year we have often been experiencing ridiculous login times to the Netsuite web services back-end.  Examining code and log files narrowed down the culprit line to the creation of the nsClient. Often this single call to the … Continue reading

Posted in Netsuite PHPToolkit | Tagged , , | 2 Comments