Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Suggestion (or question) for PHP Toolkit
Here's a patch I've done for the current 2010.1 toolkit:
319a320,321
>
> $this->user = $sessionResponse->userId;
This adds the user info (notably ID) to the sessionResponse when calling login(). I'm using it because I want to (a) log the customer in to make sure it's a valid account and then (b) do stuff with that customer record.
If there's a better way to do that, I'm all ears. But this worked for me!
0