modify mode added to purchase order detail