Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
attach method from PHP
Hi
We've just started using the web services and I'm trying to import some customers/contacts, using PHP.
Due to the rather limited functionality of the PHP code, that in itself was a struggle, but after a bit of hacking I've managed to create customers and contacts assigned to those customers.
Now I'm trying to set a primary contact - something which I saw 2 threads about on the first time I logged into the forum, however neither of them were about PHP.
I'm getting the idea that PHP isn't very well supported so if someone could just show me what the XML should look like for an attach, I'd be grateful, and I can then try hacking the PHP code from there. Alternatively some working PHP code would be great.