Added unique constraint for fields in purchase order table Rewritten get method in purchase order api