[Home] [Help]
46: l_back_flush NUMBER;
47: l_error_count NUMBER;
48: l_row_count NUMBER;
49: l_return_status VARCHAR2 (1);
50: l_ins_history gme_batch_history%ROWTYPE;
51: l_batch_step gme_batch_steps%ROWTYPE;
52: l_batch_steps_tab gme_close_batch_pvt.step_details_tab;
53: l_batch_header gme_batch_header%ROWTYPE;
54: l_in_batch_header gme_batch_header%ROWTYPE;
520: IS
521: /* Local variable definitions */
522: l_return_status VARCHAR2 (1);
523: /* Buffers for database reads/writes */
524: l_ins_history gme_batch_history%ROWTYPE;
525: l_api_name CONSTANT VARCHAR2 (30) := 'CREATE_HISTORY';
526: BEGIN
527: l_ins_history.batch_id := p_batch_header_rec.batch_id;
528: l_ins_history.orig_status := 3;
532: l_ins_history.new_wip_whse := p_batch_header_rec.wip_whse_code;
533: */
534: l_ins_history.gl_posted_ind := 0;
535:
536: IF NOT (gme_batch_history_dbl.insert_row (l_ins_history, l_ins_history) ) THEN
537: RETURN FALSE;
538: ELSE
539: RETURN TRUE;
540: END IF;