Implemented insert into 'order' and 'neworder' tables.