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