Tuesday, January 14, 2014

REP-0300: ORACLE error occurred in oracle reports

If the below error occurs

REP-0300: ORACLE error occurred.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error: 
REP-300: ORACLE error occurred.

Answer:Please check the report parameter data types.It should be correct to overcome the issue.

Saturday, January 4, 2014

CE_RECONCILED_TRANSACTIONS_V returns no rows in R12

MO_GLOBAL.Init('SQLAP');
MO_GLOBAL.Set_Policy_Context('S', &l_org_id);
FND_GLOBAL.Apps_INITIALIZE (l_user_id, l_resp_id, l_resp_appl_id);
cep_standard.init_security;

See also:

Friday, December 20, 2013

Friday, December 6, 2013

Metalink Notes for Send Remittance Advice

Separate Remittance Advice (SRA) Email Not Getting Sent (Doc ID 1518482.1)
Unable To Submit Concurrent Request 'Send Separate Remittance Advices' "Payment Instruction ID" has no LOV (Doc ID 1472071.1)
R12: How to Make "Send Separate Remittance Advices" Request Generate an Output (Doc ID 602772.1)
R12 Configure e-Mail Separate Remittance Advice (Doc ID 1528042.1)

Friday, November 8, 2013

Adding new fields in PO Output for Communication

It is not easy to customize PO_COMMUNICATION_PVT.POXMLGEN. If you customize it then you have to customize the workflow which references this procedure and also the Java concurrent program. So, try to avoid customization of PO Output for Communication program. 

To add new fields in PO Output for Communication Program, we have following options:

1. Look if the fields you are trying to add are already available in the XML data generated by the program.
2. If not all the fields are available, try to populate the missing fields in attribute columns so that you can reference those in your template.
3. This is not recommended, but you can try to modify the logic behind the views PO_HEADERS_XML, PO_LINES_XML, PO_DISTRIBUTIONS_XML which fetch the data for this program.

Also, for the ability to use RTF Template you can follow metalink note 378031.1 which gives you the details of a patch to be applied. You can also refer to the metalink note 387670.1 for more info.

Thursday, September 26, 2013

SQL Query to check programs assigned to a request set

SELECT rs.user_request_set_name "Request Set"
 , rss.display_sequence Seq
 , cp.user_concurrent_program_name "Concurrent Program"
, e.EXECUTABLE_NAME
 , e.execution_file_name
 , lv.meaning file_type
 ,fat.application_name "Application Name"
-- ,get_appl_name(e.application_id) "Application Name"
FROM apps.fnd_request_sets_vl rs
 , apps.fnd_req_set_stages_form_v rss
 , applsys.fnd_request_set_programs rsp
 , apps.fnd_concurrent_programs_vl cp
 , apps.fnd_executables e
 , apps.fnd_lookup_values lv
 , apps.fnd_application_tl fat
WHERE 1=1
--and rs.application_id IN ( 20006 )
AND rs.application_id = rss.set_application_id
AND rs.request_set_id = rss.request_set_id
AND rs.user_request_set_name =-- &amp p_request_set_name
AND e.APPLICATION_ID =FAT.APPLICATION_ID
AND rss.set_application_id = rsp.set_application_id
AND rss.request_set_id = rsp.request_set_id
AND rss.request_set_stage_id = rsp.request_set_stage_id
AND rsp.program_application_id = cp.application_id
AND rsp.concurrent_program_id = cp.concurrent_program_id
AND cp.executable_id = e.executable_id
AND cp.executable_application_id = e.application_id
AND lv.lookup_type = 'CP_EXECUTION_METHOD_CODE'
AND lv.lookup_code = e.execution_method_code
and lv.language='US'
and fat.language='US'
AND rs.end_date_active IS NULL
ORDER BY 1,2