@lleclerc_zlab The line id or line number is not there until the record is saved as far as I know...
Also if you don't implement your own line numbering system I'm afraid that validation is not going to be useful since line id/number does not refresh/continue when lines are added or deleted it just keep it in increment which mean:
- If you have a transaction with 20 Lines you would assume you have line 1 to 20.
- If line 3 is deleted and new line is inserted in that position that would be line 21 even if the line is visually at position 3.