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
-
This is what I have to update this custom line field, but it's not being populated by anything. /** * @NApiVersion 2.x * @NScriptType UserEventScript */ define(['N/record'], function(record) { function afterSubmit(context) { var salesOrderRecord = context.newRecord; var recordId = context.newRecord.id; var objRecord =…
-
Do you know coding-wise, how would I best go about doing that? I know the lines have an Order Line or Line ID I can probably use
-
This works beautifully! I want to modify it slightly. How can I make it only work when the "createdfrom" record type is a Sales Order? Thank you for all your help!!
-
I implemented it, but it's returning the error "cannot read properties of (reading 'get_value')". the following is my code. Also, how do I include an If statement that only makes the script run if the "createdfrom" record is Sales Order type and not empty? /** *@NApiVersion 2.x *@NScriptType ClientScript *@NModuleScope…