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.
To NetSuite employees
I got some tips from one of you guys about retrieve data from NetSuite and display the data on the HTML form. (See the codes below)
How do I GET info from the customer entity?
I used nlapiGetFieldValue, but it does not work....
I used nlapiLookupField, but it does not work.....
I always get the "Object Expected" error, HELPPPP !!!!
The tip you provided:
-------------------------
<script>
var _x=document.getElementsByTagName('textarea');
_x[0].innerHTML="retrieved data"; /* this assume you have only one textbox inside your page */
</script>
OR
<script>
var _x=document.getElementById('XXXXX'); /* replace XXXX with the id of the textbox if u had assigned one to it */
0