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!
NetSuite informs on a mistake at attempt to send on him the information.
NetSuite informs on a mistake at attempt to send on him the information. The script which is below resulted is sent the information.
[PHP]
//print results
if ($soapclient->fault || $result["sessionResponse"]["status"]["!isSuccess"] != true)
{
$netsuite_error = 1;
}
$message = "
<platformMsgs:add xmlns:platformCore = 'urn:core_2_0.platform.webservices.netsuite.com' xmlns:platformMsgs = 'urn:messages_2_0.platform.webservices.netsuite.com' xmlns:listRel='urn:relationships_2_0.lists.webservices.netsuite.com'>
<platformMsgs:record xsi:type='listRel:Customer'>
if($custentityresellingtelsolns != "")
{
$message .= " <listRel:custentityresellingtelsolns>
" . $custentityresellingtelsolns . "
</listRel:custentityresellingtelsolns>
";
}
</platformMsgs:record>
</platformMsgs:add>
$result = $soapclient->call('add', $message);
[PHP]
//print results
if ($soapclient->fault || $result["sessionResponse"]["status"]["!isSuccess"] != true)
{
$netsuite_error = 1;
}
$message = "
<platformMsgs:add xmlns:platformCore = 'urn:core_2_0.platform.webservices.netsuite.com' xmlns:platformMsgs = 'urn:messages_2_0.platform.webservices.netsuite.com' xmlns:listRel='urn:relationships_2_0.lists.webservices.netsuite.com'>
<platformMsgs:record xsi:type='listRel:Customer'>
if($custentityresellingtelsolns != "")
{
$message .= " <listRel:custentityresellingtelsolns>
" . $custentityresellingtelsolns . "
</listRel:custentityresellingtelsolns>
";
}
</platformMsgs:record>
</platformMsgs:add>
$result = $soapclient->call('add', $message);
0