DBA Data[Home] [Help]

APPS.FII_AP_INV_SOURCE_M_C dependencies on FII_AP_INV_SOURCE_M_C

Line 1: Package Body FII_AP_INV_SOURCE_M_C AS

1: Package Body FII_AP_INV_SOURCE_M_C AS
2: /* $Header: FIIAP02B.pls 120.2 2002/11/20 19:47:04 djanaswa ship $ */
3: G_PUSH_DATE_RANGE1 Date:=Null;
4: G_PUSH_DATE_RANGE2 Date:=Null;
5: g_row_count Number:=0;

Line 33: FII_AP_INV_SOURCE_M_C.g_push_date_range1 := nvl(l_from_date,

29: IF (Not EDW_COLLECTION_UTIL.setup(l_dimension_name)) THEN
30: errbuf := fnd_message.get;
31: RAISE_APPLICATION_ERROR(-20000,'Error in SETUP: ' || errbuf);
32: END IF;
33: FII_AP_INV_SOURCE_M_C.g_push_date_range1 := nvl(l_from_date,
34: EDW_COLLECTION_UTIL.G_local_last_push_start_date - EDW_COLLECTION_UTIL.g_offset);
35: FII_AP_INV_SOURCE_M_C.g_push_date_range2 := nvl(l_to_date,EDW_COLLECTION_UTIL.G_local_curr_push_start_date);
36: edw_log.put_line( 'The collection range is from '||
37: to_char(FII_AP_INV_SOURCE_M_C.g_push_date_range1,'MM/DD/YYYY HH24:MI:SS')||' to '||

Line 35: FII_AP_INV_SOURCE_M_C.g_push_date_range2 := nvl(l_to_date,EDW_COLLECTION_UTIL.G_local_curr_push_start_date);

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

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

33: FII_AP_INV_SOURCE_M_C.g_push_date_range1 := nvl(l_from_date,
34: EDW_COLLECTION_UTIL.G_local_last_push_start_date - EDW_COLLECTION_UTIL.g_offset);
35: FII_AP_INV_SOURCE_M_C.g_push_date_range2 := nvl(l_to_date,EDW_COLLECTION_UTIL.G_local_curr_push_start_date);
36: edw_log.put_line( 'The collection range is from '||
37: to_char(FII_AP_INV_SOURCE_M_C.g_push_date_range1,'MM/DD/YYYY HH24:MI:SS')||' to '||
38: to_char(FII_AP_INV_SOURCE_M_C.g_push_date_range2,'MM/DD/YYYY HH24:MI:SS'));
39: edw_log.put_line(' ');
40:
41: -- -----------------------------------------------------------------------------

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

34: EDW_COLLECTION_UTIL.G_local_last_push_start_date - EDW_COLLECTION_UTIL.g_offset);
35: FII_AP_INV_SOURCE_M_C.g_push_date_range2 := nvl(l_to_date,EDW_COLLECTION_UTIL.G_local_curr_push_start_date);
36: edw_log.put_line( 'The collection range is from '||
37: to_char(FII_AP_INV_SOURCE_M_C.g_push_date_range1,'MM/DD/YYYY HH24:MI:SS')||' to '||
38: to_char(FII_AP_INV_SOURCE_M_C.g_push_date_range2,'MM/DD/YYYY HH24:MI:SS'));
39: edw_log.put_line(' ');
40:
41: -- -----------------------------------------------------------------------------
42: -- Start of Collection , Developer Customizable Section

Line 51: Push_EDW_IVSR_INV_SOURCE_LSTG(FII_AP_INV_SOURCE_M_C.g_push_date_range1, FII_AP_INV_SOURCE_M_C.g_push_date_range2);

47:
48: l_temp_date := sysdate;
49:
50:
51: Push_EDW_IVSR_INV_SOURCE_LSTG(FII_AP_INV_SOURCE_M_C.g_push_date_range1, FII_AP_INV_SOURCE_M_C.g_push_date_range2);
52:
53:
54: l_duration := sysdate - l_temp_date;
55:

Line 68: FII_AP_INV_SOURCE_M_C.g_exception_msg := l_exception_msg;

64: Exception When others then
65: Errbuf:=sqlerrm;
66: Retcode:=sqlcode;
67: l_exception_msg := Retcode || ':' || Errbuf;
68: FII_AP_INV_SOURCE_M_C.g_exception_msg := l_exception_msg;
69: rollback;
70: EDW_COLLECTION_UTIL.wrapup(FALSE, 0, FII_AP_INV_SOURCE_M_C.g_exception_msg,g_push_date_range1, g_push_date_range2);
71:
72: commit;

Line 70: EDW_COLLECTION_UTIL.wrapup(FALSE, 0, FII_AP_INV_SOURCE_M_C.g_exception_msg,g_push_date_range1, g_push_date_range2);

66: Retcode:=sqlcode;
67: l_exception_msg := Retcode || ':' || Errbuf;
68: FII_AP_INV_SOURCE_M_C.g_exception_msg := l_exception_msg;
69: rollback;
70: EDW_COLLECTION_UTIL.wrapup(FALSE, 0, FII_AP_INV_SOURCE_M_C.g_exception_msg,g_push_date_range1, g_push_date_range2);
71:
72: commit;
73: End;
74:

Line 129: End FII_AP_INV_SOURCE_M_C;

125: Exception When others then
126: raise;
127: commit;
128: END;
129: End FII_AP_INV_SOURCE_M_C;