Purchase Order Generation Routine changes

- included purchase order payment records insertion.