My Stuff
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…