added local interface of purchase order functions