I'm importing orders into a temporary table. There are two types of records that will be imported. 1) Header records (IH), 2) Detail records (ID). As soon as the records are into the temporary table, I am appending the Header records to the header table, and the detail records to the detail...