Discussions
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.