when you use the NEXT feature, Then Sage looks at header data and if ANY header field changes then Sage assumes this is a new order. For example in your case, since your ship address changes from ""Ship 1"" to a blank field then a new order is started for the second line. I think you may need to reformat your source data if you want to use NEXT functionality