81: RETURN BOOLEAN
82: IS
83: CURSOR status_cur IS
84: SELECT po_status
85: FROM cpg_oragems_mapping
86: WHERE po_id = G_po_id
87: AND line_id = G_poline_id;
88:
89: v_status cpg_oragems_mapping.po_status%TYPE;
85: FROM cpg_oragems_mapping
86: WHERE po_id = G_po_id
87: AND line_id = G_poline_id;
88:
89: v_status cpg_oragems_mapping.po_status%TYPE;
90:
91: err_num NUMBER;
92: err_msg VARCHAR2(100);
93:
399: PROCEDURE recv_mv
400: IS
401:
402:
403: v_po_header_id cpg_oragems_mapping.po_header_id%TYPE;
404: v_po_line_id cpg_oragems_mapping.po_line_id%TYPE;
405: v_line_location_id cpg_oragems_mapping.po_line_location_id%TYPE;
406: v_po_release_id cpg_oragems_mapping.po_release_id%TYPE;
407:
400: IS
401:
402:
403: v_po_header_id cpg_oragems_mapping.po_header_id%TYPE;
404: v_po_line_id cpg_oragems_mapping.po_line_id%TYPE;
405: v_line_location_id cpg_oragems_mapping.po_line_location_id%TYPE;
406: v_po_release_id cpg_oragems_mapping.po_release_id%TYPE;
407:
408: err_num NUMBER;
401:
402:
403: v_po_header_id cpg_oragems_mapping.po_header_id%TYPE;
404: v_po_line_id cpg_oragems_mapping.po_line_id%TYPE;
405: v_line_location_id cpg_oragems_mapping.po_line_location_id%TYPE;
406: v_po_release_id cpg_oragems_mapping.po_release_id%TYPE;
407:
408: err_num NUMBER;
409: err_msg VARCHAR2(100);
402:
403: v_po_header_id cpg_oragems_mapping.po_header_id%TYPE;
404: v_po_line_id cpg_oragems_mapping.po_line_id%TYPE;
405: v_line_location_id cpg_oragems_mapping.po_line_location_id%TYPE;
406: v_po_release_id cpg_oragems_mapping.po_release_id%TYPE;
407:
408: err_num NUMBER;
409: err_msg VARCHAR2(100);
410: