4798: ) IS
4799: l_matl_dtl pm_matl_dtl_bak%ROWTYPE;
4800: l_item_mst ic_item_mst%ROWTYPE;
4801: l_ic_tran_pnd ic_tran_pnd%ROWTYPE;
4802: l_whse_loct_ctl ic_whse_mst.whse_code%TYPE;
4803: l_def_lot_found BOOLEAN;
4804:
4805: CURSOR cur_get_def_trans (
4806: v_batch_id pm_btch_hdr_bak.batch_id%TYPE,
4826: trans_id;
4827:
4828: CURSOR cur_get_whse_ctl (v_whse_code IN VARCHAR2) IS
4829: SELECT loct_ctl
4830: FROM ic_whse_mst
4831: WHERE whse_code = v_whse_code;
4832:
4833: CURSOR cur_get_batch_info (v_batch_id IN NUMBER) IS
4834: SELECT batch_no,