Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Need help with Purchase Orders (PHP)
I'm currently trying to view the Purchase Orders but can't seem to get by some basic errors that don't make any real sense.
$itemSearch = new nsComplexObject("PurchaseOrder");
$itemSearch->setFields(array("createdDate" => array( "operator" => "after", "searchValue" => "2009-06-26T00:00:00-05:00")));
$myNSclient->setSearchPreferences(false);
$searchResponse = $myNSclient->search($itemSearch);
No matter what I do I keep on getting errors like this:
Fatal error: Uncaught exception 'Exception' with message 'ComplexType reference was not found in directory. ComplexTypeName = dateTime' in /var/www/html/PHP_Toolkit/PHPtoolkit.php:1736 Stack trace: #0 /var/www/html/PHP_Toolkit/PHPtoolkit.php(25): getNameSpace('dateTime') #1 /var/www/html/PHP_Toolkit/PHPtoolkit.php(63): nsComplexObject->__construct('dateTime') #2 /var/www/html/test.php(15): nsComplexObject->setFields(Array) #3 /var/www/html/test.php(52): getPO() #4 {main} thrown in /var/www/html/PHP_Toolkit/PHPtoolkit.php on line 1736