Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Accessing Item in TransactionSearchBasic | PHP
Accessing Item in TransactionSearchBasic ( PHP )
I'm trying to figure out how to access the items list that I'm getting from TransactionSearchBasic. I can clearly see its in the xml response, but have no idea how to access it in PHP:
<tranSales:itemList>
<tranSales:item>
<tranSales:item internalId="216">
<platformCore:name>MC-124L1 MC-124L1 | Curved Pipe Burner For Ducane Grills</platformCore:name>
</tranSales:item>
<tranSales:quantity>1.0</tranSales:quantity>
<tranSales:description>MC-124L1 | Curved Pipe Burner For Ducane Grills: </tranSales:description>
Using getField() such as in $record->getField('status') I can access the basic info but not lists.