I think I've always had to split up the files whenever I've imported stuff that required setting Lot/Serial values. Like you set up a header file, a line file, and a Lot/Serial file, then join them together in the importer. Someone smarter than me may know how to do it in one file, but I could never get it to work