DBA Data[Home] [Help]

APPS.FII_AR_SIC_CODE_M_C dependencies on FII_AR_SIC_CODE_M_C

Line 1: Package Body FII_AR_SIC_CODE_M_C AS

1: Package Body FII_AR_SIC_CODE_M_C AS
2: /* $Header: FIIAR02B.pls 120.1 2004/03/01 05:42:11 sgautam ship $ */
3: g_debug_flag VARCHAR2(1) := NVL(FND_PROFILE.value('EDW_DEBUG'), 'N');
4: G_PUSH_DATE_RANGE1 Date:=Null;
5: G_PUSH_DATE_RANGE2 Date:=Null;

Line 34: FII_AR_SIC_CODE_M_C.g_push_date_range1 := nvl(l_from_date,

30: IF (Not EDW_COLLECTION_UTIL.setup(l_dimension_name)) THEN
31: errbuf := fnd_message.get;
32: RAISE_APPLICATION_ERROR(-20000,'Error in SETUP: ' || errbuf);
33: END IF;
34: FII_AR_SIC_CODE_M_C.g_push_date_range1 := nvl(l_from_date,
35: EDW_COLLECTION_UTIL.G_local_last_push_start_date - EDW_COLLECTION_UTIL.g_offset);
36: FII_AR_SIC_CODE_M_C.g_push_date_range2 := nvl(l_to_date,EDW_COLLECTION_UTIL.G_local_curr_push_start_date);
37: if g_debug_flag = 'Y' then
38: edw_log.put_line( 'The collection range is from '||

Line 36: FII_AR_SIC_CODE_M_C.g_push_date_range2 := nvl(l_to_date,EDW_COLLECTION_UTIL.G_local_curr_push_start_date);

32: RAISE_APPLICATION_ERROR(-20000,'Error in SETUP: ' || errbuf);
33: END IF;
34: FII_AR_SIC_CODE_M_C.g_push_date_range1 := nvl(l_from_date,
35: EDW_COLLECTION_UTIL.G_local_last_push_start_date - EDW_COLLECTION_UTIL.g_offset);
36: FII_AR_SIC_CODE_M_C.g_push_date_range2 := nvl(l_to_date,EDW_COLLECTION_UTIL.G_local_curr_push_start_date);
37: if g_debug_flag = 'Y' then
38: edw_log.put_line( 'The collection range is from '||
39: to_char(FII_AR_SIC_CODE_M_C.g_push_date_range1,'MM/DD/YYYY HH24:MI:SS')||' to '||
40: to_char(FII_AR_SIC_CODE_M_C.g_push_date_range2,'MM/DD/YYYY HH24:MI:SS'));

Line 39: to_char(FII_AR_SIC_CODE_M_C.g_push_date_range1,'MM/DD/YYYY HH24:MI:SS')||' to '||

35: EDW_COLLECTION_UTIL.G_local_last_push_start_date - EDW_COLLECTION_UTIL.g_offset);
36: FII_AR_SIC_CODE_M_C.g_push_date_range2 := nvl(l_to_date,EDW_COLLECTION_UTIL.G_local_curr_push_start_date);
37: if g_debug_flag = 'Y' then
38: edw_log.put_line( 'The collection range is from '||
39: to_char(FII_AR_SIC_CODE_M_C.g_push_date_range1,'MM/DD/YYYY HH24:MI:SS')||' to '||
40: to_char(FII_AR_SIC_CODE_M_C.g_push_date_range2,'MM/DD/YYYY HH24:MI:SS'));
41: edw_log.put_line(' ');
42: end if;
43:

Line 40: to_char(FII_AR_SIC_CODE_M_C.g_push_date_range2,'MM/DD/YYYY HH24:MI:SS'));

36: FII_AR_SIC_CODE_M_C.g_push_date_range2 := nvl(l_to_date,EDW_COLLECTION_UTIL.G_local_curr_push_start_date);
37: if g_debug_flag = 'Y' then
38: edw_log.put_line( 'The collection range is from '||
39: to_char(FII_AR_SIC_CODE_M_C.g_push_date_range1,'MM/DD/YYYY HH24:MI:SS')||' to '||
40: to_char(FII_AR_SIC_CODE_M_C.g_push_date_range2,'MM/DD/YYYY HH24:MI:SS'));
41: edw_log.put_line(' ');
42: end if;
43:
44: -- -----------------------------------------------------------------------------

Line 55: Push_EDW_SICM_SIC_LSTG(FII_AR_SIC_CODE_M_C.g_push_date_range1, FII_AR_SIC_CODE_M_C.g_push_date_range2);

51:
52: l_temp_date := sysdate;
53:
54:
55: Push_EDW_SICM_SIC_LSTG(FII_AR_SIC_CODE_M_C.g_push_date_range1, FII_AR_SIC_CODE_M_C.g_push_date_range2);
56:
57:
58: l_duration := sysdate - l_temp_date;
59:

Line 74: FII_AR_SIC_CODE_M_C.g_exception_msg := l_exception_msg;

70: Exception When others then
71: Errbuf:=sqlerrm;
72: Retcode:=sqlcode;
73: l_exception_msg := Retcode || ':' || Errbuf;
74: FII_AR_SIC_CODE_M_C.g_exception_msg := l_exception_msg;
75: rollback;
76: EDW_COLLECTION_UTIL.wrapup(FALSE, 0, FII_AR_SIC_CODE_M_C.g_exception_msg,g_push_date_range1, g_push_date_range2);
77:
78: commit;

Line 76: EDW_COLLECTION_UTIL.wrapup(FALSE, 0, FII_AR_SIC_CODE_M_C.g_exception_msg,g_push_date_range1, g_push_date_range2);

72: Retcode:=sqlcode;
73: l_exception_msg := Retcode || ':' || Errbuf;
74: FII_AR_SIC_CODE_M_C.g_exception_msg := l_exception_msg;
75: rollback;
76: EDW_COLLECTION_UTIL.wrapup(FALSE, 0, FII_AR_SIC_CODE_M_C.g_exception_msg,g_push_date_range1, g_push_date_range2);
77:
78: commit;
79: End;
80:

Line 143: End FII_AR_SIC_CODE_M_C;

139: Exception When others then
140: raise;
141: commit;
142: END;
143: End FII_AR_SIC_CODE_M_C;