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.
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