Set LineNumber properly when building order items