https://netsuiteprofessionals.com logo
Title
p

prachi

12/04/2018, 11:42 AM
Any one can tell me how to write the script, to get the item value from the transaction
s

samyt

12/04/2018, 12:13 PM
which script type you want to fetch the information?
p

prachi

12/04/2018, 1:09 PM
user event
s

samyt

12/04/2018, 3:31 PM
you can use context.newRecord
context.newRecord.getSublistValue({sublistId:'sublistId,fieldId:'columnId',line:lineNumber})
p

prachi

12/04/2018, 3:33 PM
ok thank u
s

samyt

12/04/2018, 3:33 PM
context.newRecord.getLineCount({"sublistId": "sublistId"}); using this you can get the count and loop