My Stuff
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Comments
-
@Nicole Mendoza-Oracle Yes, your answer was very helpful with hiding the subtab.
-
@Richard James Uri-Oracle Can you expand on the idea that this button can be added? I use the below code in a user event script to add a button at the top of a transaction form. Can you assist what I can do to put this button in a subtab? var form = context.form; form.addButton({ id: 'custpage_changeorder_buttonId', label:…
-
Is it possible to display these fields in in edit mode after hiding them with a user event?
-
@Jack Daryl Espiel-Oracle Thank you for pointing out the getField vs getValue. Also once I added var record = currentRecord.get() that solved my issue.
-
@Jack Daryl Espiel-Oracle Using the Hide Field CS article I deployed this code: function pageInit(context) { var changeOrderSum = record.getValue({ fieldId: 'custbody_change_summary' }) changeOrderSum.isDisplay = false } I used get.Value instead of get.Field because I read get.Value was for version 2.0. I am using false…
-
Your work around worked great! Thank you for all of your help
-
@Nicole Mendoza-Oracle I was able to get this code working when I edited the the form. I was looking to identify the form in view mode. Is this possible? Thank you for your assistance
-
I am using a custom form and still not getting data returned for fieldId: 'customform'. Here is a screen shot of the NetSuite Field Explorer extension showing the customform field and the form number. I just can't extract it with my code.
-
When I log the record, I don't see the field for customform.
-
Nicole, My log is coming back blank for the formID. Any thoughts? Here is my script: function beforeLoad(context) { if (context.type === context.UserEventType.VIEW) { var curRecord = context.newRecord var formID = curRecord.getValue({ fieldId: 'customform' }) log.debug('FORM ID',formID)
-
Is their a solution for this in version 2.0?