I have created 2 new tables Header and Line.
In the Line table I have added a Header No. field that links the Line records to the Header records. I have added a Line No. field in the Line table.
How do I set the Line No in the Line table to get numbers 10000, 20000 etc.
I tried looking at the Sales Header and Sales Line tables to get some idea but I can't find the part that Line No is initialized.