I have a flow where a Transfer Order should first get an Item Fulfillment, and then an Item Receipt. I want to account for a case where the transactions may have duplicate skus on them, so I thought I would match up the lines by line number. However, I am seeing some wonky behavior with line numbers... The transfer order "line" field is 1, but then when I create the Item fulfillment, "line" is 0 and "orderline" is 2, neither of which makes sense. And finally if I make the Item Receipt, then "line" and "orderline" are both 3!
Can anyone help me understand what is happening here so that I can figure out a workaround? I thought maybe using "lineuniquekey" would work but that seems to only be on the Transfer Order transaction