<@UAPHBR6TS> i set up line uniquekey as the field ...
# general
o
@Gregory Jones i set up line uniquekey as the field but anyway to automate it (i.e..inline)
g
Not sure i understand what you mean by automate?
o
so that everytime you add a new line item the field goes from 1..2...3
b
And would the next transaction go 1 2 3
Or 4 5 6
o
goal is to have each line number as unique so if you delete say number 3 it would be 1..2..4...5..6
kind of like an internal ID but for each line item
b
Same question
Would the next transaction start over
Or continue the sequence
o
start over
g
@Ogabeg {lineid} does that
💯 1
o
hmm ill check that out
b
@Gregory Jones is correct, netsuite already haa a field that does that
o
i see linesequencenumber but no lineid
g
Where are you looking? Saved Search?
o
anyway to add it directly to a SO form
g
Not sure. I've only ever needed to see it via transaction saved search.
If you can't see it when editing a custom transaction line field, then my guess would be no, at least not without scripting.
o
ahh thats what i was assuming, thought perhaps there was a non scripting route
g
Yeah, I wasn't sure about this one in particular, but seems to be the case.
o
yeah it seems to only allow line sequence number on the form but not line ID
b
{line}
g
Good call @battk!
that works.
o
give me and error, did you just put {line} in the formula box
b
yes
what type of field do you have
g
@Ogabeg i set mine as free-form text, unchecked store value, display type: disabled, and added {line} in formula box
o
i keep getting ERROR: Field "line" not found
b
which transaction?
o
sales order
b
create or edit
o
create
b
there is no line when the tranaction is created. Line is generated after it is saved
o
ahh okay let me try
NICE!!! it works...gloriously done thanks @Gregory Jones and @battk
party furby 1
only down side is that it shows an error when entering data for the SO, but thats a minor