autopopulate order view