Reg: LOV FormPersonalization

Hi all,
I trying to change Query in LOV using form personalization.
Steps i followed was:
1. I identified the Form name and open that in form builder 10g and i found the current query for LOV in Record Group
2. Now i am doing Fom Personalization in oracle apps, I am trying to create new Record Group using my query
3. When I copy my New Query to the RG, its not allowing to paste. Find below my query :
select from*
with cust as
*( SELECT rcr.related_cust_account_id*
FROM hz_cust_acct_relate rcr
WHERE rcr.status='A'
AND rcr.bill_to_flag = 'Y'
AND rcr.cust_account_id = TO_NUMBER(DECODE(:app_folder.customer_id,
-1, :app_main.customer_id,
null, :app_main.customer_id,
*:app_folder.customer_id))*
UNION ALL
SELECT TO_NUMBER(DECODE(:app_folder.customer_id,
-1, :app_main.customer_id,
null, :app_main.customer_id,
*:app_folder.customer_id)) related_cust_account_id*
FROM dual
UNION ALL
SELECT rel.related_cust_account_id
FROM ar_paying_relationships_v rel,
hz_cust_accounts acc
WHERE rel.party_id = acc.party_id
AND acc.cust_account_id = TO_NUMBER(DECODE(:app_folder.customer_id,
-1, :app_main.customer_id,
null, :app_main.customer_id,
*:app_folder.customer_id))*
AND :app_main.receipt_date BETWEEN effective_start_date
AND effective_end_date
union all
select -1 related_cust_account_id
from dual
union all
select -3 related_cust_account_id
from dual
union all
select -4 related_cust_account_id
from dual
select /+ FIRST_ROWS */*
ot.trx_number ,
ot.customer_id ,
ot.customer_number ,
ot.class ,
SUBSTRB(ot.class_meaning , 1, 30) class_meaning,
ot.trx_type ,
ot.cust_trx_type_id,
ot.trx_due_date trx_due_date,
SUBSTRB(decode(sign(ot.payment_schedule_id),
-1, :app_main.currency_code,
ot.invoice_currency_code), 1, 15) invoice_currency_code ,
ot.balance_due_curr ,
decode(sign(ot.payment_schedule_id),
-1, to_number(null),
ot.balance_due_functional) balance_due_functional,
ot.customer_name,
ot.location,
decode(sign(ot.payment_schedule_id),
-1, to_number(null),
ot.trx_exchange_rate) trx_exchange_rate,
ot.trx_date trx_date ,
decode(sign(ot.payment_schedule_id),
-1, to_date(null),
ot.trx_gl_date) trx_gl_date,
ot.calc_discount_on_lines_flag ,
ot.partial_discount_flag ,
ot.allow_overapplication_flag ,
ot.natural_application_only_flag ,
ot.creation_sign ,
ot.payment_schedule_id ,
ot.terms_sequence_number ,
ot.customer_trx_id ,
greatest(to_date(:app_main.cr_gl_date),
ot.trx_gl_date,
decode(fnd_profile.value('AR_APPLICATION_GL_DATE_DEFAULT'),
*'INV_REC_SYS_DT', sysdate,*
*'INV_REC_DT', ot.trx_gl_date,*
ot.trx_gl_date)) gl_date,
* ot.interface_header_attribute1 reference ,*
ot.term_id,
decode(sign(ot.payment_schedule_id),
-1, to_number(null),
ot.amount_due_original) amount_due_original,
ot.amount_line_items_original ,
ot.balance_due_curr_unformatted ,
ot.discount_taken_earned,
ot.discount_taken_unearned ,
ot.trx_batch_source_name trx_batch_source_name ,
ot.amount_adjusted amount_adjusted ,
ot.amount_adjusted_pending amount_adjusted_pending ,
ot.amount_line_items_remaining amount_line_items_remaining ,
ot.freight_original freight_original ,
ot.freight_remaining freight_remaining ,
ot.receivables_charges_remaining receivables_charges_remaining ,
ot.tax_original tax_original ,
ot.tax_remaining tax_remaining ,
ot.selected_for_receipt_batch_id selected_for_receipt_batch_id,
ot.trx_billing_number trx_billing_number,
ot.purchase_order purchase_order,
ot.bill_to_site_use_id bill_to_site_use_id,
substrb(ot.open_receipt_status_meaning,1,30) open_receipt_status_meaning,
ot.customer_reference,
substrb(ot.reason,1,80) reason,
ot.receivable_application_id,
ot.account_description,
ot.customer_reason
from ar_open_trx_v ot
where  ot.status=decode(:rwapp_control.show_closed_invoices,
*'TRUE',ot.status,'OP')*
and ot.customer_id in (select related_cust_account_id from cust)
order by decode(SIGN(ot.payment_schedule_id),
-1,0,
*4) ,*
ot.trx_number ,
ot.customer_name ,
ot.terms_sequence_number ,
ot.payment_schedule_id
How to accomplish this? Any other approach most welcome.
Thanks in advance.

Hi Srini,
Thanks for you Help.
Actually i followed this document only (726324.1 - Forms Personalization and customize LOV,726320.1 - How to customize LOV using Form Personalization). I did som Customize of LOV using form personalization its all working fine. But now when i am creating a Record Group by making slight change in query used by oracle For LOV. When i try to paste the query in Argument tab is not allowing..
Note :
I used to same query which i mentioned in Previous Post.
Help me regarding this...
Thanks in advance..!!!!!

Similar Messages

  • What app will send pics for developing at stores? Adobe flash 10 is required does apple have anything ? I can't use reg computer cause of arm problems love my ipad

    Need app to send photos on iPad to stores for development, memory books. Adobe flash 10 required , what can I do my arms can not use reg computer how to get pictures sent anyone know? I love my IPad arms are down , this has been a problem I haven't been able to solve yet, help? Have transferred photos to laptop but can't stay on it 3 min, need to work and send from IPad?

    The iPhoto for iOS forum is here
    https://discussions.apple.com/community/app_store/iphoto_for_ios
    Regards
    TD

  • IPhoto keeps crashing! - then needs to repair the library. This is happening each time I import photos or even try to go in to an even and delete photos etc. Does anyone have any suggestions? Please it is so frustrating - I used to love iPhoto - now I reg

    iPhoto keeps crashing! - then needs to repair the library. This is happening each time I import photos or even try to go in to an even and delete photos etc. Does anyone have any suggestions? Please it is so frustrating - I used to love iPhoto - now I regret upgrading to Lion

    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • Reg : Cross browser issue while handling LOV event on KeyFlexFeild

    Hi OA Gurus,
    We are encountering issues on R12.0.6, JDev 120Rup6.
    We have the following test case and code changes.
    Requirement:
    We have OA page where we have one KeyFlexFeild item and a normal LOV. Page items are part of one AM and LOV is in another AM.
    The requirement was to make LOV dependent on keyFlexfeild. Test case is mentioned as per following flow.
    1.     User changes cost center segment of Accounting Flex(Key flex) using Cost center LOV.
    2.     Another LOV in the same page should be dependent on new value of cost center as modified in step 1.
    Solution Implemented:
    Describing in the 3 steps
    1) Here the KeyFlexFeild is expense account. Whenever User changes any segment, we handle
    ‘lovValidate’ and ‘lovUpdate’ events on KeyFlexFeild in processFormRequest of controller.
    2) Retrieve the value of cost center segment using getSegmentsQualifiedBy(), Update corresponding VO attribute of the LOV query parameter.
    3) Forward the request to current page so that LOV will have modified value with updated query.
    4) Forwarding to current page is must because LOV is built with another AM and will loaded only when page is built.
    Issue:
    This works fine on internet explorer. When trying to run the same in Mozilla we have following issue
    1) User modifies one of the segments of expense account and make a tab – out
    2) Now the page refresh happens
    3) Now in the same page no other LOV or no other button works. He can’t click on any button for submit or cancel.
    LOVs will not open even after clicking on it.
    Code changes:
    //Step1 – Handle LOV events
    String source = pageContext.getParameter(SOURCE_PARAM);
    String eventType = pageContext.getParameter(EVENT_PARAM);
    if(source !=null && eventType != null) {
    if(source.startsWith("Acct") && eventType.equals("lovUpdate") || eventType.equals("lovValidate") ) {
    KeyFlexfield flex = (KeyFlexfield)lkff.getAttributeValue(OAWebBeanConstants.FLEXFIELD_REFERENCE);
    // Step -2 Updating the corresponding VO attribute for LOV to get the modified the value
    Segment[ ] segmentL = flex.getSegmentsQualifiedBy(FA_COST_CTR");
    CostCenterValue = segmentL[0].getValue().getValue();
    if(CostCenterValue != null ){
    sampleViewObject.getCurrentRow().setAttribute("ToCostCenter",CostCenterValue);
    OAFormValueBean formValueBean = (OAFormValueBean)webBean.findIndexedChildRecursive("ToCostCenter");
    if(formValueBean != null)
    formValueBean.setValue(pageContext, CostCenterValue);
    OAMessageLovInputBean formValueBean1 = (OAMessageLovInputBean)webBean.findIndexedChildRecursive("ReceivingApprover");
    if(formValueBean1 != null)
    formValueBean1.setValue(pageContext, null);
    else
    sampleViewObject.getCurrentRow().setAttribute("ToCostCenter",null);
    //Step 3 – Forward the request Current Page again
    pageContext.setForwardURLToCurrentPage(null, true, ADD_BREAD_CRUMB_YES, (byte)0);
    We have following questions.
    a)     Solution implemented by us is correct ? or we have to implement it in another way ?
    b)     Is OA version mentioned above supported on Mozilla browser version 3.x ? This issue is not occurring on Mozilla 1.x while running from JDev.
    Please let us know if any additional details required.
    Thanks for help in advance.
    Edited by: user774130 on Dec 15, 2009 2:27 AM

    Hi,
    It seems that you have not noticed that this forum is not for posting product-related questions/problems....
    So , this might be the correct forum....
    Java Server Pages (JSP)
    Sim

  • Reg pop lov in apex

    hi
    I am using a pop lov for selecing a value form the pop up values. I want to change the display style of the pop window to , say a jquery calender style or a neat
    report using lightbox (or any other good looking ones..).Can any one help me in this regard.
    thanks
    Shri
    Edited by: user10820560 on Mar 17, 2009 8:37 PM

    Andy thanks for your reply, your post is really very helpful but i still want a better implementation as in [http://apex.oracle.com/pls/otn/f?p=41715:15:1776223270187588::::P15_ORDER_ITEM_ID:2] .I am unable to implement it, can any one provide me the code for that implementation(as in the link here).
    thanks
    Shri
    Edited by: user10820560 on Mar 19, 2009 11:16 AM
    Edited by: user10820560 on Mar 19, 2009 11:17 AM

  • Reg: Message LOV

    Hi All,
    I have requirement, where i have a Message LOV and a shuttle in one page. Based on the Value selected in the LOV, shuttle has to get populated. So what am doing is, in "lovUpdate" event am redirecting to the same Page, which is going to satisfy my requirement. But my problem here is am not able to do that more than twice when i open my page using Mozilla. But everything goes fine with Internet Explorer. My problem is, am not able to see the selected value in message LOV, if it is the third time am using it, and when i try to continue any operations it runs into an Error Page. Why is it working well with "IE" why not mozilla. Any Suggestions Please
    Thanks in Advance

    Hi
    Does any one have idea about this behavior? Actually what is happening is when i third time try to select a value that is not getting populated in the Message LOV Box. And when i continue the process it is throwing some Number Format Exception. Why is this happening with FireFox?? If the Problem is with my code why is it working on Internet Explorer....
    Thanks

  • Reg Message Lov Input Field In Query Region Search.

    Hi ,
    I have a issue to implement a Message Lov Input Field in Query Region Search(AutoCustomizationSearch).
    Please Help on this Issue
    Thanks & Regards
    Santhu

    Santhu ,
    Please Let us know the step you have followed to achieve this , and what is the error you are getting .
    Regards ,
    Keerthi

  • Reg: User Entered Value in LOV Window

    Hi All,
    Following is the use case.
    I have an LOV ("PO Number") with its own controller. If user enters a partial value in LOV Field, (say 513),
    LOV Window comes up with results like PO Number starting with 513. Suppose, If user modifies the search value from 513 to 913,
    LOV query needs to get executed with new search value (913).
    Can you please suggest me to capture the new user entered value (913) in the controller.
    I tried the following. But, poNum value obtained through below code is 513(old value - value entered in LOV of base page.)
    Dictionary passiveCriteria = (Dictionary)pageContext.getLovCriteriaItems();
    String poNum = (String)passiveCriteria.get("PosPoNumberInternalLov1");
    Is there any other way, i can find out the new user entered value in LOV Window.
    Thanks,
    Kiran.

    Hi Gyan,
    My requirement is that, I need to make some processing/manipulation on the user entered search value for the LOV.
    If the user enters value in base page, i am able to get the value and process it.
    But, If user clicks on LOV Window, enters a new value in search field, i am not able to capture the new value.
    Please suggest accordingly.
    Thanks,
    Kiran

  • How to make Sales Person LOV org specific in case of Multi Org Setup

    HI,
    We are working on 11.5.10.2
    We have a multi org setup and i am required to make the sales person LOV to populate only the org specific salespersons, at the sales order, quote, service contract levels.
    Is it achiveable and if yes.....please letme know the way.
    Reg,
    Ajay Agarwal.

    Hi
    Try to play around with the security profile in the HRMS and attach it to the responsibility level
    Regards
    Ramesh Kumar S

  • LOV with all colors

    Hi,
    I would like to create a dynamic LOV with all the colors in it (return value should be the color-code).
    One can create a small table with all color-codes, but that's the easy part.
    What would be the syntax of the dynamic LOV?
    reg.
    Chris

    Hi Todd,
    Working from Apex 3.0 there is also a item-type "color picker" wich also solves the problem (as mentioned in your link from Andy).
    Thanx.
    reg.
    Chris

  • Switching from blue ray to reg tv

    Last night we used the blue ray player which we rarely do. This morning we are trying to watch reg tv but cannot get it to play. The blue ray works great. WE switched the reciever back to HDMI 1 and the input is the same. What I am doing wrong?

    whisperam wrote:
    Last night we used the blue ray player which we rarely do. This morning we are trying to watch reg tv but cannot get it to play. The blue ray works great. WE switched the reciever back to HDMI 1 and the input is the same. What I am doing wrong?
    You left the Uverse feed (to go to Blue Ray) and the DVR never got the 'see ya later' HDMI message from the TV and went into a conniption fit. 
    That's just the way it unluckily works, solution is to connect the DVR and TV w/component cables, getting the same HD PQ.  No headaches from the quirky DVR on HDMI.
    I've had to go to component cables due to the black crush problems on my 1225 on HDMI and I love it.
    Inexpensive good component cables here:
    http://www.monoprice.com/Category?c_id=102&cp_id=10235
    Good luck
    Chris
    Please NO SD stretch-o-vision or 480 SD HD Channels
    Need Help? PM ATT Uverse Care (all service problems)
    ATT Customer Care(billing and all other problems)
    Your Results May Vary, In My Humble Opinion
    I Call It Like I See It, Simply a U-verse user, nothing more

  • Error while creating a custom LOV

    Hi All,
    We have a requirement to open a custom page on the click of an LOV
    inside a table(n Number of rows will be there in the table). We need to
    populate the base page field after selecting a value from the custom page.
    We are using a flow layout with a text box and a torch icon. On the
    click of torch icon we are using javascript to open the custom Page.
    Everything works fine. When we use the cancel/apply in the custom popup
    page, we are using javascript to submit the base page. The popup closes,
    but the base page is erroring out saying
    "You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please
    select Home to proceed. "
    Can we achive this functionality by any other approach?
    We cannot use the standard LOV as the page should have much more
    functionality than what the standard LOV offers. The client want the
    functionality to be in the same way as LOV works.
    We have set the Security property of the custom page to 'SelfSecured'.
    The javascript used on the click of the torch icon is given below.
    function popupWindow(pageUrl,formName,rowId,retainAM,isModal)
         var Nav4 = ((navigator.appName == "Netscape") &&
    (parseInt(navigator.appVersion) >= 4))
         if(rowId != null)
              pageUrl += "&xxbgRowId=" + rowId;
         if(retainAM)
              pageUrl += "&retainAM=Y";
         if(isModal)
              if(navigator.userAgent.indexOf("Firefox")!=-1) // For Mozilla --
    added for BUG#2339
                   var versionindex = navigator.userAgent.indexOf("Firefox")+8;
                   if (parseInt(navigator.userAgent.charAt(versionindex))>=1)
                        openWindow(self, pageUrl,formName ,{width:650, height:450,
    resizable:'yes'},'modal','dialog', true);
              else if(Nav4) // For Netscape -- For Mozilla also Nav4 will be true,
    but if the browser is mozilla it would be caught in the previous block only
    open(pageUrl,'self','width=600,height=400,toolbar=no,menubar=yes,status=1,resizable=yes,scrollbars=yes,modal=yes');
              else // For IE
                   openWindow(self, pageUrl, 'modal',{width:650, height:450,
    resizable:'yes'}, true);
         else
    open(pageUrl,'self','width=600,height=400,toolbar=no,menubar=yes,status=1,resizable=yes,scrollbars=yes');
    The javascript used on the click of the cancel button on the custom
    popup page is below.
    function closeAndSubmitBasePage()
         window.close();
    window.opener.submitForm(0,0,{serverValidate:'0',FromPopup:'selectSubmit'});
    }

    Mukul,
    I have tried with the bound value approach also. The popup is coming fine, but when the base page is submitted , it is still erroring out. Also if we close the popup with the browser close (X), and then do some action on the base page, it is erroring out saying
    "You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).".
    Now our client has agreed to navigate to another page and come back to the originating page instead of bringing the popup. Since we are close to the release point, I am going ahead with this approach., there is lot to do with the page functionality.
    I will try to use the popup again , once the functionality of the page is done and will update you on the same.
    Thanks a lot Mukul
    --Anoop                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • LOVs in Reports6i

    When building my LOV on the parameter screen, I want to limit the values of one field based on a value from another field. When I tried it, I got an error about using a bind variable in the where clause. Any suggestion on how to do this?

    greg,
    the capabilities of the reports parameterform are limited as it was only designed to provide simple form capabilities. if you need more complicated parameter form functionality, you need to use oracle forms or regular html-forms/javascript functionality.
    regards,
    philipp

  • Error While Running LOV

    Hello,
    I am using APEX 4.0.1.00.03 and 11g DATABASE, and I'll explain my problem on the following lines.
    I've started using functions in PACKAGES to return results to my LOVS in APEX, so that I can change the code of LOV without having to make any change in the application (I've created a generic table type t_varchar_number). The problem is I've started to get this error:
    "ORA-06550: linea 1, columna 71: PL/SQL: ORA-0947: no hay suficientes valores ORA-01007: la variable no está en la lista de selección ORA-06550: línea 1, columna 7: PL/SQL: SQL Statement ignored ORA-01007: la variable no está en la lista de selection".
    Strangely it doesn't appear every time and if I push F5 a given number of times it will disappear and stop giving the error for a time. I've also placed a logging mechanism on the code so that I can see the query strings I use on my "execute immediate" instructions, when the error appears and there is no difference from when it doesn't give the error. Also if I run the string I place on the log manually there is no error.
    On each LOV I use the following code:
    select * from table(PACKAGE_NAME.function_name(args))
    Can anyone help me out? What other steps can I take to try and track this problem?
    Thank you,
    Miguel

    Hi Scott,
    I'm also facing the same problem as Monika.
    I have an LOV with the following query which returns 8774 records, when I copied and pasted those records into a text file it shows as 220KB in size.
    SELECT
    p.name d,
    p.pers_id r
    FROM people p,
    people_contacts pc
    WHERE SYSDATE BETWEEN NVL(start_date,SYSDATE) AND NVL(end_date,SYSDATE)
    AND     p.used_by_orc = 'Y'
    AND     pc.pers_id = p.pers_id
    AND     pc.group_id IN ('ORC','SHARED')
    ORDER BY 1
    After searching the forum, I think there's a 32K limitation on the fetched rows in tabular forms, can you please let me know how to overcome this problem?
    I'm selecting the persid in the (tabular form) SQL query updatable report.
    I'm trying to display the field as Name instead of PERSID by changing it to select list(based on named LOV) or whichever way it can work.
    Please help me.
    Thanks in advance.
    - Pradeep

  • Firefox 4 download. Since, Windows start button options changed. Should be browser agnostic, can you please tell me how to fix this? While I love Firefox, this has me livid! (1 irony, Firfox is no longer in my Start button menu.)

    I first noticed an issue when looking for something normally located in the Accessories folder of MS programs. What I found upon clicking on "All Programs" was not the program file/folder tree I expected but rather a direct list of all files in the Program Files folder. I then went to open a new session of Firefox to research that issue and noticed my basic Start button options were also changed. Now, even focus for event-driven events is not working correctly. Again, while I love Firefox, this needs to be fixed immediately or I will be forced to uninstall the product just to function.

    Unfortunately I tried that and it didn't work. Thanks for the help though. I tried to uninstall and it said I couldn't because the file is corrupt or something, but I think I finally got it uninstalled and/or deleted or whatever, but now I try to reinstall/download it again from the beginning and I can't. No matter what I do I can not get Firefox working again. No matter how many times I try to redownload it. Any other suggestions?

Maybe you are looking for