[IMP] Purchase: Optimize Purcase Code for merging PO