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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Map Reduce with dotted property names
I am running a map/reduce against a saved search on a sales order. The problem is the saved search results include a joined record field. When the JSON is viewed in the map function there is a dotted property name. How can I access this field.
Here is the JSON:
"recordType": "salesorder", "id": "123", "values": { "tranid": "SO12345", "custbody_salesorderreadytobuildref": "F", "entity": { "value": "9876", "text": "Joe Tester (joe.tester@example.com)" }, "custbody_readytobuild.applyingTransaction": "F", "internalid.applyingTransaction": { "value": "5678", "text": "5678" } }
I want to get the value of custbody_readytobuild.applyingTransaction but it contains a dot in the name.
Here is what I am trying to do but it obviously doesn't work.
0