How to add a new  search criteria in Advance Search Page in OAF

HI,
In my application (R12) we can access customer related information from 2 places (2 different responsibilities as mentioned below), both are OAF pages.
1. AX receivables
2. Sales online
From both the responsibilities we can perform search for customer related information as well (Simple as well as Advance Search).
But Advance Search screen from 'Sales online' allows user to perform search, based on few additional fields as well such as 'Classification' (it's an lov based field).
Now, User is asking to add that field on search page of AX receivables as well.
So, how to add one more field (as search criteria), on an standard 'Customer' screen?
Additional Info :
1. LOV is based on HzPuiClassificationFilterVO
2. And this VO is available on both pages. (oracle.apps.ar.hz.components.search.server.HzPuiClassificationFilterVO)
So can we achieve this by Personalization only ? if yes plz share the steps as well.
Regards,
Adi

Yes. It is possible through personalization.
1. Create a criteria row under Advance Search
2. Create a Result Item under advance table columns
3. Create a Query Criteria Map based on the criteria and result item above.
Please note the newly added criteria field should be in the Searchresults VO attributes list.
Otherwise you need to extend the VO as well.
Hope this helps.
Regards,
-Mukesh.

Similar Messages

  • Filter results for New Search Criteria of Advanced Search

    Hi,
    I'm new to oaf.
    I have added extended VO item to seeded advanced search region as new search criteria by personalization.
    When i try to search for new criteria the results are not filtering and my extended CO logic as follows:
    IN PFR:
    if(oapagecontext.getParameter(oaquerybean.getGoButtonName()) != null || oapagecontext.getParameter(oaquerybean.getPersonalizeGoButtonName()) != null)
    OAAdvancedSearchBean oaadvancedsearchbean = (OAAdvancedSearchBean)oawebbean.findChildRecursive("assetAdvSearch");
    boolean flag = true;
    if(oaadvancedsearchbean != null)
    int i = oaadvancedsearchbean.getDisplayedCriteriaCount();
    String s4 = oapagecontext.getParameter("advancedSearchRadioGroup");
    for(int j = 0; j < i; j++)
    String s6 = (new StringBuilder()).append("Value_").append(Integer.toString(j)).toString();
    String s7 = (new StringBuilder()).append("Condition_").append(Integer.toString(j)).toString();
    String s8 = oaadvancedsearchbean.getOriginalUINodeName(s6);
    if(s8.equals("XXAssocMsgInput"))
    String xx=oapagecontext.getParameter(s6);
    oapagecontext.writeDiagnostics(this, "criteria value: "+xx, 105);
    if (xx !=null) {                                 
    StringBuffer stringbuffer = new StringBuffer(100);
    // Setting whereClause at Runtime to restrict the query
    OAApplicationModule rootam = oapagecontext.getApplicationModule(oawebbean);
    OAApplicationModule childAM = (OAApplicationModule)rootam.findApplicationModule("XXAdvSearchAM");
    OAViewObject vvo1 = (OAViewObject)childAM.findViewObject("XXAdvSearchVO1");
    Serializable[] parameters = {xx};
    childAM.invokeMethod("getAssociateWith", parameters);
    In AMImpl:
    public void getAssociateWith(String xx)
    OAViewObject vo = (OAViewObject)getXXAdvSearchVO1();
    Vector parameters = new Vector(2);
    StringBuffer whereClause = new StringBuffer(100);
    int clauseCount = 0;
    int bindCount = 0;
    vo.setWhereClauseParams(null); // Always reset
    if ((xx!=null) && (!("".equals(xx.trim()))))
    whereClause.append(" ASSOCIATE_WITH LIKE :");
    whereClause.append(++bindCount);
    parameters.addElement(xx);
    clauseCount++;
    vo.setWhereClause(whereClause.toString());
    writeDiagnostics(this,"In AMIMPL whereclause:"+whereClause.toString(),119);
    if (bindCount >0)
    Object[] params=new Object[bindCount];
    parameters.copyInto(params);
    vo.setWhereClauseParams(params);
    writeDiagnostics(this,"In AMIMPL XXAdvSearchVO:"+vo.getQuery(),120);
    writeDiagnostics(this,"In AMIMPL VO Cnt:"+vo.getRowCount(),121);
    vo.executeQuery();
    writeDiagnostics(this,"After query = " + vo.getQuery(),123);
    In diagnostics, parameter is not getting assigned with the value ..
    Can you anyone suggest the inputs?
    Thanks,
    mallik
    Edited by: 758972 on Jul 29, 2012 1:09 PM

    Mallik,
    Is it the same requirement which we were discussing in another thread, to add search criteria in advance serch bean through personalization.
    If yes, let me try at my end and will let you know..
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to Dynamically add Search Criteria in Advance Search Region.

    Hi All,
    I want to understand how can we add Search Criteria dynamically in the Advance Search Region.
    The Requirement is to add 4 additional search criteria for an org_id in a multi org structure. For other business those fields should not be visible.
    I did try this with the form personalization but could not Show/hide the additional search criteria programatically for the business as we can only see 4 search criteria at the time of page load and other criteria comes in the drop down list to add which can not be show/hide after page load.
    I thought of a solution to add search criterias dynamically for my org through extending controller.
    I found the OAAdvanceSearchBean (advance search Region in controller) object for my Advance Search but could you tell me how can I add the Criteria Row in that Advance Search (createWebBean function) and then add the item in criteria Row dynamically.
    Also please tell me how we can increase the showed criteria from default 4 to more, setDisplayedCriteriaCount(int) is not allowed and it is not working also.
    Thanks.
    Regards,
    Ashish Bansal

    Hi,
    As Lars said The "Search Option Set" and the "Search Component Set" offer you quite some flexibility.
    You can configure both of these component to customize your search.
    Once you did it, you can create a new basic search iview and set these components.
    On the other hand, you also customize the layout use to show result of search.
    Dont'f forget that you need to configure Trex and create an index.
    For instance, I configured the search criteria, the system only asked me some metadatas (created by us,whose value are dependents). Each time that you upload a document you set these attributes.
    Then when you want to search, appear a screen with these values
    Country :
    City:
    search field:
    Patricio.

  • How to add a new selection criteria in a report painter

    Hi
    I would like to know how to add a selection criteria in a report painter. I believe in Gen data we can add our selection criteria but my there is no option to select  company code in that. Can anyone help me in this
    Thanks in advance
    Sankar

    hi sankar,
    When u click on the Gen. Data Selection on the right side of the screen you can see the Available Characteristics.
    On the same side u can see with the 3 colors blue, yellow and white....
    Click on the that , in that screen click on the Administrator option.
    There in that screen UNCHECK the company code.
    Click on the ACTIVATE and CLOSE it.....
    Again SAVE the table settings.... then you can find the Company code..
    Hope this will helps u out...
    Ranjit Kumar 

  • Adding New search criteria in Advanced Search

    Hi,
    In the page "PosVpoMainPG.xml", I have to add new search criteria "PO Description" apart from the existing ones.
    Can it be done by personalization? How?
    If not, please let me know the steps to do it from Jdeveloper.
    Regards,
    Ashish

    Check whether Query region has been used for the Page development and also figure out the construction mode (resultBasedSearch or autoCustomizationCriteria). You can create the extra column in the result table and define mappings as appropriate.
    Regards
    Sumit

  • How to add a new field in OIM Self Services Page

    Hi All,
    I need to add some custom attribute in OIM self Services page.
    Please let me know how to do it
    Thanks&Regards
    Sri

    Check this: Add UDF to Self Registration form in OIM 11.1.X
    -Bikash

  • How to add a new selection criteria in Automatic Payment process (F110)

    Hi all,
    We need to add new selection field in selection criteria tabstrip. Does a user-exit exist to interpret BKPF-USNAM as field name ?
    Thanks in advance for your answers.
    Regards,
    Philippe.

    pls look here
    enhancenents
    A.

  • OAF Page Personalize Page to add a new criteria in Advance Search

    Hi All,
    I am new to OAF. I need to add a new criteria (Asset Activity) to the Work Order Advance Search page in EAM module.Asset activity field has to pick from the 'Create Work Order' Form. I can able to identify the CO class associated with this field in the 'Create Work Order' form.
    How to achieve this by personalizing the Work Order Advance Search Page.
    Any help would be much appreciated.
    Thanks in advance,
    -Mukesh.
    Edited by: Mukesh on May 1, 2012 12:48 PM

    Hi All,
    I have done the following steps.
    1. From the Work Order Advanced Search Page, clicked on Personalize "Advanced Search".
    2. Created a Criteria Item with ID 'AssetActivityAS' and also created a Message Styled Text under this criteria.
    3. Back to the Advanced Search Page, clicked on 'Personalize Page' page in the bottom.
    4. Create an Advanced Search Mappings with ID 'AssetActivityMap' and Results Item as 'WorkOrdersVO.AssetActivity' and Search Item as 'AssetActivityAS'.
    5. But when I click on Apply, it's throwing the following error.
    oracle.apps.fnd.framework.OAException: oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/eam/workorder/webui/EAM_EW_START_PAGE.WorkOrdersVO.AssetActivity, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java(Compiled Code))
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java(Compiled Code))
    etc...........
    I found WorkOrdersVO(oracle.apps.eam.workorder.server.WorkOrdersVO) from Business Component References Details of About Page: Work Orders.
    Am I doing the right steps to add a new search criteria in Advance Search page?
    Can anyone help me to resolve this issue?
    Thanks in Advance,
    -Mukesh

  • Adding new criteria in Advance Search

    Senario
    iSupplier Purchase Order search page has advance search option. Which does not have PO Description as search criteria.
    Requirement
    I want to add PO Description as search criteria in advanced search.
    Is it possible using personalization ? Please advise
    Thanks
    Bhavik

    Hi Bhavik,
    First you need to check if the Description attribute is available in the ViewObject of the table.
    You can check the page details in the "About this page"
    If the column is already available, you can add it to the page using personalization.
    Otherwise you have to extend the ViewObject and add the Description column to it.
    And then personalize the page to add the description attribute.
    For more information on how to do it.. refer personalization and extension exercise in the OAF tutorials.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How to add entire new row at the top of table in pdf report from c# windows forms using iTextSharp

    Hi for past 3 days i was thinking and breaking my head on how to add entire new at top table created in pdf report from c# windows forms with iTextSharp.
    First: I was able to create/export sql server data in form of table in pdf report from c# windows forms. Given below is the code in c#.
    using System;
    using System.Collections.Generic;
    using System.Configuration;
    using System.Text;
    using System.Data;
    using System.IO;
    using System.Data.SqlClient;
    using System.Windows.Forms;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    namespace DRRS_CSharp
    public partial class frmPDFTechnician : Form
    public frmPDFTechnician()
    InitializeComponent();
    private void btnExport_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(7);
    table.TotalWidth=585f;
    table.LockedWidth = true;
    PdfPTable inner = new PdfPTable(1);
    inner.WidthPercentage = 115;
    PdfPCell celt=new PdfPCell(new Phrase(new Paragraph("Institute/Hospital:AIIMS,NEW DELHI",FontFactory.GetFont("Arial",14,iTextSharp.text.Font.BOLD,BaseColor.BLACK))));
    inner.AddCell(celt);
    Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
    para.Alignment = iTextSharp.text.Element.TITLE;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(95f, 95f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("ID");
    table.AddCell("First Name");
    table.AddCell("Middle Name");
    table.AddCell("Last Name");
    table.AddCell("DOB" );
    table.AddCell("Gender");
    table.AddCell("Designation");
    while (dr.Read())
    table.AddCell(dr[0].ToString());
    table.AddCell(dr[1].ToString());
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString());
    table.AddCell(dr[4].ToString());
    table.AddCell(dr[5].ToString());
    table.AddCell(dr[6].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(inner);
    doc.Add(table);
    doc.Close();
    The code executes well with no problem and get all datas from tables into table in PDF report from c# windows forms.
    But here is my problem how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    As the problem i am facing is my title or Header(DCS Clinical Report-Technician wise) is at top of my image named:logo5.png and not coming to it's center position of my image.
    Second the problem i am facing is how to add new entire row to top of existing table in pdf report from c# windows form using iTextSharp?.
    given in below is the row and it's data . So how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    as you can see how i create my columns in table in pdf report and populate it with sql server data. Given the code below:
    Document doc = new Document(PageSize.A4.Rotate());
    var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(7);
    table.TotalWidth=585f;
    table.LockedWidth = true;
    Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
    para.Alignment = iTextSharp.text.Element.TITLE;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(95f, 95f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("ID");
    table.AddCell("First Name");
    table.AddCell("Middle Name");
    table.AddCell("Last Name");
    table.AddCell("DOB" );
    table.AddCell("Gender");
    table.AddCell("Designation");
    while (dr.Read())
    table.AddCell(dr[0].ToString());
    table.AddCell(dr[1].ToString());
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString());
    table.AddCell(dr[4].ToString());
    table.AddCell(dr[5].ToString());
    table.AddCell(dr[6].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    So my question is how to make my column headers in bold?
    So these are my questions.
    1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?
    I know that i have to do some modifications to my code but i dont know how to do it. Can anyone help me please.
    Any help or guidance in solving this problem would be greatly appreciated.
    vishal

    Hi,
    >>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?<<
    I’m sorry for the issue that you are hitting now.
    This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
    http://sourceforge.net/projects/itextsharp/
    Thanks for your understanding.
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SQL Server Distributed Partitioning Views how to add a new node online

    We are using distributed partitioning views in SQL Server 2012 Enterprise Edition for scaling out our data across more than one servers. Now we faced to question how to add a new node (server) into the scale outed db servers system without sending the servers
    down, so our users will be able to use them during the process as well.
    For example we have 4 servers with scaled out data. When we add the new empty server, the CHECKINGs for the partitioning columns should be reorganized. But during the process the partitioning views are not working.
    The High Availability, Always On or Failover Cluster approaches seem are not resolve the problems.
    So my question is how to add new node online?
    KH

    Thank you Erland for the reply.
    Yes, it's sounds as possible solution but has some not resolvable nuance in it. Let's say we copied some data from Node5 to new added Node6. Let's assume in Node5 we had data in Table1 with partitioning column's values 100,101,102,103,104,105,106.  Now
    we want to copy part of the rows with partitioning column's values 103,104,105,106 from Node5.Table1 into Node6.Table1. With this Node5 will contain less data and will work more quickly (less IO, less CPU usage etc), and the rest data will be contained on
    Node6. But because of Node5 is already in use, the Node5.Table1 contains CHECK CONSTRAINT = ParttionColumn should be from 100 up to 106. This is check for Node5. The Distributed Partitioning Views are already using the CHECKs to identify what server should
    be used to get data from.
    Now when we copied part of the Node5.Table1 rows to Node6.Table1 the views are still using the 103-106 rows from Node5.Table1 because the CHECK points there. Then we include the newest Node6.Table1 in the distributed partitioning views. OK, but we should
    set some CHECK on new Node6.Table1 which will be used by views. We can't set intersecting checking like Node5 has CHECK 100-106 and Node6 has CHECK 103-106. We also can't edit Node5 check and set it 100-102 untill the data will be removed in it. But this means
    that the data will not be available during the execution. 
    So, any ideas ?
    KH

  • How to add a new character set encoding?

    Hello,
    can anybody please explain to me, how to add a new character set encoding to Mac OS Tiger?
    I have two Mac laptops, a new one with Snow Leopard and an older one with Tiger, and on the old one i cannot use or enable anywhere the "Russian (DOS)" character set encoding, which i need to be able to use some old text files.
    On the Snow Leopard, this encoding is present in the list of available encodings of TextWrangler, but not in TIger.
    If i have understood correctly, this is not a problem of TextWrangler, and the same encodings are available systemwide.
    So, the question is: how to add new encodings to Tiger (or to Mac OS in general)?
    Thanks.

    I think possibly that's in the Get Info window of Finder?
    I don't think either that or the input menu have any effect on available encoding choices. Adding languages to system prefs/international/languages can do that, but once you have added Russian there, I don't know of any way to add an additional Russian encoding (there are quite a number of them).

  • How to add a new column (Project Number) in the action items table under NPD Module?

    There are two projects with same name and created by same person in NPD.
    So when it is displayed in "Action Items" table, It looks similar.
    To avoid this, I need one more column (Project Number) to be added in the "Action Items" table and " Strategic briefs and projects" table.
    So, How to add a new column (Project Number) in the "Action Items" table and " Strategic briefs and projects" table under NPD Module?
    Please do the needful.

    There is no out of the box configuration available to add columns to NPD action items.   As always we welcome enhancement requests. 
    Thanks
    Kelly

  • How to add a new field in MM01, with say contaminent  as a field?

    How to add a new field in MM01, with say contaminent  as a field? I process that i know is i has to go the user exit and check out the three user exits that are available for MM01 after that what i have to do please can any one help me out with the procedure to proceed?

    Hai      venkateshwar reddy ,
    try with these user exits
    MGA00001 Material Master (Industry): Checks and Enhancements
    MGA00002 Material Master (Industry): Number Assignment
    MGA00003 Material Master (Industry and Retail): Number Display
    Refer these steps also
    http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/screen-exit-on-mm01-mm02-mm03-322717#

Maybe you are looking for

  • At end of field,  for dynamic internal table entries ?

    Dear All, I've data in my dynamic internal table. But, to understand in a better way I created a test program with static entries. Case 1 --> DATA: BEGIN OF itab OCCURS 0,         year TYPE char4,         name TYPE char10,       END OF itab. DATA: BE

  • How do I get the application to turn on when only the process does?

    Yesterday my firefox was working fine, but today when I click on either of my shortcuts nothing happens. When I open my task manager I see the the firefox.exe process has turned on but not the actual application. I've been trying to get it to work fo

  • Populate select list when a date selected from date picker in tabular form

    Hi Guys, I have a situation where user picks a date from a date picker in tabular form. So as soon as he picks a date say 05/31/2011 from the date picker I want to populate a select list with 2 values : Tuesday AM , Tuesday PM. I have gone through th

  • Send to color changes some in/out points

    This is confusing me a lot. I send a sequence to color and about half the clips (all in succession) export just fine, while the others (again, a group of clips in succession) have completely different in and out points than they did in my Final Cut t

  • Let me know this Part number

    I re-upload the image because of unknown error. This is a Envy 15-3033CL volume dial part. I found that there was Top Cover part number in manual, but just this part doesn't exist individually. This question was solved. View Solution.