When I try to add new line and `selectLine()` it r...
# suitescript
b
When I try to add new line and
selectLine()
it returns an error that
SSS_INVALID_SUBLIST_OPERATION
This is because that line is not exist. If I use
selectNewLine()
it works. But I can't use this because I have already existing lines. Is there any method that I can check if that line is new line or not by linekey please?
s
You can use selectNewLine when there are other lines that already exist, I don't understand the problem.
b
@Sandii the first column is SELECT field and when that field is changed I want to change 2nd column in sublist It will add new line if I use
selectNewLine()
b
share the code