Invoke workflow through Custom.pll

All,
We have a requirement to invoke Workflow process for every service request create / update and I am calling the wf like below in custom.pll
WHEN-VALIDATE-RECORD
XXPPS_CRM_WF_PROCESS.XXPPS_WF_LAUNCH (                                     08291302      ,                                     'REFUND-PROCESS'    ,                                     'CRM QA'       ,                                     P_RETURN_MESG );
I am getting below error
FRM-40735 WHEN-VALIDATE-RECORD trigger raised unhandled exception ORA-20002 Does anyone has any idea ?? Can we launch the workflow through Custom.pll ?? Please advise...

This forum is for general Oracle Forms questions.  Please post your question in the EBS General Discussion forum.  If you have a general Forms question, by all means, ask it here!
Craig...

Similar Messages

  • Launch workflow through Custom.pll

    All,
    We have a requirement to invoke Workflow process for every service request create / update and I am calling the wf like below in custom.pll
    WHEN-VALIDATE-RECORD
    XXPPS_CRM_WF_PROCESS.XXPPS_WF_LAUNCH (                                     08291302      ,                                     'REFUND-PROCESS'    ,                                     'CRM QA'       ,                                     P_RETURN_MESG );
    I am getting below error
    FRM-40735 WHEN-VALIDATE-RECORD trigger raised unhandled exception ORA-20002 Does anyone has any idea ?? Can we launch the workflow through Custom.pll ?? Please advise...

    This forum is for general Oracle Forms questions.  Please post your question in the EBS General Discussion forum.  If you have a general Forms question, by all means, ask it here!
    Craig...

  • How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods

    Hi All,
    How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods.
    This is a enhancement requirement.
    When ever user enter value in field 1 then automatically cursor should go to next field.

    Hello Bobb,
    You can create a trigger(when-list-changed) for each list item where you could:
    1.recreate the record groups and then use POPULATE_LIST so you can hide the selected values. In forms builder online help there are some good examples about create record groups dynamically.
    or
    2.you can perform a validation instead of hiding the selected values. If the values is already selected the display a message 'Value already selected....'
    Second option is much faster(only an 'if clause')
    Hope this helps.
    Regards,
    Alex

  • Can we change the Record Group Type through Custom.pll

    Hello All,
    I have a small requirement on Changing the Record Group Dynamically.
    Can i set the Record group type to 'Query' from 'Static'. i.e Can i change the Record group type dynamically through custom.pll. I know that we can dynamically change the Record group query.
    Please help me its a bit urgent.
    Thanks inadvance,
    Amarnadh Js

    you can control your record group runtime without create any recordgroup at design time..
    1.static group
    declare
       rg_name         VARCHAR2 (40)  := 'Global_Rgp_Menu';     --global record group name for menu use
       rg_id           recordgroup;                                            --global record group id
       gc_id           groupcolumn;                                     --global record group coulmn id
       errcode         NUMBER;                                                             --error code
       grp_row         PLS_INTEGER    := 0;                             --global record group row count
    begin
      rg_id := FIND_GROUP (rg_name);
       IF NOT ID_NULL (rg_id)
       THEN
          DELETE_GROUP_ROW (rg_id, all_rows);
       ELSE
          rg_id := CREATE_GROUP (rg_name, global_scope);
          gc_id := ADD_GROUP_COLUMN (rg_id, 'menu_item', char_column, 100);
          gc_id := ADD_GROUP_COLUMN (rg_id, 'p_type', char_column, 100);
          gc_id := ADD_GROUP_COLUMN (rg_id, 'p_no', char_column, 100);    
       END IF;
      grp_row := 0;
      for 1 in 1..10 loop
           grp_row := grp_row + 1;
          ADD_GROUP_ROW (rg_id, grp_row);
          SET_GROUP_CHAR_CELL (rg_name || '.menu_item', grp_row, 'menu' || to_char(i) );
          /*type*/
          SET_GROUP_CHAR_CELL (rg_name || '.p_type', grp_row,  'type' || to_char(i) );
          /*program_no */
          SET_GROUP_CHAR_CELL (rg_name || '.p_no', grp_row,  'programno' || to_char(i) ); 
      end loop;
    end;
    2. query group
    declare
       FACT_SQL VARCHAR2(500) :=NULL;
       rg_name1       VARCHAR2(40) := 'Global_Rgp_fact';
       rg_id1   RecordGroup;
       Error_Flag number:=0;
       group_error exception;
    begin
       rg_id1 := Find_Group( rg_name1 ); IF NOT Id_Null(rg_id1) THEN Delete_Group( rg_id1 ); END IF;     
       FACT_SQL := ' SELECT *   FROM MYFACTORY  ' ;      
       rg_id1 := Create_Group_From_Query( rg_name1,FACT_SQL ,global_scope);
        Error_Flag := POPULATE_GROUP(rg_id1);
        IF Error_Flag <>0 THEN     
               error_msg:='Error while populating factory group';   
               raise group_error;
        END IF; 
    exception
      when group_error then
         message(error_msg);
        raise;
    end;Edited by: nolemlin on 2010/3/23 上午 7:50

  • Disabling the Button in Ap invoice through custom pll

    Hi
    i have done one customization in ap invoices , such way that
    in supplier screen --> organization tab--> created the DFF for the supplier limit say 4000
    now in ap invoices screen, now i creating the PREPAYMENT, if the amount exceed that 4000, it will create hold, i written code for that
    now my problem is in HOLD TAB Release button is there,
    my requirement is RELEASE BUTTON SHOULD BE DISABLED until the until the amount is not rectified.
    in custom pll
    if form_name = 'APXINWKB' then
    if block_name = 'AP_HOLDS' then
    if event_name = 'WHEN-NEW-RECORD-INSTANCE' then
    l_invoice_id := name_in('INV_SUM_FOLDER.INVOICE_ID');
    l_release_hold :=xxcus.AKRUTI_PAYABLES_PKG.release_single_hold(l_invoice_id);
    if l_release_hold = 1 then
    fnd_message.set_string('Check the Advance amount enter greater than Supplier Limit or Advance amount greater than Purchase Order amount');
    fnd_message.show;
    set_item_property('APXHOLDS.AP_HOLDS_CONTROL.ACTION_BUTTON',ENABLED,PROPERTY_FALSE);
    elsif l_release_hold = 0 then
    set_item_property('APXHOLDS.AP_HOLDS_CONTROL.ACTION_BUTTON',ENABLED,PROPERTY_TRUE);
    end if;
    end if;
    end if;
    end if;
    the release button is not diabling since in the AP INVOICES forms, HOLDS is IN OBJECT GROUPS of that form the HOLD forms is APXHOLDS, how to disabled the button,
    it showing the message"'Check the Advance amount enter greater than Supplier Limit or Advance amount greater than Purchase Order amount"
    but it is not disabling the button

    are you using 11.5.10? If you are why not try the personalization features?

  • Standard LOV Customization through CUSTOM.pll HELP

    Hello,
    I am currently trying to override the LOV dropdown of an Oracle 11.5.10 form using the custom.pll. The example I am using is as follows:
    procedure event(event_name varchar2) is
    form_name      varchar2(30) := name_in('system.current_form');           --added by Nazir
    block_name      varchar2(30) := name_in('system.cursor_block');      --added by Nazir
    item_name     varchar2(100) := name_in('system.current_item');
    v_sql          varchar2(5000);
    result           Number;
    rec_id           RecordGroup;
    v_login_company     VARCHAR2(50);
    begin
    if(event_name = 'WHEN-NEW-ITEM-INSTANCE') then
    if (form_name = 'ARXTWMAI' and block_name = 'TGW_HEADER') then
    if( item_name = 'CTT_TYPE_NAME_MIR') then
    v_login_company     :=     fnd_profile.value('LN_LOGIN_COMPANY');
    if (v_login_company = '0000') then
         fnd_message.set_string('Please enter description');     Testing fnd message. This works fine. Message displayed.
         --fnd_message.show;
    v_sql := 'select ctt.cust_trx_type_id cust_trx_type_id, ctt.name name, ctt.description description, ctt.type class, arl_class.meaning class_meaning, ctt.accounting_affect_flag open_receivables_flag, ctt.post_to_gl post_to_gl_flag, ctt.allow_freight_flag allow_freight_flag' ||
    ',ctt.creation_sign creation_sign, ctt.allow_overapplication_flag allow_overapplication_flag, ctt.natural_application_only_flag natural_application_only_flag, ctt.tax_calculation_flag tax_calculation_flag, arl_status.meaning default_status' ||
    ',arl_print.meaning default_printing_option, rat.name default_term from      ar_lookups arl_print, ar_lookups arl_status, ar_lookups arl_class, ra_terms rat, ra_cust_trx_types ctt ' ||
    'where '||''''||'INVOICE_PRINT_OPTIONS'||'''' || '= arl_print.lookup_type ' ||
    ' and      ctt.default_printing_option = arl_print.lookup_code' ||
    ' and' || ''''||'INVOICE_TRX_STATUS'||'''' ||'= arl_status.lookup_type' ||
    ' and      ctt.default_status = arl_status.lookup_code and      ctt.default_term = rat.term_id(+) ' ||
    ' and' || ''''||'INV/CM'||'''' || '= arl_class.lookup_type ' ||
    ' and      ctt.type = arl_class.lookup_code' ||
    ' and      ctt.type in ( ' || '''' || 'DEP' || '''' || ',' || '''' || 'GUAR' || '''' || ',' || '''' || 'INV' || '''' || ',' || '''' || 'CM' || '''' || ',' || '''' || 'DM' || '''' || ')' ||
    ' and      ( ctt.type not in (' || '''' || 'DEP' || '''' || ',' || '''' || 'GUAR' || '''' || ') or ctt.accounting_affect_flag =' || '''' || 'Y' || '''' || ')' ||
    ' order      by ctt.name' ;
                   rec_id := CREATE_GROUP_FROM_QUERY( 'TRANS_TYPE_LNCUSTOM', v_sql );
                   result := POPULATE_GROUP(FIND_GROUP( 'TRANS_TYPE_LNCUSTOM'));
                   SET_LOV_PROPERTY('ARXTWTGW_TRANSACTION_TYPE', GROUP_NAME, 'TRANS_TYPE_LNCUSTOM' );
    end if;
    end if;
    end if;
    end if;
    end event;
    I am getting following errors:
    FRM-41072: Cannot create group TRANS_TYPE_LNCUSTOM
    I checked my query with DBMS outputs and then copy that output and ran it as a query in toad and it worked fine.
    Has anyone done this before that could help me resolve the problem??
    Thanks,
    Nazir.

    Hello,
    I figured out the problem and it works perfectly fine. Basically, it does create a record group but once I move out of the item and come back to the item, it was trying to create a record group with the same name again. So I had add an extra check in my statement:
    if id_null('record group')
    then only create the group;
    Thanks Guys,
    Nazir.

  • :parameter.doc_type value in CUSTOM.pll

    Hi,
    I am currently doing customizations through CUSTOM.pll.
    In the code i need the value of :parameter.doc_type(related to a form in inventory module) .
    Any clues as to how can i get this value.
    Any help will be appreciated,thanking in advance
    Kaps.

    use name_in() built-in to refer that in your custom.pll , will solve u'r problem

  • Release12 and custom.pll to OAf..urgent!!!!

    dear All,
    We have upgraded from 11.5.10 to EBS 12i.Certain features which were earlier done by customising the forms through custom.pll,now needs to be redone for the self-service screens using OAf.
    My Question is :Is oracle providing any hooks or wrappers for the modules which have been implemented through self-service(which were earlier forms) whereby we can reuse the custom.pll to suite the self-service customisation,
    or
    do we have to go for extensions in self -service to achieve the same functionality,which was earlier done thro custom.pll.
    Any pointers wud be great as lot of extensions have to be done to replace the custom.pll if there is no other way of achieving it.we have cheked that certain requirements are not possible thro personalization also.

    I don't think that any such wrapper exists.
    You will have to make use of OAF personalization and extension based on the requirements. If you can provide the customization details, we can suggest the approach to take.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Reading values from lookup columns through custom workflow in SharePoint 2013

    We are able to read the values of text, number columns through custom workflow (via coding) in SharePoint 2013. However, we are not able to read values from lookup columns. So, request anyone to provide help on this.
    Thanks & regards,
    Aditya

    Hi,
    According to your post, my understanding is that you want to read values from lookup columns through custom workflow in SharePoint 2013.
    Since the workflow just doesn't get lookup fields, let's give it something static to work with instead. If we can capture the ID of the lookup field and store that as a static value in our list, the workflow can happily use that to look up our related.
    For more information, you can refer to:
    SharePoint 2013 Workflows and Lookup Columns
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • How to invoke Workflow and UWL through Webdynpro for Java

    Hi,
    In my Development Component there are three applications .The requirement is that the data will flow between one application to another only through workflow in
    UWL.
    Can anybody help me out as to how to invoke workflow programatically from Webdynpro for Java .
    After data goes from one application to workflow UWL, how the second application will work on it . If possible please send me the links of some tutorials .
    I searched in Webdynpro Tutorials site but there are no tutorials available there .
    Thanks a lot .

    Hi,
    Check the following Threads,U will get lot of details......
    WebDynpro application that can work with SAP workflow work items?
    /thread/142477 [original link is broken]
    Configuring UWL with WebDynpro
    /people/niharika.jeena/blog/2006/06/06/launching-webdynpro-from-universal-worklist
    Sample Application,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/how%20to%20configure%20the%20universal%20worklist.pdf

  • Custom pll to disable form messages while looping through block records

    I need to loop through block records in CUSTOM pll to check for if one check box is checked or not. But in that process the messages written at the forn level are popping up which are of no use to the user. I want to disable the messages for my looping. I would enable it after the processing in CUSTOM PLL
    Regards,
    SS

    Hello,
    Here is the Forms forum, and you would increase chances to get an answer by posting in the EBS forum.
    Francois

  • How to use the bind variable in custom.pll

    Hi,
    How to use the bind variable in custom.pll.Its through error.
    any one gem me.
    very urgent.
    M.Soundrapandian.

    Hello,
    Please, ask this kind of questions in the e-business forum.
    Francois

  • Error while compiling the composite through custom ant script

    Hi,
    I am getting the following error while compiling the composite through custom built ant scripts which are intern call the ant-sca-package.xml. And the composite is created by upgrading the 10g bpels. But the same composite is successfully compiling from Jdeveloper (11.1.1.4).
    oad of wsdl "oramds:/soa/shared/workflow/NotificationService.wsdl" failed
    oracle.fabric.common.FabricException: Error in getting XML input stream: oramds:/soa/shared/workflow/NotificationService.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:280)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:555)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream(MetadataManagerImpl.java:159)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:417)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:241)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:304)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:934)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:388)
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:176)
         at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:67)
         at java.net.URL.openStream(URL.java:1010)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:276)
         ... 9 more
    Caused by: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:339)
    And in the following blog, its recommended to check for the adf-config.xml. But when upgrading the bpels from 10g to 11.1.1.4, I don't see any such file created by Jdeveloper.
    http://orasoa.blogspot.com/2010/08/ant-and-mds-composite-compile-error.html
    Not sure if I am missing some properties to add in by custom script while compiling.
    Thanks
    Sree
    Edited by: Sree on Jul 4, 2011 7:25 AM

    Hi Hussain,
    Thanks for the reply.
    Were you able to compile the form at the client side successfully?
    1) Were you able to compile the form at the client side successfully?:
    Ans: Yes, I was able to compile the form successfully at client side.
    2) Are you logged in as applmgr user? Have you sourced the application env file before compiling the form?
    Ans: No, I have not logged by applmgr user, i am using my own login. Yes I have sourced the application env file before compiling the form
    3) What does "echo $FORMS_PATH" return?
    Ans: echo $FORMS_PATH on server gives this path
    /u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource:/u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource/stub
    Can you please advise?
    Thanks,

  • Forms Personalization or custom.pll

    I need to make the 'One Time' check box default to yes for the supplier window when I login through a custom responsibility One Time Supplier !
    either by forms personalization or custom.pll
    Can any one advise me ?

    Ok.
    I’m on EBS 11.5.10.2 R3
    I’m not sure if it will work for a different version
    1.Open the Suppliers and the Forms Personalization windows.
    2. Seq=1, Description: Activate One_Time flag
    3.Level = Function
    Condition:
    Trigger Event = WHEN-NEW-RECORD-INSTANCE
    Trigger Object = VNDR
    Condition = :SYSTEM.RECORD_STATUS = 'NEW'
    Actions
    Seq=1, Type = Property
    Description = One Time
    Object Type = Item
    Target Object = VNDR.ONE_TIME_FLAG_MIR
    Property Name = VALUE
    Value= Y
    4.In the Context area enter the responsibility you want to be affected by this personalization.
    5.Save your work and close all windows. Using the responsibility on 4, open the suppliers window again, go to the Classification tab and see if it is checked.
    Hope this helps
    Octavio

  • Workflow in customer payment

    hi all we want to set up workflow for customer posting. when we receive customer payment through EDI in lockbox then sometime times customer send us denial for payment through denial codes. In such case we want to drive a work flow to submit invoices again with proper documents. Can some body tell me how do we create this work flow.
    nik

    The WF starts with the denial of payment, then create a activity step to check the reason for denial, then based on that create a decision step how to proceed further. Regenerate or option B. This WF ends once the customer accepts to pay i.e. upon receipt of payment. To drive this, create a Wait step which will wait for the payment event.
    Regards, IA

Maybe you are looking for

  • When i try to open a document in Adobe Reader, I get a "could not open" msg?  Why?

    When I try to open a document in Adobe, I get an error messsage:  "Adobe Reader could not open 'whatever file it is' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment

  • Test Scripts for financials modules

    Hi, I am looking for detailed test scripts covering all test scenarios for system testing in financials modules. I am interested in Purchasing, Payables, Cash Management, Projects and Fixed Assets. I also need for Receivables and Order Management. Do

  • Streaming pictures from computer directly to Apple TV

    Can I show pictures on my Apple TV (latest version) directly from my computer without using iCloud. I hear that iTunes let's one do this but there seems to be no way I can find out how to do this with the latest version of ITunes. This is so disappoi

  • Purchase Order - Position of Custom Dynpro

    Hi all, I have used enhancement MM06E005 to add a custom dynpro on purchase order transaction(ME22N...). Is it possible to change the position of this dynpro. I want that this is the last tab of general dynpro. Thanks in advance, Francesco

  • Mac OS X 10.8.3 Bluetooth Keyboard entry challenges

    I am having a reoccuring problem when entering information into a downlaoded PDF form that my keyboard types the wrong character into the PDF.  It happens very randomly and without any apparent pattern. For instance, I will beattempting to type a dol