initial purchase order functionality