The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT requisition_line_id,
line_location_id
FROM po_requisition_lines_all
WHERE requisition_header_id = hdr_id;
SELECT requisition_line_id,
line_location_id
FROM po_requisition_lines_all
WHERE requisition_header_id = hdr_id;
SELECT Count(*)
INTO l_line_to_withdraw_count
FROM po_requisition_lines_all
WHERE REQUISITION_HEADER_ID = p_req_hdr_id
AND LINE_LOCATION_ID IS NULL
AND nvl(CANCEL_FLAG,'N') = 'N'
AND nvl(CLOSED_CODE,'OPEN') NOT IN ('FINALLY CLOSED');
PROCEDURE update_reqcancel_from_so(
p_api_version IN NUMBER
, x_return_status OUT NOCOPY VARCHAR2
, p_req_hdr_id IN NUMBER
, p_req_line_id IN NUMBER
)
IS
l_api_name CONSTANT VARCHAR2(30) := 'update_ReqCancel_from_SO';
SAVEPOINT update_reqcancel_from_so_sp;
po_debug.debug_stmt(l_log_head, l_progress,'Calling Private Procedure update_ReqCancel_from_SO');
po_rco_validation_pvt.update_reqcancel_from_so(p_req_hdr_id => p_req_hdr_id
, p_req_line_id => p_req_line_id
, x_return_status => x_return_status);
po_debug.debug_stmt(l_log_head, l_progress,'After Private Procedure update_ReqCancel_from_SO');
ROLLBACK TO update_reqcancel_from_so_sp;
ROLLBACK TO update_reqcancel_from_so_sp;
ROLLBACK TO update_reqcancel_from_so_sp;
END update_reqcancel_from_so;
PROCEDURE update_reqchange_from_so(
p_api_version IN NUMBER
, x_return_status OUT NOCOPY VARCHAR2
, p_req_line_id IN NUMBER
, p_delta_quantity IN NUMBER
, p_new_need_by_date IN DATE
)
IS
l_api_name CONSTANT VARCHAR2(30) := 'update_ReqChange_from_SO';
SAVEPOINT update_reqchange_from_so_sp;
po_debug.debug_stmt(l_log_head, l_progress,'Calling Private Procedure update_ReqCancel_from_SO');
po_rco_validation_pvt.update_reqchange_from_so(
p_req_line_id => p_req_line_id
, p_delta_quantity => p_delta_quantity
, p_new_need_by_date => p_new_need_by_date
, x_return_status => x_return_status);
po_debug.debug_stmt(l_log_head, l_progress,'After Private Procedure update_ReqChange_from_SO');
ROLLBACK TO update_reqcancel_from_so_sp;
ROLLBACK TO update_reqcancel_from_so_sp;
ROLLBACK TO update_reqcancel_from_so_sp;
END update_reqchange_from_so;