API to check Contract Approved or not
Hello,
Please can anyone help me to find out any API which will after QA check when going for Submit for Approval ?
I found one but as i haven't used not sure:
Is the below one checks Contract is Approved or not?
okc_contract_approval_pub.k_approved
(p_contract_id => lx_chrid
,p_date_approved => sysdate
,x_return_status => lx_return_status
);
IF lx_return_status != 'S' THEN
dbms_output.put_line('Unable to Approve');
RAISE exc_failed;
END IF;