so.. one of my accountants discovered something super weird today that i thought i should share:
if you enter a JE with 2 lines against one subsidiary and save, the Journal Entry line IDs are 0 and 1 as they should be. but if you edit the same journal entry, remove the lines, change the subsidiary, and add two new lines, the line ID becomes 3 and 4.