Is there a way to assign a line number to the SO l...
# general
l
Is there a way to assign a line number to the SO lines? It does not have to be unique. It just needs to start with 1 and increment by one for every row. I need to show this on the printed SO. I have a custom field with default formula of {line}. It works except when you remove an item in the middle. The line numbers do not adjust to still show 1, 2, 3, etc. and not skip a number due to the removed item.
m
Did you try
linesequencenumber
? Do you even need a field? Can't you just use the index loop builtin in Freemarker?
l
I tried {linenumber} and it worked. Thanks anyway.