Monthly Archives: December 2011

Create Netsuite Customer with Addresses

Figuring out how to do address arrays on a Netsuite Customer can be rather complicated so I thought I would share some sample code:

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

Symfony override getter

Similar to overriding setters, overriding getters in symfony has a strange syntax. Rather than doing the normal override code you must use special methods. This code will NOT work consistently: However, this code will work: Although the first code will … Continue reading

Posted in 1.4, Symfony | Tagged , , , , | 1 Comment

Allowing Slashes in a Symfony Route

Symfony routing is a wonderful tool. Recently, however, I have wanted to include a slash in a route parameter. This can seem problematic as symfony uses slashes to delimit parameters. For example, lets say I wanted the url http://www.example.com/user/john/jacob/jingleheimer/schmidt to … Continue reading

Posted in 1.4, Symfony | Tagged , , , , | 1 Comment

Create/Update Netsuite Estimate via PHP

For whom it may interest, here is some more sample code for using the php toolkit to update/create Netsuite Records.

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

Netsuite Create Customer/Contact

In response to a request, here is an example of creating a customer with an attached contact. It is a rather complex example including things like custom fields and error handling. I now use classes I wrote to accomplish the … Continue reading

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