Thanks. I was using this, and I have no idea why I...
# suitescript
k
Thanks. I was using this, and I have no idea why I can't search for a line by this field:
s
Try "Line Sequence Number" in the filters
I didn't think "Line ID" was even a filter option? I admit I'm not sure of the exact difference (if any, practically) between Line ID and Line Sequence Number?
k
The value I have stored in my custom record is one of these, and unfortunately I've tried to search for both and neither works:
but lineuniquekey does work, so now I have to go update the lineuniquekey on all my records. It's a pain, but oh well
s
warning - you can't really use that line number integer as a reliable key to match up with any other records, custom or otherwise.
so using lineuniquekey is probably how you should have done it in the first place, if that's any consolation.
s
@Kevin McKee This may be off the wall but have you looked at the typeof lineid? in the record browser line is an integer if you are inadvertantly passing a string it will not match? otherwise this looks like it should work.