47:
48: l_temp_date := sysdate;
49:
50:
51: Push_EDW_RESR_REV_SRC_LSTG(FII_AR_REV_SOURCE_M_C.g_push_date_range1, FII_AR_REV_SOURCE_M_C.g_push_date_range2);
52:
53:
54: l_duration := sysdate - l_temp_date;
55:
72: commit;
73: End;
74:
75:
76: Procedure Push_EDW_RESR_REV_SRC_LSTG(p_from_date IN date, p_to_date IN DATE) IS
77: l_date1 DATE;
78: l_date2 DATE;
79: l_rows_inserted NUMBER :=0;
80: BEGIN
77: l_date1 DATE;
78: l_date2 DATE;
79: l_rows_inserted NUMBER :=0;
80: BEGIN
81: edw_log.put_line('Starting Push_EDW_RESR_REV_SRC_LSTG');
82: l_date1 := p_from_date;
83: l_date2 := p_to_date;
84: Insert Into
85: EDW_RESR_REV_SRC_LSTG(
81: edw_log.put_line('Starting Push_EDW_RESR_REV_SRC_LSTG');
82: l_date1 := p_from_date;
83: l_date2 := p_to_date;
84: Insert Into
85: EDW_RESR_REV_SRC_LSTG(
86: ALL_FK,
87: DESCRIPTION,
88: INSTANCE,
89: NAME,
115:
116:
117: l_rows_inserted := sql%rowcount;
118: g_row_count := g_row_count + l_rows_inserted ;
119: edw_log.put_line('Commiting records for EDW_RESR_REV_SRC_LSTG');
120: commit;
121:
122: edw_log.put_line('Completed Push_EDW_RESR_REV_SRC_LSTG');
123: Exception When others then
118: g_row_count := g_row_count + l_rows_inserted ;
119: edw_log.put_line('Commiting records for EDW_RESR_REV_SRC_LSTG');
120: commit;
121:
122: edw_log.put_line('Completed Push_EDW_RESR_REV_SRC_LSTG');
123: Exception When others then
124: raise;
125: commit;
126: END;