update PO_LINE_LOCATIONS_ALL pll set pll.match_option='P'
where
pll.inspection_required_flag='N'
and pll.receipt_required_flag='N'
and pll.match_option='R'
where
pll.inspection_required_flag='N'
and pll.receipt_required_flag='N'
and pll.match_option='R'