Query regarding customization thru custom.pll

Hi all,
Can I use WHEN-BUTTON-PRESSED trigger in CUSTOM.PLL trigger.
Which are the different triggers use in CUSTOM.PLL .
request to share your know with me.
Thanks in advance.
regards
sanjay

Hi;
Please check below links
http://www.orafaq.com/forum/t/148221/2/
Re: how to make a conditional mandatory field by custom.pll
http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/handling-whenbuttonpressed-trigger-in-custompll-1874966
Also see:
http://download.oracle.com/docs/cd/B25516_11/current/acrobat/115devg.pdf
Regard
Helios

Similar Messages

  • After customization in CUSTOM.pll is raising popup erro in other module

    Hi All,
    i did customization of CUSTOM.pll and working fine for the QA module, while it raising the error for other module.
    i did customization as below:
    procedure event(event_name varchar2) is
    form_name varchar2(30) := name_in('system.current_form');
    block_name varchar2(30) := name_in('system.cursor_block');
    item_name varchar2(30) := name_in('system.cursor_item');
    item_value VARCHAR2(100);
    v_plan_id NUMBER;
    begin
    if (form_name = 'QLTRSINF' AND block_name ='Q_RES') then
    item_value := name_in('Q_RES_HEAD.NAME');
    IF (event_name='WHEN-NEW-BLOCK-INSTANCE') THEN
    IF item_value='INVOICE REMOVAL PROCESS' THEN
    set_block_property('Q_RES',DEFAULT_WHERE,'PLAN_ID= :Q_RES_HEAD.PLAN_ID and CHARACTER2=''No'' AND (status IS NULL OR status = 2) ');
    DO_KEY('EXECUTE_QUERY');
    end if;
    end if;
    end if;
    end event;
    The above code is working fine in QA module for UPDATE QUALITY RESULTS, while it is raising erro for other module.
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-06502
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-BLOCK-INSTANCE trigger raised unhandled exception ORA-06502.
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-RECORD-INSTANCE trigger raised unhandled exception ORA-06502.
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-ITEM-INSTANCE trigger raised unhandled exception ORA-06502.
    please help me out .
    Thanks & Regards,
    Krrish

    Hello,
    Please, don't use the standalone Forms forum to ask questions about personalization. Ask them on the dedicated E-Business Suite forum.
    Francois

  • Query regarding updation thru a Procedure

    Hi,I have a query regarding updation.
    1.I invoke a procedure in Oracle called submit thru my Java application.
    The submit procedure saves the XML data in the database
    and displays this data in a Front End GUI.
    2. Now,I make a change in my Java application by adding new elements to the same row.This row now contains additional XML elements.
    I would like to display the new row with the new elements in the GUI.
    What is a better option for doing the above?
    1.Delete the row being shown,save the new row with the changes in the database,and re display it?
    2.Or,Update the row dynamically and refresh?
    Any suggestions
    Thanks,

    Hi,I have a query regarding updation.
    1.I invoke a procedure in Oracle called submit thru
    my Java application.
    The submit procedure saves the XML data in the
    database
    and displays this data in a Front End GUI.
    2. Now,I make a change in my Java application by
    adding new elements to the same row.This row now
    contains additional XML elements.
    I would like to display the new row with the new
    elements in the GUI.
    What is a better option for doing the above?
    1.Delete the row being shown,save the new row with
    the changes in the database,and re display it?
    2.Or,Update the row dynamically and refresh?
    Any suggestions
    Thanks,If you delete (it seems to me yours this process is regular and frequent) and re insert the new updated one record then High water mark will cause to scan yours table which may cause to degrade the performance.AFAIK you should go with update.But hold down dont implement it as i suggested lets see what are others solution here which may be more precious then mine.
    Khurram

  • 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.

  • Query regarding transport of customizing data to another client

    I have some queries related to transport of workbench and Customizing data to another client. As I am new to SDN forum, I am not sure if this is the right forum to post my query. Kindly let me know.

    Frankly, I wasn't even aware of the "Software Logistics" subforum for Netweaver. It is not frequented much, but seems to be the perfect home for questions about the CTS (that are not related to ABAP development at the same time, e.g. object dependencies).
    So, thank you too
    Thomas

  • Query regarding creating a Custom Event and Firing.

    I have created a custom event,a custom listener and a custom button.
    But when I click on custom button,my event is not being fired.
    When and how do I need to invoke the fireEvent() ?
    Please can any body tell me if I have overlooked any thing ?
    Thanks,
    // 1 Custom Event
    import java.util.EventObject;
    public class MyActionEvent extends EventObject{
            public MyActionEvent(Object arg0) {
         super(arg0);
    // 2 Custom Listener
    import java.util.EventListener;
    public interface MyActionListener extends EventListener {
          public void myActionPerformed(MyActionEvent myEvent);
    // 3 Custom Button
    public class MyButton extends JButton {
        // Create the listener list
        protected javax.swing.event.EventListenerList listenerList = new javax.swing.event.EventListenerList();
          public MyButton(String str){
         super(str);
         public void addMyActionEventListener(MyActionListener listener) {
             listenerList.add(MyActionListener.class, listener);
        protected void fireMyActionEvent() {
            MyActionEvent evt = new MyActionEvent(this);
            Object[] listeners = listenerList.getListenerList();
           for (int i = 0; i < listeners.length; i = i+2) {
                 if (listeners[i] == MyActionListener.class) {
                      ((MyActionListener) listeners[i+1]).myActionPerformed(evt);
    } // end of class MyButton.
    // 4 Test my Custom Event,Listener and Button
    public class MyButtonDemo extends JPanel {
        protected MyButton b1;
        public MyButtonDemo() {
            b1 = new MyButton("Disable Button");
            b1.setToolTipText("Click this button to disable the middle button.");
            b1.addMyActionEventListener(new MyActionListener() {
         @Override
         public void myActionPerformed(MyActionEvent myEvent) {
         System.out.println("My ActionEvent....");
            add(b1);
        private static void createAndShowGUI() {
            JFrame frame = new JFrame("ButtonDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            MyButtonDemo newContentPane = new MyButtonDemo();
            newContentPane.setOpaque(true);
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

    Hi Stan,
    I would like to use my custom action listener rather that using the the normal actionPerformed(ActionEvent e)
    But some how this event is not being fired.
    Any suggestions to fire this?
    b1.addMyActionEventListener(new MyActionListener() {
             @Override
             public void myActionPerformed(MyActionEvent myEvent) {
         System.out.println("My ActionEvent triggered....");
    });

  • Using Custom.pll on AP Invoices form goes into error in 11.5.10.1

    Hi All,
    I am trying to do some customization on APXINWKB (Invoices form) using CUSTOM.pll. But whenever i am trying to open the form after adding the code in CUSTOM.pll i am getting the following error:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.GL_EURO_USER_RATE_API", line 173
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.GL_CURRENCY_API", line 327
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-ITEM-INSTANCE trigger raised unhandled exception ORA-06502.
    I am trying to display a a small message in the new form instance of the above form thru CUSTOM.pll, nothing more than that!!. If i remove the coding, the form is working perfectly. My oracle apps version is 11.5.10.1
    Can any body help me??
    Raj

    Hi Helios,
    Thank you for the update, actually the problem is solved.
    The issue is : Whenever i am trying to show a message in that form using either form personalization or CUSTOM.pll, it is giving the error, if i do any thing else like 'changing the default where clause etc', it is not giving any error. The problem is only with message. Actually my requirement is changing the where clause, which is happening with out any problem. I dropped the idea of showing the message any way.
    This problem is strange. Any ways, i am raising an SR with Oracle.
    Raj

  • Way of customizing oracle forums without custom.pll and form personalizatio

    HI,
    I know that form customization is done thru custom.pll and form personalization.what about customization of events which are not found in custom.pll.how can we take care of those events.

    You will have to modify the specific trigger inside the original fmb, and with every patch, redo your changes again. But i don't think thats supported by oracle (maybe you get a more detailed answer in the eBusiness-forums OA Framework )

  • Custom.pll pre-delete event

    i am looking for an event to handle a delete action.
    will put this customization inside custom.pll, basically it will prevent a delete action if a certain condition met.
    tia
    djon

    This is a OAF specific forum. Please raise ur query in appropriate forum.
    --Mukul                                                                                                                                                                                                       

  • :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

  • Query regarding identification of Customizations done in Oracle Apps

    Hi,
    I am from an IT personnel from a banking industry.
    Here we are using Oracle Apps (CU1) that too on Oracle 9i. In order to go ahead with
    migration of Oracle to 10g we need to migrate the application from CU1 to CU2.
    But before we go with this migration, at first place we need to identify what all
    customizations have been done in CU1. The application is operational in our bank since 7-8
    years, somewhere we have lost the tracking sheet of the customizations done earlier.
    Please help out if there is anyway (tools, script, etc) to find what all customizations
    have been done in the product.
    Thanks & Regards,
    Abhinov Asthana
    Mumbai

    Sorry - incorrect answer :-)
    CUSTOM.pll does not capture ALL of the customizations/extensions that may be present.
    As stated before, currently there is no tool or query that will give you this info - it can only be captured thru good documentation practices.
    Srini

  • Size regarding CUSTOM.PLL

    Hi Experts,
    Is there any size constraint for CUSTOM.PLL library ?
    Is there Maximum size for CUSTOM.PLL ?
    regards
    Sanjay

    Hi Sanjay;
    Yes there is a limit. Please see:
    Understanding and Using Custom Library in Oracle HRMS [ID 73505.1]
    Maximum possible CUSTOM.pll size
    For size:
    Customize Oracle Seeded Form
    Regard
    Helios

  • QUERY ONLY = YES not working when set in CUSTOM.pll

    Hi,
    Depending on the responsibility the user is logged on as I have set the element entries form PAYWSMEE to query only = yes within the custom.pll. This seems to work in so far as the elements screen is display-only but when i go into the entry values they are updateable. I have tried setting query only at WHEN-NEW-BLOCK-INSTANCE event and also on WHEN-NEW-FORM-INSTANCE but same results.
    Would really appreciate any help.
    Lorcan.

    EBS questions should be asked in the EBS Forum.

  • FRM-40815: Form Error, using CUSTOM.pll

    Hello,
    I am trying to customize WIP Lot Transactions Oracle Standard Form using CUSTOM.pll.
    Upon navigating to one of the 3 blocks in the form(RESULTING_LOT), I am getting following error message:
    "FRM-40815: Variable GLOBAL.CLRREC_NOVALIDATE does not exist"
    This global variable is not used in CUSTOM.pll at all. But is initialized and used in the standard form only.
    When custom code is turned off, there is no error message.
    Please advise.
    Thanks,
    Krishna.

    Hi,
    Thanks for the response.
    I have created a custom profile and attached it users and Profile value has the organization names.I want the User A with Org1 value in the profile to see all the GL Batches which is created by any other user who belongs to only Org1. Say another user User B with Org2 as the profile value should not see any GL batches created by any other user in the GL Journal Form belonging to other Org's.I'm able to restrict the batches using the below query using the personalizations in the Record Group for the Batch Name.But if the user doesnt give any search criteria and then selects Find then the main form displays all the batches. Hence I want to overide the Data Block where to display accordingly.
    select a.name from gl_je_batches a
    where 1=1
    and a.created_by in (select b.user_id from
    fnd_user b,
    fnd_profile_option_values c,
    fnd_profile_options d
    where c.profile_option_id =d.profile_option_id
    AND c.level_value = b.user_id
    AND profile_option_name='KAP_USER_ORGANIZATION'
    AND c.profile_option_value =(select profile_option_value
    from fnd_profile_option_values e
    where e.level_value =fnd_profile.value('USER_ID')
    and profile_option_id=d.profile_option_id)
    Thanks,
    Ashwini.

  • CUSTOM.pll missing after applying patch 6167056

    HI ALL,
    i have applied patch 6167056 successfully, to carry on the post install step to Copy the CUSTOM.pll to $AU_TOP/resource and re-generate the CUSTOM.plx
    i cannot find the CUSTOM.pll at 6167056/backup/resource
    bash-3.00$ pwd
    /XXXX/XXXX/6167056/backup/resource
    bash-3.00$ ls -l
    total 184
    -rw-r--r-- 1 oradev dba 94208 Oct 15 19:33 JAINTAX.pll
    bash-3.00$
    CUSTOM.pll is missing. Could any suggest why it was not generated?
    Thanks,
    SK

    hi,
    i had stopped the apps services before applying the patch. Before apply the patch i has check the location /6167056/resources
    bash-3.00$ ls -l
    total 976
    -rw-r--r-- 1 oradev dba 98304 Apr 12 2007 CUSTOM.pll
    -rw-r--r-- 1 oradev dba 20480 Apr 11 2007 JAINHELP.pll
    -rw-r--r-- 1 oradev dba 196608 Apr 11 2007 JAINSTFM.pll
    -rw-r--r-- 1 oradev dba 94208 Aug 31 2007 JAINTAX.pll
    -rw-r--r-- 1 oradev dba 90112 Apr 11 2007 JAINTAX1.pll
    bash-3.00$ pwd
    /xxxxx/xxxxxx/6167056/resource
    bash-3.00$
    i had not taken the backup of the above CUSTOM.pll at /6167056/resources
    i need to perform the post-install step of Copy the CUSTOM.pll to $AU_TOP/resource and re-generate the CUSTOM.plx
    should copy the CUSTOM.pll to regenerate using f60gen module=CUSTOM userid=apps/<appspwd> module_type=LIBRARY
    OR can i skip the post install step because there were no customization applied?
    Please suggest
    Regards,
    SK

Maybe you are looking for

  • Labview crashes when opening a file

    I have a simple vi whos purpose is to build a set of custom labview applications.  At some points the .vi gets corrupted (with no ryme or reason).  After the vi get corrupted it will no longer open in labview and the following error shows up in the w

  • What causes generation of _globalStyle class? It's in my non-Flex SWF.

    Hi, I am working on an AS3 project, compiling with mxmlc from Flex 4 beta 2 SDK. I am having a problem with mxmlc generating (what seems to be) some Flex style classes and putting them in my SWF. I only notice this classes when I view my SWF in a dec

  • VLC - Corrupted Package

    I try to install VLC, but I fail each time because of the following: # pacman -S vlc resolving dependencies... done. looking for inter-conflicts... done. Targets: libmad-0.15.1b-2 sdl-1.2.12-1 libmpeg2-0.4.1-1 lame-3.97-1 libvorbis-1.2.0-1 a52dec-0.7

  • Connection has uncommited change in sql developer

    Team, i am getting the message in sql developer connection has uncommited change and please select one of the option 1)commit changes 2)rollback changes 3)abort connection disconnect we are querying the view which takes data from remote database usin

  • Camera raw missing clarity tool

    all of a sudden in my camera raw window i'm missing the clarity tool and i have no idea how to get it back? i think i might be missing another tool but i'm not sure. i tried reinstalling CS3 but no luck. has this happened to anyone else? any fixes? t