Hi everyone, does anybody knows if theres a way in...
# suitescript
j
Hi everyone, does anybody knows if theres a way in that N/record receive a list of ids and update a field?}
e
A list of what IDs? Update what kind of field with what value?
j
A list of Internal ID's, its a text field
e
How do you want the IDs separated in the text?
j
I got: Internal_ids=[12345,67890,567878]; New_Value="this is a test"; myField=custbody_i_am_a_test rigth now i'm making a for each sending a record.submitFields
b
yeah I would do a
.forEach()
on the array also...what's the maximum number of IDs in the array in your project? you could run into Netsuite's governance issues if it's a lot
e
Oh, I misunderstood. Yes that's the way to do it then.