DBA Data[Home] [Help]

APPS.JA_CN_FA_EXPORT_PROG dependencies on FND_FILE

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

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

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

101: ,p_Legal_Entity_Id => pn_legal_entity_id
102: );
103: -- export the header
104: -- here need to change
105: FND_FILE.put_line(FND_FILE.output,'');
106: lv_fa_element := '<' || Ja_Cn_Utility.Get_XML_Tag('FIXED_ASSETS',Ja_Cn_Utility.GV_REQUIRED_NO,Ja_Cn_Utility.GV_MODULE_FA)
107: || ' xsi:schemaLocation="http://sxbw.audit.gov.cn/AccountingSoftwareDataInterfaceStandard/2010/SOE/XMLSchema '
108: || Ja_Cn_Utility.Get_XML_Tag('FIXED_ASSETS',Ja_Cn_Utility.GV_REQUIRED_NO,Ja_Cn_Utility.GV_MODULE_FA)
109: || '.xsd" xmlns:'

Line 113: FND_FILE.put_line(FND_FILE.output, lv_fa_element);

109: || '.xsd" xmlns:'
110: || Ja_Cn_Utility.Get_XML_Tag('SOE')
111: || '="http://sxbw.audit.gov.cn/AccountingSoftwareDataInterfaceStandard/2010/SOE/XMLSchema"
112: xmlns="http://sxbw.audit.gov.cn/AccountingSoftwareDataInterfaceStandard/2010/SOE/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">';
113: FND_FILE.put_line(FND_FILE.output, lv_fa_element);
114:
115: -- call the procedures to export the reports seperately here begin
116: Ja_Cn_Utility.Print_Concurrent_Steps_For_Log(pv_step_number => '2.1'
117: ,pv_report_name => 'BASIC_INFO_OF_FIXED_ASSET'

Line 218: FND_FILE.put_line(FND_FILE.output

214: );
215:
216: -- call the procedures to export the reports seperately here end
217:
218: FND_FILE.put_line(FND_FILE.output
219: ,Ja_Cn_Utility.Get_XML_Tag('FIXED_ASSETS', Ja_Cn_Utility.GV_TAG_TYPE_END,Ja_Cn_Utility.GV_MODULE_FA));
220:
221: --logging for debug
222: IF (ln_proc_level >= ln_dbg_level)

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

233: GV_MODULE_PREFIX || '.' || lv_procedure_name ||
234: '.Other_Exception ',
235: SQLCODE || SQLERRM);
236: END IF; -- (FND_LOG.LEVEL_UNEXPECTED >= FND_LOG.G_CURRENT_RUNTIME_LEVEL)
237: FND_FILE.put_line(FND_FILE.log, lv_procedure_name || SQLCODE || SQLERRM);
238: pv_retcode := 2;
239: END Export_Fixed_Assets;
240:
241:

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

333: 'pv_source_char_set=' || pv_source_char_set || ',' ||
334: 'pv_dest_char_set=' || pv_dest_char_set);
335: END IF; --l_proc_level>=l_dbg_level
336:
337: FND_FILE.put_line(FND_FILE.log, lv_procedure_name ||
338: '.parameters:' ||
339: 'pn_legal_entity_id=' || pn_legal_entity_id|| ',' ||
340: 'pn_ledger_id=' || pn_ledger_id || ',' ||
341: 'pv_accounting_year=' || pv_accounting_year || ',' ||

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

345: 'pv_source_char_set=' || pv_source_char_set || ',' ||
346: 'pv_dest_char_set=' || pv_dest_char_set);
347:
348: --Step1: Check system option
349: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 1: Check System Option');
350: IF NOT(Ja_Cn_Utility.Check_Profile())
351: THEN
352: pv_retcode := 1;
353: pv_errbuf := '';

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

414: END IF; --pv_period_to IS NULL
415:
416:
417: --Step2: Submit FA Export program
418: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 2: Submit FA Export program');
419: ln_reqid_gle:=FND_REQUEST.Submit_Request( application => 'JA'
420: , program => 'JACNFAGP'
421: , argument1 => pn_legal_entity_id
422: , argument2 => pn_ledger_id

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

460: THEN
461:
462: --Step3: Submit characrter set conversion program
463: --to convert charaterset of output file
464: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 3: Submit Characrter Set Conversion program');
465: Ja_Cn_Utility.Submit_XML_Charset_Conversion( p_xml_request_id => ln_reqid_gle
466: , p_source_charset => JA_CN_UTILITY.Get_XML_Encoding
467: , p_destination_charset => pv_dest_char_set
468: , p_source_separator => NULL

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

472: IF lv_cvt_req_status='Success'
473: THEN
474: --Step4: Submit "Change File Name" concurrent program
475: --to change name of output file
476: FND_FILE.PUT_LINE(FND_FILE.LOG, 'Step 4: Submit File Name Renaming program');
477: lv_output_file_name := Ja_Cn_Utility.Generate_File_name( pv_module_name => JA_CN_UTILITY.GV_MODULE_FA
478: , pv_accounting_year => pv_accounting_year
479: , pv_ledger_id => pn_ledger_id
480: , pv_from_period => pv_period_from

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

486: FND_LOG.STRING(ln_statement_level,
487: lv_procedure_name,
488: 'lv_output_file_name:' || lv_output_file_name);
489: END IF; --(ln_statement_level >= ln_dbg_level)
490: FND_FILE.put_line(FND_FILE.log, lv_procedure_name ||
491: '.variable:' ||
492: 'lv_output_file_name =' || lv_output_file_name);
493:
494: JA_CN_UTILITY.Change_Output_Filename( p_xml_request_id => ln_reqid_gle

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

571: , GV_MODULE_PREFIX || '.' || lv_procedure_name ||
572: '.Other_Exception ',
573: SQLCODE || SQLERRM);
574: END IF; -- (FND_LOG.LEVEL_UNEXPECTED >= FND_LOG.G_CURRENT_RUNTIME_LEVEL)
575: FND_FILE.put_line(FND_FILE.log, lv_procedure_name || SQLCODE || SQLERRM);
576:
577: END Submit_Request;
578:
579: --==========================================================================

Line 634: Fnd_File.Put_Line(Fnd_File.Output, lv_Error_Msg);

630: NAME => 'JA_CN_FLEXFIELD_ASSIGN_NOT_SET');
631: lv_Error_Msg := Fnd_Message.Get;
632:
633: --Output error message
634: Fnd_File.Put_Line(Fnd_File.Output, lv_Error_Msg);
635: END IF; --(v_row.context_code IS NULL OR v_row.attribute_column IS NULL)
636: END LOOP;
637:
638:

Line 646: Fnd_File.Put_Line(Fnd_File.Output, lv_Error_Msg);

642: Fnd_Message.Set_Name(Application => 'JA',
643: NAME => 'JA_CN_FLEXFIELD_ASSIGN_NOT_SET');
644: lv_Error_Msg := Fnd_Message.Get;
645: --Output error message
646: Fnd_File.Put_Line(Fnd_File.Output, lv_Error_Msg);
647: END IF; --ln_row_count = 0
648:
649:
650: IF lv_False_Flag = 'N'

Line 741: Fnd_File.Put_Line(Fnd_File.Output, lv_Error_Msg);

737: Fnd_Message.Set_Name(Application => 'JA',
738: NAME => 'JA_CN_NO_DEPRN_METHOD');
739: lv_Error_Msg := Fnd_Message.Get;
740: --Output error message
741: Fnd_File.Put_Line(Fnd_File.Output, lv_Error_Msg);
742: --logging for debug
743: IF (ln_proc_level>=ln_dbg_level)
744: THEN
745: FND_LOG.STRING( ln_proc_level

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

769: GV_MODULE_PREFIX || '.' || lv_procedure_name ||
770: '.Other_Exception ',
771: SQLCODE || SQLERRM);
772: END IF; -- (FND_LOG.LEVEL_UNEXPECTED >= FND_LOG.G_CURRENT_RUNTIME_LEVEL)
773: FND_FILE.put_line(FND_FILE.log, lv_procedure_name || SQLCODE || SQLERRM);
774:
775: END Check_Depreciation_Assignment;
776:
777: END JA_CN_FA_EXPORT_PROG;