96:
97: l_batch_header.batch_id := x_batch_step_rec.batch_id;
98:
99: /* Initialize local batch header */
100: IF NOT (gme_batch_header_dbl.fetch_row (l_batch_header, l_batch_header) ) THEN
101: RAISE batch_header_fetch_error;
102: END IF;
103: /* Load resource transactions in temp table */
104: gme_trans_engine_util.load_rsrc_trans
2006: END IF;
2007:
2008: l_batch_hdr.batch_id := p_batch_step_resources_rec.batch_id;
2009:
2010: IF NOT gme_batch_header_dbl.fetch_row (p_batch_header => l_batch_hdr
2011: ,x_batch_header => l_batch_hdr) THEN
2012: RAISE fnd_api.g_exc_error;
2013: END IF;
2014:
2187: /* Step 2 : */
2188: IF l_sum_comp_usage <> p_batch_step_resources_rec.actual_rsrc_usage THEN
2189: l_batch_hdr.batch_id := p_batch_step_resources_rec.batch_id;
2190:
2191: IF NOT gme_batch_header_dbl.fetch_row
2192: (p_batch_header => l_batch_hdr
2193: ,x_batch_header => l_batch_hdr) THEN
2194: RAISE fnd_api.g_exc_error;
2195: END IF;