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.
Updating Records with SuiteTalk in PHP
Hi all,
I'm working to update an item record through SuiteTalk, using PHP, but I'm finding the documentation a bit lacking, and am running into a few problems:
Following things I read here in the forums, I tried creating a new Inventory Item, setting the internalId field to that of the record I want to update, and then calling an update. However, it doesn't seem to actually be updating the record with the changes I want. When I use this code:
[CODE]
<?php
require_once 'PHPToolkit/NetSuiteService.php';
$service = new NetSuiteService();
echo "Service started";
$item = new InventoryItem();
$item->internalId = "160663";
I'm working to update an item record through SuiteTalk, using PHP, but I'm finding the documentation a bit lacking, and am running into a few problems:
Following things I read here in the forums, I tried creating a new Inventory Item, setting the internalId field to that of the record I want to update, and then calling an update. However, it doesn't seem to actually be updating the record with the changes I want. When I use this code:
[CODE]
<?php
require_once 'PHPToolkit/NetSuiteService.php';
$service = new NetSuiteService();
echo "Service started";
$item = new InventoryItem();
$item->internalId = "160663";
0