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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Grab Purchase Order Details - simple question
Hey everyone. I'm new to SuiteTalk and am still trying to wrap my head around everything.
I want to retrieve the details for a given purchase order...I've tried a lot of things and just want to be pushed in the right direction.
[PHP]
$PO = new nsRecordRef(array('type' => 'purchaseOrder', 'internalId' => '305'));
$response = $myNSclient->get($PO);
print_r($response);
exit();
[/PHP]
SOAP request...
[CODE]<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:core_2009_2.platform.webservices.netsuite.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="urn:messages_2009_2.platform.webservices.netsuite.com"><SOAP-ENV:Header><ns1:passport SOAP-ENV:actor="
I want to retrieve the details for a given purchase order...I've tried a lot of things and just want to be pushed in the right direction.
[PHP]
$PO = new nsRecordRef(array('type' => 'purchaseOrder', 'internalId' => '305'));
$response = $myNSclient->get($PO);
print_r($response);
exit();
[/PHP]
SOAP request...
[CODE]<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:core_2009_2.platform.webservices.netsuite.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns2="urn:messages_2009_2.platform.webservices.netsuite.com"><SOAP-ENV:Header><ns1:passport SOAP-ENV:actor="
0