Any ideas how to import data for the Work Order module to record material issues with Lot/Serial Number Distribution

I am able to import records into the WOS and WOU files individually through visual integrator, but the issue I am having is how to determine the Line Index for the WOU file.  I can get the index from the WOS file after I import it in, but I would like to be able to import both at the same time and not have to look up the proper Line Index Number manually.  Can this be done through Visual Integrator or by some other means?