acameron
06/19/2018, 6:01 PMjkabot
06/19/2018, 6:16 PMline
parameter in API calls that interact with sublists refers to the position of the item, and not to any field
there just happens to also be a (to my knowledge) mostly undocumented field called line
that netsuite uses internallycreece
06/19/2018, 6:17 PMcreece
06/19/2018, 6:17 PMjkabot
06/19/2018, 6:18 PMline
parameter refers to the position of the item and not to a fieldacameron
06/19/2018, 6:18 PMcreece
06/19/2018, 6:19 PMacameron
06/19/2018, 6:20 PMacameron
06/19/2018, 6:20 PMacameron
06/19/2018, 6:21 PMjkabot
06/19/2018, 6:21 PMjkabot
06/19/2018, 6:21 PMacameron
06/19/2018, 6:21 PMacameron
06/19/2018, 6:43 PMjkabot
06/19/2018, 6:46 PMacameron
06/19/2018, 6:47 PMjkabot
06/19/2018, 6:52 PMline
field
rec.findSublistLineWithValue({ sublistId: 'item', fieldId: 'line', value: '1' }) // output: 0
acameron
06/19/2018, 6:59 PMacameron
06/19/2018, 6:59 PMacameron
06/19/2018, 6:59 PMacameron
06/19/2018, 7:00 PMjkabot
06/19/2018, 7:01 PMacameron
06/19/2018, 7:01 PMacameron
06/19/2018, 7:02 PMacameron
06/19/2018, 7:02 PMacameron
06/19/2018, 7:02 PMacameron
06/19/2018, 7:02 PMacameron
06/19/2018, 7:02 PMacameron
06/19/2018, 7:03 PMjkabot
06/19/2018, 7:03 PMjkabot
06/19/2018, 7:03 PMjkabot
06/19/2018, 7:03 PMacameron
06/19/2018, 7:03 PMif(lineid == wrxLine){
acameron
06/19/2018, 7:04 PMjkabot
06/19/2018, 7:04 PMline
field you could roll your own findSublistLineWithValue that "works correctly"acameron
06/19/2018, 7:05 PMacameron
06/19/2018, 7:05 PMjkabot
06/19/2018, 7:05 PMacameron
06/19/2018, 7:05 PMacameron
06/19/2018, 7:05 PMacameron
06/19/2018, 7:05 PMjkabot
06/19/2018, 7:05 PMjkabot
06/19/2018, 7:06 PMjkabot
06/19/2018, 7:06 PMacameron
06/19/2018, 7:06 PMjkabot
06/19/2018, 7:06 PMacameron
06/19/2018, 7:07 PMjkabot
06/19/2018, 7:07 PMjkabot
06/19/2018, 7:08 PMjkabot
06/19/2018, 7:08 PMcreece
06/19/2018, 7:08 PMjkabot
06/19/2018, 7:09 PMcreece
06/19/2018, 7:14 PMacameron
06/19/2018, 7:43 PMcreece
06/19/2018, 7:44 PM