DBA Data[Home] [Help]

APPS.JA_CN_SI_EXPORT_PROG dependencies on FND_FILE

Line 89: FND_FILE.put_line(FND_FILE.log, lv_procedure_name ||

85: 'pv_accounting_year=' || pv_accounting_year || ',' ||
86: 'pn_coa_id=' || pn_coa_id);
87: END IF; --l_proc_level>=l_dbg_level
88:
89: FND_FILE.put_line(FND_FILE.log, lv_procedure_name ||
90: '.parameters:' ||
91: 'pn_legal_entity_id=' || pn_legal_entity_id|| ',' ||
92: 'pn_ledger_id=' || pn_ledger_id || ',' ||
93: 'pv_accounting_year=' || pv_accounting_year || ',' ||

Line 98: FND_FILE.put_line(FND_FILE.output,'');

94: 'pn_coa_id=' || pn_coa_id);
95:
96: -- export the header
97: -- here need to change
98: FND_FILE.put_line(FND_FILE.output,'');
99: lv_gl_element := '<' || Ja_Cn_Utility.Get_XML_Tag('SHARED_INFORMATION')
100: || ' xsi:schemaLocation="http://sxbw.audit.gov.cn/AccountingSoftwareDataInterfaceStandard/2010/SOE/XMLSchema '
101: || Ja_Cn_Utility.Get_XML_Tag('SHARED_INFORMATION')
102: || '.xsd" xmlns:'

Line 106: FND_FILE.put_line(FND_FILE.output, lv_gl_element);

102: || '.xsd" xmlns:'
103: || Ja_Cn_Utility.Get_XML_Tag('SOE')
104: || '="http://sxbw.audit.gov.cn/AccountingSoftwareDataInterfaceStandard/2010/SOE/XMLSchema"
105: xmlns="http://sxbw.audit.gov.cn/AccountingSoftwareDataInterfaceStandard/2010/SOE/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">';
106: FND_FILE.put_line(FND_FILE.output, lv_gl_element);
107:
108: -- call the procedures to export the reports seperately here begin
109: Ja_Cn_Utility.Print_Concurrent_Steps_For_Log( pv_step_number => '2.1'
110: , pv_report_name => 'ELECTRONIC_ACCOUNTING_BOOK');

Line 182: FND_FILE.put_line( FND_FILE.output

178: , pv_accounting_year => pv_accounting_year
179: );
180: -- call the procedures to export the reports seperately here end
181:
182: FND_FILE.put_line( FND_FILE.output
183: , Ja_Cn_Utility.Get_XML_Tag('SHARED_INFORMATION', Ja_Cn_Utility.GV_TAG_TYPE_END));
184:
185: --logging for debug
186: IF (ln_proc_level >= ln_dbg_level)

Line 201: FND_FILE.put_line(FND_FILE.log, lv_procedure_name || SQLCODE || SQLERRM);

197: GV_MODULE_PREFIX || '.' || lv_procedure_name ||
198: '.Other_Exception ',
199: SQLCODE || SQLERRM);
200: END IF; -- (FND_LOG.LEVEL_UNEXPECTED >= FND_LOG.G_CURRENT_RUNTIME_LEVEL)
201: FND_FILE.put_line(FND_FILE.log, lv_procedure_name || SQLCODE || SQLERRM);
202: pv_retcode := 2;
203: END Export_Shared_Information;
204:
205:

Line 293: FND_FILE.put_line(FND_FILE.log, lv_procedure_name ||

289: 'pv_dest_char_set=' || pv_dest_char_set || ',' ||
290: 'pn_coa_id=' || pn_coa_id);
291: END IF; --l_proc_level>=l_dbg_level
292:
293: FND_FILE.put_line(FND_FILE.log, lv_procedure_name ||
294: '.parameters:' ||
295: 'pn_legal_entity_id=' || pn_legal_entity_id|| ',' ||
296: 'pn_ledger_id=' || pn_ledger_id || ',' ||
297: 'pv_accounting_year=' || pv_accounting_year || ',' ||

Line 303: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 1: Check System Option');

299: 'pv_dest_char_set=' || pv_dest_char_set || ',' ||
300: 'pn_coa_id=' || pn_coa_id);
301:
302: --Step1: Check system option
303: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 1: Check System Option');
304: IF NOT(Ja_Cn_Utility.Check_System_Option(pn_legal_entity_id))
305: THEN
306: pv_retcode := 1;
307: pv_errbuf := '';

Line 312: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 2: Submit SI Export program');

308: RETURN;
309: END IF; --(Ja_Cn_Utility.Check_System_Option(pn_legal_entity_id))
310:
311: --Step2: Submit SI Export program
312: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 2: Submit SI Export program');
313: ln_reqid_gle:=FND_REQUEST.Submit_Request( application => 'JA'
314: , program => 'JACNSIGP'
315: , argument1 => pn_coa_id
316: , argument2 => pn_legal_entity_id

Line 356: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 3: Submit Characrter Set Conversion program');

352: THEN
353:
354: --Step3: Submit characrter set conversion program
355: --to convert charaterset of output file
356: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 3: Submit Characrter Set Conversion program');
357: Ja_Cn_Utility.Submit_XML_Charset_Conversion( p_xml_request_id => ln_reqid_gle
358: , p_source_charset => JA_CN_UTILITY.Get_XML_Encoding
359: , p_destination_charset => pv_dest_char_set
360: , p_source_separator => NULL

Line 368: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 4: Submit File Name Renaming program');

364: IF lv_cvt_req_status='Success'
365: THEN
366: --Step4: Submit "Change File Name" concurrent program
367: --to change name of output file
368: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 4: Submit File Name Renaming program');
369: lv_output_file_name := Ja_Cn_Utility.Generate_File_name( pv_module_name => 'SI'
370: , pv_accounting_year => pv_accounting_year
371: , pv_ledger_id => pn_ledger_id
372: , pv_from_period => null

Line 382: FND_FILE.put_line(FND_FILE.log, lv_procedure_name ||

378: FND_LOG.STRING(ln_statement_level,
379: lv_procedure_name,
380: 'lv_output_file_name:' || lv_output_file_name);
381: END IF; --(ln_statement_level >= ln_dbg_level)
382: FND_FILE.put_line(FND_FILE.log, lv_procedure_name ||
383: '.variable:' ||
384: 'lv_output_file_name =' || lv_output_file_name);
385:
386: JA_CN_UTILITY.Change_Output_Filename( p_xml_request_id => ln_reqid_gle

Line 467: FND_FILE.put_line(FND_FILE.log, lv_procedure_name || SQLCODE || SQLERRM);

463: , GV_MODULE_PREFIX || '.' || lv_procedure_name ||
464: '.Other_Exception ',
465: SQLCODE || SQLERRM);
466: END IF; -- (FND_LOG.LEVEL_UNEXPECTED >= FND_LOG.G_CURRENT_RUNTIME_LEVEL)
467: FND_FILE.put_line(FND_FILE.log, lv_procedure_name || SQLCODE || SQLERRM);
468:
469: END Submit_Request;
470:
471: END JA_CN_SI_EXPORT_PROG;