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.
PHP_Toolkit not parsing saved search xml response correctly
I have a saved search that contains the "Other Prices" columns, as well as Name, Location Quantity Available, and Store Description.
Here's a snippet of the XML response:
... <platformCore:searchRow xsi:type="listAcct:ItemSearchRow" xmlns:listAcct="urn:accounting_2011_1.lists.webservices.netsuite.com"> <listAcct:basic xmlns:platformCommon="urn:common_2011_1.platform.webservices.netsuite.com"> <platformCommon:itemId> <platformCore:searchValue>Sample SKU</platformCore:searchValue> </platformCommon:itemId> <platformCommon:locationQuantityAvailable> <platformCore:searchValue>18.0</platformCore:searchValue> </platformCommon:locationQuantityAvailable> <platformCommon:otherPrices> <platformCore:searchValue>9.99</platformCore:searchValue> <platformCore:customLabel>Sample Price Name 1</platformCore:customLabel> </platformCommon:otherPrices> <platformCommon:otherPrices> <platformCore:searchValue>10.99</platformCore:searchValue> <platformCore:customLabel>Sample Price Name 2</platformCore:customLabel> </platformCommon:otherPrices> <platformCommon:storeDescription> <platformCore:searchValue>Sample Item Description</platformCore:searchValue> </platformCommon:storeDescription> </listAcct:basic> </platformCore:searchRow> ...
Tagged:
0