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.
Help needed differentiating similar named fields in jSON results with REST API
Hi,
When I do a non basic REST API query like :
SELECT * FROM transactionline tl, transaction t, customer c WHERE transaction > 123 and tl.transaction = t.id and t.entity = c.id"
The result comes back with similar named fields like:
"currency" : "xxx",
"currency_0" : "xxx",
"entity" : "xxx",
"entity_0" : "xxx",
"id" : "xxx",
"id_0" : "xxx",
"id_1" : "xxx",
"lastmodifieddate" : "xxx",
"lastmodifieddate_0" : "xxx",
Q: Is there some way that I can know which field belongs to which table?
like:
"id" : "xxx" - "id_0" : "xxx" - "id_1" : "xxx" belongs to transactionline or transaction or customer?
How can I tell what field is what table?
0