Forum Discussion
Let me try to better understand what you’re doing. Are you using a NetSuite Search to get a list of every Vendor, and then trying to use a NetSuite Get to get the detail for each of those Vendors because the Search response does not contain enough details?
If so, have you tried unchecking “Body Fields Only” on the Search settings? That might give you all the details you need in the Search response.
If that still doesn’t give you all the details you’re looking for and you need to call Get, you need to give it input that looks like this:
As for why the NetSuite Get snap doesn’t have a dropdown to select the Object type like most of the other NetSuite snaps, I can’t answer that. It’s been that way for many years, and I would agree that it doesn’t really make sense. Unfortunately we can’t change the design now without breaking backward compatibility. But we could add an improved version of the snap that is more consistent with the other NetSuite snaps.
Hope that helps.
- bojanvelevski4 years agoValued Contributor
Try this in a mapper:
$array.map(x=> parseInt(x) < 10 ? '0'+ x : x.toString())
I included parsing of the elements to ensure handling string numbers. Note that the result of the expression will be an array of strings, which is inevitable due to the numbers with a leading zero (<10)
Related Content
- 5 years ago
- 4 months ago
- 10 months ago