Need to attache concurrent program to Payment Actions Screen

Hi ,
Does anyone have an idea how to attach a concurrent program to Payment Actions screen "Print Remittance Advice" , i need too put my reports there , as when user choose it , it should bring that report(payment voucher report) to user with the opened payment & print it for him

Please post the details of the application release, database version and OS.
What do you mean by "attach a concurrent program to Payment Actions screen "Print Remittance Advice""? Are you trying to customize the form and add a button to print the report from there? If yes, use FND_REQUEST.SUBMIT_REQUEST API -- https://forums.oracle.com/forums/search.jspa?threadID=&q=%22FND_REQUEST.SUBMIT_REQUEST+%22&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Please elaborate more.
Thanks,
Hussein

Similar Messages

  • How to get Source code of a Schedular Java concurrent program in Payments

    Hi Experts,
    I am very new to Java Concurrent program.
    I need java source code of a schedule java concurrent program.Following are the details of Executable.
    Executable :Format Payment Instructions
    Short Name :IBY_FD_PAYMENT_FORMAT
    Application : Payments
    Execution Method :Java Concurrent Program
    Execution File Name:FDExtractAndFormatting
    Execution File Path : oracle.apps.iby.scheduler
    I searched in execution file path,but i am unable to find required java source.
    Please someone help regarding this issue..
    It's Urgent Issue.
    Regards
    Amar

    Hi Srini,
    Thanks for reply...
    In the attached template of concurrent program "Format Payment Instructions", i need to add voucher number in the template.
    How can i do this?how to decompile the executable?
    It is a check printing.
    Please give me suggestions..
    Regards
    Amar

  • FNDLOAD Command to attach concurrent program to existing Request Group

    Hi,
    Is there any FNDLOAD command to attach concurrent program to existing request group. The requirement is, Concurrent Program should be migrated and automatically get attached to the existing request group.
    Thanks,
    Rama

    You cannot do the request group assignment as part of loading the concurrent program with FNDLOAD. However, afcpreqg.lct looks as though it can download a Request Group Unit with something like (not that I have used this):
    FNDLOAD <USERID/PASSWORD> 0 Y DOWNLOAD @fnd:patch/115/import/afcpreqg.lct <output file>.ldt REQUEST_GROUP_UNIT APPLICATION_SHORT_NAME=<RG's APP> REQUEST_GROUP_NAME=<RG's NAME> UNIT_NAME=<CP's SHORT NAME>
    A bit of pain if you need to download a number of Request Group assignments for a Concurrent Program, but possible all the same, by the look of it.

  • Getting Error While Attaching Concurrent Program Output PDF file for POAPPRV Workflow

    Hi All,
    I am getting the below error when I am trying to attach concurrent program output to the PO Approval Notification.
    An Error occurred in the following Workflow.
    Item Type = POAPPRV
    Item Key = 1040589-528378
    User Key =945871
    Error Name = WF_ERROR
    Error Message = [WF_ERROR] ERROR_MESSAGE=3835: Error '-20002 - ORA-20002: [WFMLR_DOCUMENT_ERROR]' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'. ERROR_STACK=
    Wf_Notification.GetAttrblob(3604701, ZZ_PREVIOUS_PO_COMPARE, text/html)
    WF_XML.GetAttachment(3604701, text/html)
    WF_XML.GetAttachments(3604701, http://oraerp.am.corp.xxxx.com:8099/pls/DEV, 11283)
    WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    WF_XML.Generate(oracle.apps.wf.notification.send, 3604701)
    Wf_Event.setMessage(oracle.apps.wf.notification.send, 3604701, WF_XML.Generate)
    Wf_Event.dispatch_internal()
    Error Stack =
    Activity ID = 190844
    Activity Label = AL_NOTIFY_APPROVER_PROCESS:ZZ_PO_PO_APPROVE_ATTCH
    Result Code = #MAIL
    Notification ID = 3604701
    There are several threads for this error however I cannot find any specific solution to the problem.
    Please find the code below -
        wf_engine.setitemattrdocument(itemtype=>itemtype,
                                      itemkey=> itemkey,
                                      aname=>'ZZ_PREVIOUS_PO_COMPARE',
                                      documentid =>'PLSQLBLOB:zz_po_reqapproval_init1.xx_notif_attachments/' || to_char(l_request_id_prev_po)||':'||to_char(l_document_num));
    -- here l_request_id_q_and_s is the request id of the program and l_document_num is the PO document number
    PROCEDURE xx_notif_attachments(p_request_id    IN VARCHAR2,
                                   p_document_num  IN VARCHAR2,
                                   p_document      IN OUT BLOB,
                                   p_document_type IN OUT VARCHAR2) IS
      v_lob_id          NUMBER;
      v_document_num    VARCHAR2(15);
      v_document_prefix VARCHAR2(100);
      v_file_name       VARCHAR2(500);
      v_file_on_os      BFILE;
      v_temp_lob        BLOB;
      v_dest_offset     NUMBER := 1;
      v_src_offset      NUMBER := 1;
      v_out_file_name   VARCHAR2(2000);
      v_conc_prog_name  VARCHAR2(500);
      v_conc_req_id     NUMBER;
      CURSOR get_output_file(p_concurrent_request_id NUMBER) IS
        SELECT cr.outfile_name, cp.concurrent_program_name
          FROM fnd_concurrent_requests cr, fnd_concurrent_programs_vl cp
         WHERE request_id = p_concurrent_request_id
           AND cp.concurrent_program_id = cr.concurrent_program_id;
    BEGIN
      --    set_debug_context('xx_notif_attach_procedure');
      v_conc_req_id  := to_number(substr(p_request_id,
                                         1,
                                         instr(p_request_id, ':') - 1));
      v_document_num := substr(p_request_id,
                               instr(p_request_id, ':') + 1,
                               length(p_request_id) - 2);
      OPEN get_output_file(v_conc_req_id);
      FETCH get_output_file
        INTO v_out_file_name, v_conc_prog_name;
      CLOSE get_output_file;
      v_out_file_name := substr(v_out_file_name,
                                instr(v_out_file_name, '/', -1) + 1);
      v_file_name     := to_char(v_document_num) || '-Previous_PO_Rev.pdf';
      utl_file.fcopy(src_location  => 'APPS_OUT_DIR',
                     src_filename  => v_out_file_name,
                     dest_location => 'PO_DATA_DIR',
                     dest_filename => v_file_name);
      --  v_lob_id := to_number(v_document_id);
      v_file_on_os := bfilename('PO_DATA_DIR', v_file_name);
      dbms_lob.createtemporary(v_temp_lob, cache => FALSE);
      dbms_lob.fileopen(v_file_on_os, dbms_lob.file_readonly);
      dbms_lob.loadblobfromfile(dest_lob    => v_temp_lob,
                                src_bfile   => v_file_on_os,
                                amount      => dbms_lob.getlength(v_file_on_os),
                                dest_offset => v_dest_offset,
                                src_offset  => v_src_offset);
      dbms_lob.fileclose(v_file_on_os);
      p_document_type := 'application/pdf;name=' || v_file_name;
      dbms_lob.copy(p_document, v_temp_lob, dbms_lob.getlength(v_temp_lob));
    EXCEPTION
      WHEN OTHERS THEN
        wf_core.CONTEXT('ZZ_PO_REQAPPROVAL_INIT1',
                        'xx_notif_attachments',
                        v_document_num,
                        p_request_id);
        RAISE;
    END xx_notif_attachments;
    Please help me find a to the above mentioned error.
    Thanks,
    Suvigya

    There are two ways to look at what error the PLSQLBLOB API is throwing.
    1) Call your PLSQLBLOB API GNE_PO_CREATE_FILE_ATTACHMENT.Gne_Create_File_Attachment directly from a PLSQL block and verify that it returns the BLOB data successfully.
    You could also call another WF API that in turn executes the PLSQLBLOB API internally. For example,
    <pre>
    declare
    l_document blob;
    l_doctype varchar2(240);
    l_aname varchar2(90);
    begin
    dbms_lob.CreateTemporary(l_document, true, dbms_lob.Session);
    -- 207046 - This is the notification id of your failed workflow
    -- PO_REPORT - Document type attribute
    -- 'text/html' - Content Type being generated for
    Wf_Notification.GetAttrBLOB(207046, 'PO_REPORT', 'text/html', l_document, l_doctype, l_aname);
    -- Print the size of the document here to verify it was fetched correctly
    end;
    </pre>
    2) Turn on log for SYSADMIN user with following attributes.
    Log Enabled = TRUE
    Log Level = ERROR
    Log Module = wf.plsql%
    Restart the Workflow Deferred Agent Listener and Workflow Notification Deferred Agent Listener and run your workflow process. Search for log messages written for above context and you can identify the error at wf.plsql.WF_XML.GetAttachment module with message starting as "Error when getting BLOB attachment ->"
    Hope this helps.
    Vijay

  • How to submit a concurrent program from a custom form.

    I'm use Forms [32 Bit] Version 6.0.8.26.0 (Production) and Oracle Applications : 11.5.10.2.
    I need execute a concurrent program from a custom form.
    In the custom form I have a button and when that button is clicked I want to submit this cocurrent program. I am using the below code.
    fnd_profile.get('USER_ID', v_user_id);
    fnd_profile.get('RESP_ID', v_resp_id);
    fnd_profile.get('RESP_APPL_ID', v_resp_appl_id);
    fnd_global.apps_initialize(v_user_id,v_resp_id,v_resp_appl_id);
    vn_request_id := apps.fnd_request.submit_request (
    'XBOL',
    'CSUV_GL_STATEMENT_EXPORT'                                                            
    ,NULL
    ,NULL
    ,FALSE
    commit;
    But the concurrent program finished in error:
    "ORACLE error 6550 in FDPSTP
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    The SQL statement being execute"
    The executable of the concurrent program is the next:
    PACKAGE CSUV_GL_STATEMENT_EXPORT_PK
    IS
    PROCEDURE Main (
    pouc_errbuf OUT VARCHAR2,
    poun_retcode OUT NUMBER,
    pinc_OWNER in varchar2,
    pinc_VESSEL in varchar2,
    pind_GL_DATE in varchar2,
    pinc_STATE_NUM in varchar2,
    pind_STATE_DATE in varchar2,
    pinc_EXCEL_LAYOUT in varchar2
    END CSUV_GL_STATEMENT_EXPORT_PK;
    And de value set of the all my concurrent program parameters is "240 Characters".
    I dont't understand why the concurrent program finished wrong.

    Hi,
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignoredPlease refer to "Oracle Applications Developer's Guide" manual for the correct syntax and the number of arguments you need to pass to this API.
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115devg.pdf
    Thanks,
    Hussein

  • How to default Concurrent Program delivery options to Email.

    As of r12.1.3, we have a new button in concurrent request submission window called "Delivery Opts"
    Clicking that button opens up a new window with delivery options.   Second tab contains the Email option.
    I have a need where a concurrent program is submitted it should email the output  by default without needing to manually enter email details every time.
    I know that this can be done via scheduled concurrent requests. But in my case this concurrent program will be part of the shipping document set and will be submitted through the form and not SRS. 
    In concurrent program definition window under AOL,  we have ability to assign default printer, but we do not have any ability to assign default email functionality.   It would be nicer if we had one.
    That having said,  does any one know how to do this ?  How can I submit a concurrent program from a form and default to email option ?   Where would I control this setup?
    Please advise.
    Darsh

    you may not be able to do that by setup, but if you submit this request using pl/sql code you can do this
    please check example below
    DECLARE
    l_conc_id NUMBER;
    l_user_id NUMBER := xxx ; -- you can assign it from profile option value
    l_resp_id NUMBER := xxx ; -- you can assign it from profile option value
    l_resp_ppl_id NUMBER := xxx; -- you can assign it from profile option value
    l_boolean BOOLEAN;
    BEGIN
    l_boolean :=
    fnd_request.add_delivery_option (TYPE => 'E', -- this one to speciy the delivery option as Email
    p_argument1 => 'Testing the Email option from back end', -- subject for the mail
    p_argument2 => '[email protected]', -- from address
    p_argument3 => '[email protected]','[email protected]', -- to address
    p_argument4 => '', -- cc address to be specified here.
    nls_language => ''); -- language option);
    IF l_boolean = TRUE THEN
    FND_GLOBAL.APPS_INITIALIZE (l_user_id, l_resp_id, l_resp_ppl_id); -- intialize the apps.
    l_conc_id :=
    fnd_request.submit_request (application => 'FND',program => 'XXXXXXX', -- you concurrent program.
    start_time => SYSDATE,sub_request => FALSE);
    END IF;
    END;

  • Create child concurrent program for multi-processing

    Hi,
    I have a requirement where in I need my main concurrent program to generate child concurrent programs to process data in parallel.
    I want all the child programs to write the response in the output file of the main concurrent programs.
    Any pointers to this will be a real help.
    Thanks.
    Jujaar

    Hey Sandeep,
    Thanks for your response...
    OK, even I was thinking on those kind of solution or other possible way is to directly write in the output/log file of the parent req.
    Cause the output file is always formed at a loction with a std. naming convention o+request_id.out.
    I think it might be possible to write directly into the file. Have not tried it yet.
    And one more question, do you have an idea how to generate the child concurrent programs.
    I do see a parameter names sub_request in fnd_request.submit_request package. This is a boolean type.
    But I am kind of unsure, If I pass this parameter as TRUE, how it will find the parent request ID.
    If you some information on this as to how we can submit child concurrent request, please share. IT would be a great help.
    Thanks
    Jujaar

  • Find out all custom concurrent program

    Hi experts,
    I am looking for the query that can bring me all custom concurrent programs. We did not follow the naming convention so that It is so difficult the find find out all custom concurrent programs. If you have that sql, please kindly share with me.
    Thanks in advance.
    HL

    That is another question, probably the question was asking the custom tables, and I found out almost custom tables. Now, I am asking about custom concurrent programs. If I base on creation_date, it seems to me that I can get 60%-70% of custom concurrent programs. But I need all custom concurrent programs. Do you have the query that can list all standard current programs. Then I can exclude them on my list and I can get the expected result.The same way you got the list of custom table you can use to get the list of custom concurrent programs.
    You can query the same tables/views and get the list of seeded concurrent programs (CREATED_BY in (-1, 0, 1, 2)). Please pay attention to the custom concurrent programs which were created by any of those users (ANONYMOUS, SYSADMIN, AUTOINSTAL, INITIAL_SETUP).
    Thanks,
    Hussein

  • How to send concurrent program output file as an attachment in the notification mail

    Hi All,
    We are on Oracle apps version - 11.5.10.2
    We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
    Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
    But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
    Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
    Please Note - We do not want any custom code to be written to send the attachment.
    Any pointers to this will be helpful.
    Regards,
    Shruti

    Hi All,
    We are on Oracle apps version - 11.5.10.2
    We have a requirement wherein we need to send the concurrent program output file as an attachment while sending the notification mail to the user.
    Currently we have tried the approach wherein we are specifying the user id in the OPTIONS tab (Notifying the following people) while submitting the concurrent program.
    But using this approach, the user gets only the URL of the output file in the notification mail and not the output file as an attachment.
    Kindly let us know if anyone has incorporated the logic to send the output file as attachment in the notification mail.
    Please Note - We do not want any custom code to be written to send the attachment.
    Any pointers to this will be helpful.
    Regards,
    Shruti

  • Reg emailing the output of a concurrent program as an attachment

    Hi,
    Our requirement is to email the output of a concurrent program?(SQL*PLUS Report Output) as an attachment to the supplied Email Id, without using seperate Shell Script.
    We have configured a printer and passed the Printer Driver argument as
    uuencode $PROFILES$.FILENAME Budget_Report.csv | /bin/mailx -"Cisco AS Budget Report" $Email_id
    The Problem is we are passing the Email address directly to the command.Can't we use the Parameter value to that command?
    And also a junk character 'end gets displayed in the mail body.
    Sometimes the concurrent Program ends with warning message as
    APP-FND-00500 : AFPPRN received a return code of failure from routine FDUPRN.
    An error occured while AOL tried to spawn the print process.
    Please suggest some ways on getting proper output?
    Thanks.

    Hi,
    Email address can be Profile Option - create a new profile option, set value and reference like the $PROFILES$.FILENAME.
    For logging pipe standard out and error to a logfile. Note I haven't tested the command below, just to give you an idea. Would be better to create a shell script then you can change without having to go to the Printer Drivers and bounce Conc Mgr.
    Ie. if you profile option is XX_EMAIL_ADDRESS then
    uuencode $PROFILES$.FILENAME Budget_Report.csv | /bin/mailx -"Cisco AS Budget Report" $PROFILES$.FILENAME >/mypath/myfile 2>&1
    With regards to the failure, if your uuencode or mailx returns 1 (ie, can't find file or whatever) then your print job fails. This is why you should either log or create shell script to handle the error better.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/
    Message was edited by:
    gareth.roberts
    oops, have tested changed to haven't tested!

  • AP PRE_PAYMENTS custom concurrent program to load pre-payment invoices

    is there any concurrent program to load pre-payment invoices.if not how to create

    THanks for the suggestion MIke. I tried changing both the element name and the value to upper case, tthen I tried removing the..
      <property name="xml_tag_case" value="upper" />  ..line altogether, yet it still isn't returning any records..
    THanks
    Steven

  • Plsql query to find out the concurrent programs attaching a plsql package

    I want to find all the concurrent programs attaching a particular package. Please provide me with the appropriate query to get that.

    Hello,
    1- First thing: we are talking about a SQL query (and not a PL/SQL query).
    2- I would like to add an additional filter to the query of shazi as the query should show only PL/SQL packages
    SELECT
    fcp.CONCURRENT_PROGRAM_ID
    ,fcp.concurrent_program_name
    , fcpt.user_concurrent_program_name
    , DECODE(fe.execution_method_code
    , 'I', 'PL/SQL'
    ,'P', 'Reports'
    ,'C', 'SQL Loader'
    ,'Q', 'SQL Plus'
    ,'K', 'Java'
    ,'H', 'OS executable'
    ,'B' , 'Req. Set Stage'
    ) EXECUTION_METHOD
    ,UPPER(EXECUTION_FILE_NAME) PACKAGE_BODY
    from
    fnd_concurrent_programs_tl fcpt
    , fnd_executables fe
    ,fnd_concurrent_programs fcp
    where 1=1
    --and fcpt.concurrent_program_id = fcr.concurrent_program_id
    and fe.executable_id = fcp.executable_id
    and fcpt.concurrent_program_id = fcp.concurrent_program_id
    and fe.execution_method_code = 'I' /* here's the additional filter */
    --and fcpt.user_concurrent_program_name = :P_USER_CONC_PROGRAM_NAME
    --fcp.concurrent_program_name = :P_CONC_PROGRAM_NAME /* using this filter would use an index */
    Lalaina

  • Can a concurrent program attached to responsibilty

    Dear All
    can a concurrent program attached to specific custom responsibilty. I have made a concurrent program "On Hand qty " and i neeed to attach it to "XXXX Material On-Hand Quantity". how can it be done.
    I have already attach it to Inventory Responsibilty and its working fine.
    Regards
    Arifuddin

    can a concurrent program attached to specific custom responsibilty. I have made a concurrent program "On Hand qty " and i neeed to attach it to "XXXX Material On-Hand Quantity". how can it be done.
    I have already attach it to Inventory Responsibilty and its working fine. Add the concurrent program to the request group which is attached to the responsibility.
    Thanks,
    Hussein

  • Need to derive at a list of concurrent programs

    Hi,
    Need a query to check the list of concurrent programs in Oracle 11i. The output should display the following:
    Concurrent Program Name
    Report Set Name
    Parameters
    Targeted Start Time
    Targeted End Time
    Frequency
    Interval
    Can anyone please help me with the above query.
    Regards,
    Radhika.

    928719 wrote:
    Hi,
    Need a query to check the list of concurrent programs in Oracle 11i. The output should display the following:
    Concurrent Program Name
    Report Set Name
    Parameters
    Targeted Start Time
    Targeted End Time
    Frequency
    Interval
    Can anyone please help me with the above query.https://forums.oracle.com/forums/search.jspa?threadID=&q=fnd_concurrent_requests+AND+actual_start_date&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Attach calender to a concurrent program

    Hi All,
    How to attach a calender to a parameter in concurrent program in R12, please help me on this.
    Thanks

    user13424229 wrote:
    Hi All,
    How to attach a calender to a parameter in concurrent program in R12, please help me on this.
    ThanksPlease see these links.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Calendar+AND+Concurrent+AND+Program&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Calendar+AND+Concurrent+AND+Program+AND+Parameter&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

Maybe you are looking for

  • IBook from iBook Author to iPhone...?

    I want to make a few of my iBooks available on iPhone. I've made them using iBooks Author and they are clearly formatted for iPad. Does iBook Author output file types that can be read on iPhone? If not, can anyone recommend a method to take iBook con

  • Show counts where an account has a code(s) but not other code(s) on it

    Hi I'm fairly new to PowerPivot so I'm sure one of the experts has a good answer for this. We have customer accounts that have service codes attached to them-i.e customer 123 could have service code 1,2,3,4,5 etc.. What I want to do is show counts wh

  • Genius mix causes itunes to crash

    Hello, was wondering if anyone can help me out with a problem am experiencing everytime i run genius mix it crashes itunes 11.0.4.4, I am running xp sp3 on a dell D620 I am also running tuneup with itunes , but the crash happens even when tuneup is t

  • Validating a selection screen filed

    Hi Experts, I need to to validate a selection screen field .The field is mentioned as selection parameter and it is obligatory. To validate this i have written the logic as follows: AT SELECTON SCREEN ON <FIELD-NAME>. SELECT STATEMENT. IF SY-SUBRC NE

  • [ati]how to install and configure on veryold notebook atiragemobility

    Hi, My notebook is Nec Versa Note VX L1. it's m'y graphic card : 00:05.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M (rev 64) I try xf86-video-ati but doesn't work   . I search another driver, but I don't found. (it's my topic i