Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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.