I am trying to see if a Part that i have on a MMR is currently on a PR i tried to use the below column SQL but keep getting a error message that missing expression, did i do this one wrong
(CASE WHEN (SELECT COUNT(mmr.PART_NO) FROM &AO.maint_material_req_line mmr WHERE mmr.IS_CLOSED = 0 AND mmr.PART_NO = &AO.purchase_order_api.Get _Part_No(order_no)) >0 THEN 'MMR' ELSE 'NO MMR' END)