1: PACKAGE BODY IGI_ITR_GL_INTERFACE_PKG AS
2: -- $Header: igiitrpb.pls 120.10.12020000.1 2012/06/27 10:56:36 appldev ship $
3: Cursor C_period(
4: p_set_of_books_id IN igi_itr_charge_headers.set_of_books_id%type,
5: p_period_name IN igi_itr_charge_headers.it_period_name%type) IS
111: null;
112: End if;
113: End Writelog;
114:
115: Procedure Gl_Interface_Insert(
116: p_status IN gl_interface.status%type,
117: p_set_of_books_id IN gl_interface.set_of_books_id%type,
118: p_accounting_date IN gl_interface.accounting_date%type,
119: p_currency_code IN gl_interface.currency_code%type,
112: End if;
113: End Writelog;
114:
115: Procedure Gl_Interface_Insert(
116: p_status IN gl_interface.status%type,
117: p_set_of_books_id IN gl_interface.set_of_books_id%type,
118: p_accounting_date IN gl_interface.accounting_date%type,
119: p_currency_code IN gl_interface.currency_code%type,
120: p_date_created IN gl_interface.date_created%type,
113: End Writelog;
114:
115: Procedure Gl_Interface_Insert(
116: p_status IN gl_interface.status%type,
117: p_set_of_books_id IN gl_interface.set_of_books_id%type,
118: p_accounting_date IN gl_interface.accounting_date%type,
119: p_currency_code IN gl_interface.currency_code%type,
120: p_date_created IN gl_interface.date_created%type,
121: p_created_by IN gl_interface.created_by%type,
114:
115: Procedure Gl_Interface_Insert(
116: p_status IN gl_interface.status%type,
117: p_set_of_books_id IN gl_interface.set_of_books_id%type,
118: p_accounting_date IN gl_interface.accounting_date%type,
119: p_currency_code IN gl_interface.currency_code%type,
120: p_date_created IN gl_interface.date_created%type,
121: p_created_by IN gl_interface.created_by%type,
122: p_actual_flag IN gl_interface.actual_flag%type,
115: Procedure Gl_Interface_Insert(
116: p_status IN gl_interface.status%type,
117: p_set_of_books_id IN gl_interface.set_of_books_id%type,
118: p_accounting_date IN gl_interface.accounting_date%type,
119: p_currency_code IN gl_interface.currency_code%type,
120: p_date_created IN gl_interface.date_created%type,
121: p_created_by IN gl_interface.created_by%type,
122: p_actual_flag IN gl_interface.actual_flag%type,
123: p_user_je_category_name IN gl_interface.user_je_category_name%type,
116: p_status IN gl_interface.status%type,
117: p_set_of_books_id IN gl_interface.set_of_books_id%type,
118: p_accounting_date IN gl_interface.accounting_date%type,
119: p_currency_code IN gl_interface.currency_code%type,
120: p_date_created IN gl_interface.date_created%type,
121: p_created_by IN gl_interface.created_by%type,
122: p_actual_flag IN gl_interface.actual_flag%type,
123: p_user_je_category_name IN gl_interface.user_je_category_name%type,
124: p_user_je_source_name IN gl_interface.user_je_source_name%type,
117: p_set_of_books_id IN gl_interface.set_of_books_id%type,
118: p_accounting_date IN gl_interface.accounting_date%type,
119: p_currency_code IN gl_interface.currency_code%type,
120: p_date_created IN gl_interface.date_created%type,
121: p_created_by IN gl_interface.created_by%type,
122: p_actual_flag IN gl_interface.actual_flag%type,
123: p_user_je_category_name IN gl_interface.user_je_category_name%type,
124: p_user_je_source_name IN gl_interface.user_je_source_name%type,
125: p_entered_dr IN gl_interface.entered_dr%type,
118: p_accounting_date IN gl_interface.accounting_date%type,
119: p_currency_code IN gl_interface.currency_code%type,
120: p_date_created IN gl_interface.date_created%type,
121: p_created_by IN gl_interface.created_by%type,
122: p_actual_flag IN gl_interface.actual_flag%type,
123: p_user_je_category_name IN gl_interface.user_je_category_name%type,
124: p_user_je_source_name IN gl_interface.user_je_source_name%type,
125: p_entered_dr IN gl_interface.entered_dr%type,
126: p_entered_cr IN gl_interface.entered_cr%type,
119: p_currency_code IN gl_interface.currency_code%type,
120: p_date_created IN gl_interface.date_created%type,
121: p_created_by IN gl_interface.created_by%type,
122: p_actual_flag IN gl_interface.actual_flag%type,
123: p_user_je_category_name IN gl_interface.user_je_category_name%type,
124: p_user_je_source_name IN gl_interface.user_je_source_name%type,
125: p_entered_dr IN gl_interface.entered_dr%type,
126: p_entered_cr IN gl_interface.entered_cr%type,
127: p_accounted_dr IN gl_interface.accounted_dr%type,
120: p_date_created IN gl_interface.date_created%type,
121: p_created_by IN gl_interface.created_by%type,
122: p_actual_flag IN gl_interface.actual_flag%type,
123: p_user_je_category_name IN gl_interface.user_je_category_name%type,
124: p_user_je_source_name IN gl_interface.user_je_source_name%type,
125: p_entered_dr IN gl_interface.entered_dr%type,
126: p_entered_cr IN gl_interface.entered_cr%type,
127: p_accounted_dr IN gl_interface.accounted_dr%type,
128: p_accounted_cr IN gl_interface.accounted_cr%type,
121: p_created_by IN gl_interface.created_by%type,
122: p_actual_flag IN gl_interface.actual_flag%type,
123: p_user_je_category_name IN gl_interface.user_je_category_name%type,
124: p_user_je_source_name IN gl_interface.user_je_source_name%type,
125: p_entered_dr IN gl_interface.entered_dr%type,
126: p_entered_cr IN gl_interface.entered_cr%type,
127: p_accounted_dr IN gl_interface.accounted_dr%type,
128: p_accounted_cr IN gl_interface.accounted_cr%type,
129: p_transaction_date IN gl_interface.transaction_date%type,
122: p_actual_flag IN gl_interface.actual_flag%type,
123: p_user_je_category_name IN gl_interface.user_je_category_name%type,
124: p_user_je_source_name IN gl_interface.user_je_source_name%type,
125: p_entered_dr IN gl_interface.entered_dr%type,
126: p_entered_cr IN gl_interface.entered_cr%type,
127: p_accounted_dr IN gl_interface.accounted_dr%type,
128: p_accounted_cr IN gl_interface.accounted_cr%type,
129: p_transaction_date IN gl_interface.transaction_date%type,
130: p_reference1 IN gl_interface.reference1%type,
123: p_user_je_category_name IN gl_interface.user_je_category_name%type,
124: p_user_je_source_name IN gl_interface.user_je_source_name%type,
125: p_entered_dr IN gl_interface.entered_dr%type,
126: p_entered_cr IN gl_interface.entered_cr%type,
127: p_accounted_dr IN gl_interface.accounted_dr%type,
128: p_accounted_cr IN gl_interface.accounted_cr%type,
129: p_transaction_date IN gl_interface.transaction_date%type,
130: p_reference1 IN gl_interface.reference1%type,
131: p_reference4 IN gl_interface.reference4%type,
124: p_user_je_source_name IN gl_interface.user_je_source_name%type,
125: p_entered_dr IN gl_interface.entered_dr%type,
126: p_entered_cr IN gl_interface.entered_cr%type,
127: p_accounted_dr IN gl_interface.accounted_dr%type,
128: p_accounted_cr IN gl_interface.accounted_cr%type,
129: p_transaction_date IN gl_interface.transaction_date%type,
130: p_reference1 IN gl_interface.reference1%type,
131: p_reference4 IN gl_interface.reference4%type,
132: p_reference6 IN gl_interface.reference6%type,
125: p_entered_dr IN gl_interface.entered_dr%type,
126: p_entered_cr IN gl_interface.entered_cr%type,
127: p_accounted_dr IN gl_interface.accounted_dr%type,
128: p_accounted_cr IN gl_interface.accounted_cr%type,
129: p_transaction_date IN gl_interface.transaction_date%type,
130: p_reference1 IN gl_interface.reference1%type,
131: p_reference4 IN gl_interface.reference4%type,
132: p_reference6 IN gl_interface.reference6%type,
133: p_reference10 IN gl_interface.reference10%type,
126: p_entered_cr IN gl_interface.entered_cr%type,
127: p_accounted_dr IN gl_interface.accounted_dr%type,
128: p_accounted_cr IN gl_interface.accounted_cr%type,
129: p_transaction_date IN gl_interface.transaction_date%type,
130: p_reference1 IN gl_interface.reference1%type,
131: p_reference4 IN gl_interface.reference4%type,
132: p_reference6 IN gl_interface.reference6%type,
133: p_reference10 IN gl_interface.reference10%type,
134: p_reference21 IN gl_interface.reference21%type,
127: p_accounted_dr IN gl_interface.accounted_dr%type,
128: p_accounted_cr IN gl_interface.accounted_cr%type,
129: p_transaction_date IN gl_interface.transaction_date%type,
130: p_reference1 IN gl_interface.reference1%type,
131: p_reference4 IN gl_interface.reference4%type,
132: p_reference6 IN gl_interface.reference6%type,
133: p_reference10 IN gl_interface.reference10%type,
134: p_reference21 IN gl_interface.reference21%type,
135: p_reference22 IN gl_interface.reference22%type,
128: p_accounted_cr IN gl_interface.accounted_cr%type,
129: p_transaction_date IN gl_interface.transaction_date%type,
130: p_reference1 IN gl_interface.reference1%type,
131: p_reference4 IN gl_interface.reference4%type,
132: p_reference6 IN gl_interface.reference6%type,
133: p_reference10 IN gl_interface.reference10%type,
134: p_reference21 IN gl_interface.reference21%type,
135: p_reference22 IN gl_interface.reference22%type,
136: p_period_name IN gl_interface.period_name%type,
129: p_transaction_date IN gl_interface.transaction_date%type,
130: p_reference1 IN gl_interface.reference1%type,
131: p_reference4 IN gl_interface.reference4%type,
132: p_reference6 IN gl_interface.reference6%type,
133: p_reference10 IN gl_interface.reference10%type,
134: p_reference21 IN gl_interface.reference21%type,
135: p_reference22 IN gl_interface.reference22%type,
136: p_period_name IN gl_interface.period_name%type,
137: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
130: p_reference1 IN gl_interface.reference1%type,
131: p_reference4 IN gl_interface.reference4%type,
132: p_reference6 IN gl_interface.reference6%type,
133: p_reference10 IN gl_interface.reference10%type,
134: p_reference21 IN gl_interface.reference21%type,
135: p_reference22 IN gl_interface.reference22%type,
136: p_period_name IN gl_interface.period_name%type,
137: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
138: p_functional_currency_code IN gl_interface.functional_currency_code%type,
131: p_reference4 IN gl_interface.reference4%type,
132: p_reference6 IN gl_interface.reference6%type,
133: p_reference10 IN gl_interface.reference10%type,
134: p_reference21 IN gl_interface.reference21%type,
135: p_reference22 IN gl_interface.reference22%type,
136: p_period_name IN gl_interface.period_name%type,
137: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
138: p_functional_currency_code IN gl_interface.functional_currency_code%type,
139: p_code_combination_id IN gl_interface.code_combination_id%type,
132: p_reference6 IN gl_interface.reference6%type,
133: p_reference10 IN gl_interface.reference10%type,
134: p_reference21 IN gl_interface.reference21%type,
135: p_reference22 IN gl_interface.reference22%type,
136: p_period_name IN gl_interface.period_name%type,
137: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
138: p_functional_currency_code IN gl_interface.functional_currency_code%type,
139: p_code_combination_id IN gl_interface.code_combination_id%type,
140: p_group_id IN gl_interface.group_id%type);
133: p_reference10 IN gl_interface.reference10%type,
134: p_reference21 IN gl_interface.reference21%type,
135: p_reference22 IN gl_interface.reference22%type,
136: p_period_name IN gl_interface.period_name%type,
137: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
138: p_functional_currency_code IN gl_interface.functional_currency_code%type,
139: p_code_combination_id IN gl_interface.code_combination_id%type,
140: p_group_id IN gl_interface.group_id%type);
141:
134: p_reference21 IN gl_interface.reference21%type,
135: p_reference22 IN gl_interface.reference22%type,
136: p_period_name IN gl_interface.period_name%type,
137: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
138: p_functional_currency_code IN gl_interface.functional_currency_code%type,
139: p_code_combination_id IN gl_interface.code_combination_id%type,
140: p_group_id IN gl_interface.group_id%type);
141:
142: PROCEDURE Init_Gl_Interface(
135: p_reference22 IN gl_interface.reference22%type,
136: p_period_name IN gl_interface.period_name%type,
137: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
138: p_functional_currency_code IN gl_interface.functional_currency_code%type,
139: p_code_combination_id IN gl_interface.code_combination_id%type,
140: p_group_id IN gl_interface.group_id%type);
141:
142: PROCEDURE Init_Gl_Interface(
143: p_int_control IN OUT NOCOPY glcontrol,
136: p_period_name IN gl_interface.period_name%type,
137: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
138: p_functional_currency_code IN gl_interface.functional_currency_code%type,
139: p_code_combination_id IN gl_interface.code_combination_id%type,
140: p_group_id IN gl_interface.group_id%type);
141:
142: PROCEDURE Init_Gl_Interface(
143: p_int_control IN OUT NOCOPY glcontrol,
144: p_set_of_books_id IN gl_sets_of_books.set_of_books_id%type);
138: p_functional_currency_code IN gl_interface.functional_currency_code%type,
139: p_code_combination_id IN gl_interface.code_combination_id%type,
140: p_group_id IN gl_interface.group_id%type);
141:
142: PROCEDURE Init_Gl_Interface(
143: p_int_control IN OUT NOCOPY glcontrol,
144: p_set_of_books_id IN gl_sets_of_books.set_of_books_id%type);
145:
146: PROCEDURE Insert_Control_Rec(
181: l_period_year gl_period_statuses.period_year%type;
182: l_quarter_num gl_period_statuses.quarter_num%type;
183: l_charge_name igi_itr_charge_headers.name%type; --shsaxena for bug 294823
184: l_description igi_itr_charge_lines.description%type;
185: l_reference_10 gl_interface.reference10%TYPE; --shsaxena for bug 2948237
186: l_charge_service_id igi_itr_charge_lines.charge_service_id%type;
187: l_originator_id igi_itr_charge_headers.it_originator_id%type;
188: l_service_name igi_itr_service.name%type;
189: l_status_code varchar2(1);
199: l_curr_calling_sequence varchar2(2000);
200:
201: Begin
202: --------------------------------------------------------------------
203: l_curr_calling_sequence := 'IGI_ITR_GL_INTERFACE_PKG.'||l_debug_loc;
204: -- Retrieve system variables to be used by fundschecker --
205: --------------------------------------------------------------------
206: IGI_ITR_FUNDS_CONTROL_PKG.Fundscheck_Init(
207: l_chart_of_accounts_id,
411: And reversal_flag = 'N';
412:
413: l_reference_10 := substr(l_charge_name || ' ' || l_it_line_num || ' ' || l_service_name,1,100);
414:
415: Gl_interface_insert(
416: 'NEW',
417: p_set_of_books_id,
418: l_gl_encumbered_date,
419: l_currency_code,
440: l_currency_code,
441: l_ccid_dr,
442: null );
443:
444: Gl_Interface_Insert(
445: 'NEW',
446: p_set_of_books_id,
447: l_gl_encumbered_date,
448: l_currency_code,
506: l_gl_encumbered_date := sysdate;
507: End if;
508: */
509:
510: Gl_interface_insert(
511: 'NEW',
512: p_set_of_books_id,
513: l_gl_encumbered_date,
514: l_currency_code,
535: l_currency_code,
536: l_ccid_dr,
537: null );
538:
539: Gl_Interface_Insert(
540: 'NEW',
541: p_set_of_books_id,
542: l_gl_encumbered_date,
543: l_currency_code,
583: End Loop;
584: Commit;
585:
586:
587: Init_Gl_Interface(
588: l_int_control,
589: p_set_of_books_id);
590:
591: Insert_Control_Rec(l_int_control);
619: IF ( l_unexp_level >= l_debug_level) THEN
620: FND_MESSAGE.SET_NAME('IGI','IGI_LOGGING_UNEXP_ERROR');
621: FND_MESSAGE.SET_TOKEN('CODE',SQLCODE);
622: FND_MESSAGE.SET_TOKEN('MSG', SQLERRM);
623: FND_LOG.MESSAGE (l_unexp_level,'igi.plsql.igiitrpb.IGI_ITR_GL_INTERFACE_PKG.Create_Actuals.msg1',TRUE);
624: END IF;
625: End If;
626: APP_EXCEPTION.RAISE_EXCEPTION;
627: End Create_Actuals ;
625: End If;
626: APP_EXCEPTION.RAISE_EXCEPTION;
627: End Create_Actuals ;
628:
629: Procedure Init_Gl_Interface(
630: p_int_control IN OUT NOCOPY glcontrol,
631: p_set_of_books_id IN gl_sets_of_books.set_of_books_id%type) IS
632: l_debug_loc varchar2(30) := 'Init_Gl_Interface';
633: l_curr_calling_sequence varchar2(2000);
628:
629: Procedure Init_Gl_Interface(
630: p_int_control IN OUT NOCOPY glcontrol,
631: p_set_of_books_id IN gl_sets_of_books.set_of_books_id%type) IS
632: l_debug_loc varchar2(30) := 'Init_Gl_Interface';
633: l_curr_calling_sequence varchar2(2000);
634: l_debug_info varchar2(100);
635: l_int_control_old glcontrol;
636: Begin
634: l_debug_info varchar2(100);
635: l_int_control_old glcontrol;
636: Begin
637: --------------------------------------------------------------------
638: l_curr_calling_sequence := 'IGI_ITR_GL_INTERFACE_PKG.'||l_debug_loc;
639: l_debug_info := 'Initializing GL Interface control variables';
640: --------------------------------------------------------------------
641:
642: /* ssemwal for NOCOPY */
635: l_int_control_old glcontrol;
636: Begin
637: --------------------------------------------------------------------
638: l_curr_calling_sequence := 'IGI_ITR_GL_INTERFACE_PKG.'||l_debug_loc;
639: l_debug_info := 'Initializing GL Interface control variables';
640: --------------------------------------------------------------------
641:
642: /* ssemwal for NOCOPY */
643: /* added l_int_control_old */
645: l_int_control_old := p_int_control;
646:
647: Select gl_journal_import_s.Nextval,
648: p_set_of_books_id,
649: NULL, -- Narayanan said comment it (GL_INTERFACE_CONTROL_S.nextval,)
650: 'S',
651: 'Internal Trading'
652: Into
653: p_int_control.interface_run_id,
667: IF ( l_unexp_level >= l_debug_level) THEN
668: FND_MESSAGE.SET_NAME('IGI','IGI_LOGGING_UNEXP_ERROR');
669: FND_MESSAGE.SET_TOKEN('CODE',SQLCODE);
670: FND_MESSAGE.SET_TOKEN('MSG', SQLERRM);
671: FND_LOG.MESSAGE (l_unexp_level,'igi.plsql.igiitrpb.IGI_ITR_GL_INTERFACE_PKG.Init_Gl_Interface.msg2',TRUE);
672: END IF;
673: End If;
674: APP_EXCEPTION.RAISE_EXCEPTION;
675: End Init_Gl_Interface;
671: FND_LOG.MESSAGE (l_unexp_level,'igi.plsql.igiitrpb.IGI_ITR_GL_INTERFACE_PKG.Init_Gl_Interface.msg2',TRUE);
672: END IF;
673: End If;
674: APP_EXCEPTION.RAISE_EXCEPTION;
675: End Init_Gl_Interface;
676:
677: PROCEDURE Insert_Control_Rec(
678: p_int_control in glcontrol) IS
679: l_debug_loc varchar2(30) := 'Insert_Control_Rec';
680: l_curr_calling_sequence varchar2(2000);
681: l_debug_info varchar2(100);
682: BEGIN
683: --------------------------------------------------------------------
684: l_curr_calling_sequence := 'IGI_ITR_GL_INTERFACE_PKG.'||l_debug_loc;
685: l_debug_info := 'Inserting into gl_interface_control';
686: --------------------------------------------------------------------
687: Insert Into gl_interface_control(
688: je_source_name,
681: l_debug_info varchar2(100);
682: BEGIN
683: --------------------------------------------------------------------
684: l_curr_calling_sequence := 'IGI_ITR_GL_INTERFACE_PKG.'||l_debug_loc;
685: l_debug_info := 'Inserting into gl_interface_control';
686: --------------------------------------------------------------------
687: Insert Into gl_interface_control(
688: je_source_name,
689: status,
683: --------------------------------------------------------------------
684: l_curr_calling_sequence := 'IGI_ITR_GL_INTERFACE_PKG.'||l_debug_loc;
685: l_debug_info := 'Inserting into gl_interface_control';
686: --------------------------------------------------------------------
687: Insert Into gl_interface_control(
688: je_source_name,
689: status,
690: interface_run_id,
691: group_id,
706: IF ( l_unexp_level >= l_debug_level) THEN
707: FND_MESSAGE.SET_NAME('IGI','IGI_LOGGING_UNEXP_ERROR');
708: FND_MESSAGE.SET_TOKEN('CODE',SQLCODE);
709: FND_MESSAGE.SET_TOKEN('MSG', SQLERRM);
710: FND_LOG.MESSAGE (l_unexp_level,'igi.plsql.igiitrpb.IGI_ITR_GL_INTERFACE_PKG.Insert_Control_Rec.msg3',TRUE);
711: END IF;
712: EnD If;
713: APP_EXCEPTION.RAISE_EXCEPTION;
714: End Insert_Control_Rec;
712: EnD If;
713: APP_EXCEPTION.RAISE_EXCEPTION;
714: End Insert_Control_Rec;
715:
716: Procedure Gl_Interface_Insert(
717: p_status IN gl_interface.status%type,
718: p_set_of_books_id IN gl_interface.set_of_books_id%type,
719: p_accounting_date IN gl_interface.accounting_date%type,
720: p_currency_code IN gl_interface.currency_code%type,
713: APP_EXCEPTION.RAISE_EXCEPTION;
714: End Insert_Control_Rec;
715:
716: Procedure Gl_Interface_Insert(
717: p_status IN gl_interface.status%type,
718: p_set_of_books_id IN gl_interface.set_of_books_id%type,
719: p_accounting_date IN gl_interface.accounting_date%type,
720: p_currency_code IN gl_interface.currency_code%type,
721: p_date_created IN gl_interface.date_created%type,
714: End Insert_Control_Rec;
715:
716: Procedure Gl_Interface_Insert(
717: p_status IN gl_interface.status%type,
718: p_set_of_books_id IN gl_interface.set_of_books_id%type,
719: p_accounting_date IN gl_interface.accounting_date%type,
720: p_currency_code IN gl_interface.currency_code%type,
721: p_date_created IN gl_interface.date_created%type,
722: p_created_by IN gl_interface.created_by%type,
715:
716: Procedure Gl_Interface_Insert(
717: p_status IN gl_interface.status%type,
718: p_set_of_books_id IN gl_interface.set_of_books_id%type,
719: p_accounting_date IN gl_interface.accounting_date%type,
720: p_currency_code IN gl_interface.currency_code%type,
721: p_date_created IN gl_interface.date_created%type,
722: p_created_by IN gl_interface.created_by%type,
723: p_actual_flag IN gl_interface.actual_flag%type,
716: Procedure Gl_Interface_Insert(
717: p_status IN gl_interface.status%type,
718: p_set_of_books_id IN gl_interface.set_of_books_id%type,
719: p_accounting_date IN gl_interface.accounting_date%type,
720: p_currency_code IN gl_interface.currency_code%type,
721: p_date_created IN gl_interface.date_created%type,
722: p_created_by IN gl_interface.created_by%type,
723: p_actual_flag IN gl_interface.actual_flag%type,
724: p_user_je_category_name IN gl_interface.user_je_category_name%type,
717: p_status IN gl_interface.status%type,
718: p_set_of_books_id IN gl_interface.set_of_books_id%type,
719: p_accounting_date IN gl_interface.accounting_date%type,
720: p_currency_code IN gl_interface.currency_code%type,
721: p_date_created IN gl_interface.date_created%type,
722: p_created_by IN gl_interface.created_by%type,
723: p_actual_flag IN gl_interface.actual_flag%type,
724: p_user_je_category_name IN gl_interface.user_je_category_name%type,
725: p_user_je_source_name IN gl_interface.user_je_source_name%type,
718: p_set_of_books_id IN gl_interface.set_of_books_id%type,
719: p_accounting_date IN gl_interface.accounting_date%type,
720: p_currency_code IN gl_interface.currency_code%type,
721: p_date_created IN gl_interface.date_created%type,
722: p_created_by IN gl_interface.created_by%type,
723: p_actual_flag IN gl_interface.actual_flag%type,
724: p_user_je_category_name IN gl_interface.user_je_category_name%type,
725: p_user_je_source_name IN gl_interface.user_je_source_name%type,
726: p_entered_dr IN gl_interface.entered_dr%type,
719: p_accounting_date IN gl_interface.accounting_date%type,
720: p_currency_code IN gl_interface.currency_code%type,
721: p_date_created IN gl_interface.date_created%type,
722: p_created_by IN gl_interface.created_by%type,
723: p_actual_flag IN gl_interface.actual_flag%type,
724: p_user_je_category_name IN gl_interface.user_je_category_name%type,
725: p_user_je_source_name IN gl_interface.user_je_source_name%type,
726: p_entered_dr IN gl_interface.entered_dr%type,
727: p_entered_cr IN gl_interface.entered_cr%type,
720: p_currency_code IN gl_interface.currency_code%type,
721: p_date_created IN gl_interface.date_created%type,
722: p_created_by IN gl_interface.created_by%type,
723: p_actual_flag IN gl_interface.actual_flag%type,
724: p_user_je_category_name IN gl_interface.user_je_category_name%type,
725: p_user_je_source_name IN gl_interface.user_je_source_name%type,
726: p_entered_dr IN gl_interface.entered_dr%type,
727: p_entered_cr IN gl_interface.entered_cr%type,
728: p_accounted_dr IN gl_interface.accounted_dr%type,
721: p_date_created IN gl_interface.date_created%type,
722: p_created_by IN gl_interface.created_by%type,
723: p_actual_flag IN gl_interface.actual_flag%type,
724: p_user_je_category_name IN gl_interface.user_je_category_name%type,
725: p_user_je_source_name IN gl_interface.user_je_source_name%type,
726: p_entered_dr IN gl_interface.entered_dr%type,
727: p_entered_cr IN gl_interface.entered_cr%type,
728: p_accounted_dr IN gl_interface.accounted_dr%type,
729: p_accounted_cr IN gl_interface.accounted_cr%type,
722: p_created_by IN gl_interface.created_by%type,
723: p_actual_flag IN gl_interface.actual_flag%type,
724: p_user_je_category_name IN gl_interface.user_je_category_name%type,
725: p_user_je_source_name IN gl_interface.user_je_source_name%type,
726: p_entered_dr IN gl_interface.entered_dr%type,
727: p_entered_cr IN gl_interface.entered_cr%type,
728: p_accounted_dr IN gl_interface.accounted_dr%type,
729: p_accounted_cr IN gl_interface.accounted_cr%type,
730: p_transaction_date IN gl_interface.transaction_date%type,
723: p_actual_flag IN gl_interface.actual_flag%type,
724: p_user_je_category_name IN gl_interface.user_je_category_name%type,
725: p_user_je_source_name IN gl_interface.user_je_source_name%type,
726: p_entered_dr IN gl_interface.entered_dr%type,
727: p_entered_cr IN gl_interface.entered_cr%type,
728: p_accounted_dr IN gl_interface.accounted_dr%type,
729: p_accounted_cr IN gl_interface.accounted_cr%type,
730: p_transaction_date IN gl_interface.transaction_date%type,
731: p_reference1 IN gl_interface.reference1%type,
724: p_user_je_category_name IN gl_interface.user_je_category_name%type,
725: p_user_je_source_name IN gl_interface.user_je_source_name%type,
726: p_entered_dr IN gl_interface.entered_dr%type,
727: p_entered_cr IN gl_interface.entered_cr%type,
728: p_accounted_dr IN gl_interface.accounted_dr%type,
729: p_accounted_cr IN gl_interface.accounted_cr%type,
730: p_transaction_date IN gl_interface.transaction_date%type,
731: p_reference1 IN gl_interface.reference1%type,
732: p_reference4 IN gl_interface.reference4%type,
725: p_user_je_source_name IN gl_interface.user_je_source_name%type,
726: p_entered_dr IN gl_interface.entered_dr%type,
727: p_entered_cr IN gl_interface.entered_cr%type,
728: p_accounted_dr IN gl_interface.accounted_dr%type,
729: p_accounted_cr IN gl_interface.accounted_cr%type,
730: p_transaction_date IN gl_interface.transaction_date%type,
731: p_reference1 IN gl_interface.reference1%type,
732: p_reference4 IN gl_interface.reference4%type,
733: p_reference6 IN gl_interface.reference6%type,
726: p_entered_dr IN gl_interface.entered_dr%type,
727: p_entered_cr IN gl_interface.entered_cr%type,
728: p_accounted_dr IN gl_interface.accounted_dr%type,
729: p_accounted_cr IN gl_interface.accounted_cr%type,
730: p_transaction_date IN gl_interface.transaction_date%type,
731: p_reference1 IN gl_interface.reference1%type,
732: p_reference4 IN gl_interface.reference4%type,
733: p_reference6 IN gl_interface.reference6%type,
734: p_reference10 IN gl_interface.reference10%type,
727: p_entered_cr IN gl_interface.entered_cr%type,
728: p_accounted_dr IN gl_interface.accounted_dr%type,
729: p_accounted_cr IN gl_interface.accounted_cr%type,
730: p_transaction_date IN gl_interface.transaction_date%type,
731: p_reference1 IN gl_interface.reference1%type,
732: p_reference4 IN gl_interface.reference4%type,
733: p_reference6 IN gl_interface.reference6%type,
734: p_reference10 IN gl_interface.reference10%type,
735: p_reference21 IN gl_interface.reference21%type,
728: p_accounted_dr IN gl_interface.accounted_dr%type,
729: p_accounted_cr IN gl_interface.accounted_cr%type,
730: p_transaction_date IN gl_interface.transaction_date%type,
731: p_reference1 IN gl_interface.reference1%type,
732: p_reference4 IN gl_interface.reference4%type,
733: p_reference6 IN gl_interface.reference6%type,
734: p_reference10 IN gl_interface.reference10%type,
735: p_reference21 IN gl_interface.reference21%type,
736: p_reference22 IN gl_interface.reference22%type,
729: p_accounted_cr IN gl_interface.accounted_cr%type,
730: p_transaction_date IN gl_interface.transaction_date%type,
731: p_reference1 IN gl_interface.reference1%type,
732: p_reference4 IN gl_interface.reference4%type,
733: p_reference6 IN gl_interface.reference6%type,
734: p_reference10 IN gl_interface.reference10%type,
735: p_reference21 IN gl_interface.reference21%type,
736: p_reference22 IN gl_interface.reference22%type,
737: p_period_name IN gl_interface.period_name%type,
730: p_transaction_date IN gl_interface.transaction_date%type,
731: p_reference1 IN gl_interface.reference1%type,
732: p_reference4 IN gl_interface.reference4%type,
733: p_reference6 IN gl_interface.reference6%type,
734: p_reference10 IN gl_interface.reference10%type,
735: p_reference21 IN gl_interface.reference21%type,
736: p_reference22 IN gl_interface.reference22%type,
737: p_period_name IN gl_interface.period_name%type,
738: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
731: p_reference1 IN gl_interface.reference1%type,
732: p_reference4 IN gl_interface.reference4%type,
733: p_reference6 IN gl_interface.reference6%type,
734: p_reference10 IN gl_interface.reference10%type,
735: p_reference21 IN gl_interface.reference21%type,
736: p_reference22 IN gl_interface.reference22%type,
737: p_period_name IN gl_interface.period_name%type,
738: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
739: p_functional_currency_code IN gl_interface.functional_currency_code%type,
732: p_reference4 IN gl_interface.reference4%type,
733: p_reference6 IN gl_interface.reference6%type,
734: p_reference10 IN gl_interface.reference10%type,
735: p_reference21 IN gl_interface.reference21%type,
736: p_reference22 IN gl_interface.reference22%type,
737: p_period_name IN gl_interface.period_name%type,
738: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
739: p_functional_currency_code IN gl_interface.functional_currency_code%type,
740: p_code_combination_id IN gl_interface.code_combination_id%type,
733: p_reference6 IN gl_interface.reference6%type,
734: p_reference10 IN gl_interface.reference10%type,
735: p_reference21 IN gl_interface.reference21%type,
736: p_reference22 IN gl_interface.reference22%type,
737: p_period_name IN gl_interface.period_name%type,
738: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
739: p_functional_currency_code IN gl_interface.functional_currency_code%type,
740: p_code_combination_id IN gl_interface.code_combination_id%type,
741: p_group_id IN gl_interface.group_id%type) IS
734: p_reference10 IN gl_interface.reference10%type,
735: p_reference21 IN gl_interface.reference21%type,
736: p_reference22 IN gl_interface.reference22%type,
737: p_period_name IN gl_interface.period_name%type,
738: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
739: p_functional_currency_code IN gl_interface.functional_currency_code%type,
740: p_code_combination_id IN gl_interface.code_combination_id%type,
741: p_group_id IN gl_interface.group_id%type) IS
742: l_debug_loc varchar2(30) := 'GL_interface';
735: p_reference21 IN gl_interface.reference21%type,
736: p_reference22 IN gl_interface.reference22%type,
737: p_period_name IN gl_interface.period_name%type,
738: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
739: p_functional_currency_code IN gl_interface.functional_currency_code%type,
740: p_code_combination_id IN gl_interface.code_combination_id%type,
741: p_group_id IN gl_interface.group_id%type) IS
742: l_debug_loc varchar2(30) := 'GL_interface';
743: l_curr_calling_sequence varchar2(2000);
736: p_reference22 IN gl_interface.reference22%type,
737: p_period_name IN gl_interface.period_name%type,
738: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
739: p_functional_currency_code IN gl_interface.functional_currency_code%type,
740: p_code_combination_id IN gl_interface.code_combination_id%type,
741: p_group_id IN gl_interface.group_id%type) IS
742: l_debug_loc varchar2(30) := 'GL_interface';
743: l_curr_calling_sequence varchar2(2000);
744: l_debug_info varchar2(100);
737: p_period_name IN gl_interface.period_name%type,
738: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
739: p_functional_currency_code IN gl_interface.functional_currency_code%type,
740: p_code_combination_id IN gl_interface.code_combination_id%type,
741: p_group_id IN gl_interface.group_id%type) IS
742: l_debug_loc varchar2(30) := 'GL_interface';
743: l_curr_calling_sequence varchar2(2000);
744: l_debug_info varchar2(100);
745: Begin
738: p_chart_of_accounts_id IN gl_interface.chart_of_accounts_id%type,
739: p_functional_currency_code IN gl_interface.functional_currency_code%type,
740: p_code_combination_id IN gl_interface.code_combination_id%type,
741: p_group_id IN gl_interface.group_id%type) IS
742: l_debug_loc varchar2(30) := 'GL_interface';
743: l_curr_calling_sequence varchar2(2000);
744: l_debug_info varchar2(100);
745: Begin
746: ----------------------------------------------------------------------
743: l_curr_calling_sequence varchar2(2000);
744: l_debug_info varchar2(100);
745: Begin
746: ----------------------------------------------------------------------
747: l_curr_calling_sequence := 'IGI_ITR_GL_INTERFACE_PKG.' || l_debug_loc;
748: l_debug_info := 'Inserting record into gl_interface';
749: ----------------------------------------------------------------------
750: Insert Into gl_interface(
751: status,
744: l_debug_info varchar2(100);
745: Begin
746: ----------------------------------------------------------------------
747: l_curr_calling_sequence := 'IGI_ITR_GL_INTERFACE_PKG.' || l_debug_loc;
748: l_debug_info := 'Inserting record into gl_interface';
749: ----------------------------------------------------------------------
750: Insert Into gl_interface(
751: status,
752: set_of_books_id,
746: ----------------------------------------------------------------------
747: l_curr_calling_sequence := 'IGI_ITR_GL_INTERFACE_PKG.' || l_debug_loc;
748: l_debug_info := 'Inserting record into gl_interface';
749: ----------------------------------------------------------------------
750: Insert Into gl_interface(
751: status,
752: set_of_books_id,
753: accounting_date,
754: currency_code,
834: IF ( l_unexp_level >= l_debug_level) THEN
835: FND_MESSAGE.SET_NAME('IGI','IGI_LOGGING_UNEXP_ERROR');
836: FND_MESSAGE.SET_TOKEN('CODE',SQLCODE);
837: FND_MESSAGE.SET_TOKEN('MSG', SQLERRM);
838: FND_LOG.MESSAGE (l_unexp_level,'igi.plsql.igiitrpb.IGI_ITR_GL_INTERFACE_PKG.Gl_Interface_Insert.msg4',TRUE);
839: END IF;
840: End If;
841: APP_EXCEPTION.RAISE_EXCEPTION;
842: End Gl_Interface_Insert;
838: FND_LOG.MESSAGE (l_unexp_level,'igi.plsql.igiitrpb.IGI_ITR_GL_INTERFACE_PKG.Gl_Interface_Insert.msg4',TRUE);
839: END IF;
840: End If;
841: APP_EXCEPTION.RAISE_EXCEPTION;
842: End Gl_Interface_Insert;
843:
844: END IGI_ITR_GL_INTERFACE_PKG;
840: End If;
841: APP_EXCEPTION.RAISE_EXCEPTION;
842: End Gl_Interface_Insert;
843:
844: END IGI_ITR_GL_INTERFACE_PKG;