Hi, the data that is populating the Supplier Field is from this string object in bold that is one of this variable parameters: var supplierField = form.addField('custpage_supplier', 'select', 'Supplier', 'customrecord_reorder_suppliers').setLayoutType('startrow'); How do I go about retrieving the suppliers name and reordering the name view from this internal ID 'customrecord_reorder_suppliers'. This ID/string object is to a custom table in NetSuite that houses the supplier information. *Please see screenshot of suppliers table*
Hi, the data that is populating the Supplier Field is from this string object in bold that is one of this variable parameters: var supplierField = form.addField('custpage_supplier', 'select', 'Supplier', 'customrecord_reorder_suppliers').setLayoutType('startrow');
How do I go about retrieving the suppliers name and reordering the name view from this internal ID 'customrecord_reorder_suppliers'. This ID/string object is to a custom table in NetSuite that houses the supplier information. *Please see screenshot of suppliers table*
I have tried: var supplierName = 'customrecord_reorder_suppliers'.toString().split(' ').reverse().join(' ');. To reassign that string object so I could call it in a function but it still did not work.
If needed we can get on a chat to discuss this in more detail. Please let me know.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Hello, the custom record table will be updated as time goes on, so I am not sure the search approach will work. Any other thoughts?