modification on total orders and /cus_neworder. Java not implemented yet.