IF the order and order details tables already exist, it will try to use those tables, but if there are structure differences, the code wont be created correctly.
you would be best at this point to use the tables created by the wizard, then make any necessary updates to those tables after they are created.