Link same column to different forms based on column value

Hi All
I have one report with column "STATUS" with values 'schedule' and 'Active'. I want to link this column to some forms based on these values if column value is 'schedule' then it will go to some other form or if value is 'Active ' then go to some other forms and also i want to send some parameters of particular column value so it will fetch data from table based on this status. how can i link same column to diffrent forms. please help me out.
Thanks

Hi,
In the report query you can conditionally generate the links.
Example.
select
case when status = 'schedule' then  '<a href="'||'f?p=&APP_ID.:150:&SESSION.::NO:150:P150_ITEM1,P150_ITEM2:'||
      value_for_item1||','||lvalue_for_item2||'">status </a>'
when status = 'active' then  '<a href="'||'f?p=&APP_ID.:200:&SESSION.::NO:200:P200_ITEM1,P200_ITEM2:'||
      value_for_item1||','||lvalue_for_item2||'">status </a>'
else status end column_title,
....Regards,
Natarajan
Edited by: Nattu on Mar 18, 2013 11:53 PM

Similar Messages

  • How to select different Querys based on Variable Value

    Hi guys i need to know how to select different Querys, based on variable values selected by the user, i try to do it using a Web Template but i don´t know how to program a Dynamic Query.....
    I hope sombody could help me with this
    Message was edited by: Oscar Diaz

    Hi Diaz,
    Can you explain the exact scenario which you are looking for!!!
    regards
    Happy Tony

  • OBIEE report based on same criteria but different view based on filter

    Hi,
    I am trying to create a report in OBIEE 11.1.1.5 where In the same report using the same criteria, I can have different views which applies different filter.
    Suppose, I have a report criteria as
    Dim1, Dim2, Measure1, Measure 2.
    I want to create two pivot view based on the same data.
    One view will be showing data Dim1="Value1". The other view is duplicate of this view but will show data Dim1="Value2".
    Is it possible in OBIEE?
    basically what I want is work on the same dataset but different representation and show them in the same report. Please share your opinion.
    Regards,
    Tanveer.

    Hi,
    You create a new dim dummy column in criteria and in presentation level create new pivot table view use this dummy dimension column and filter with dim1=value2.
    give updates on this.
    Mark if Helpful/correct.
    Thanks.

  • Populate one text field on a form based on the value in another

    I am new to APEX and building my first application.
    When a user enters a value in one field, I would like to run a SQL command and then display a value in another field based on the value in the first field. For instance, if a user enters a part number in one field, when they tab off of the field, I would like to display the name of the part in the part name field.
    Thanks

    Thanks. That put me on the right track. I used that link to find the link http://htmldb.oracle.com/pls/otn/f?p=11933:11:2890374750690437 and then using the two was able to put together a solution.
    I am down to one last issue. I am able to return the name back from the process and display it with an alert statement. Unfortunately, I am unable to display the value on the form.
    I am doing the following.
    <script language="JavaScript1.1" type="text/javascript">
    function f_getCustomerName(id)
    var v_id = id;
    var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=getCustomerName',$v('pFlowStepId'));
    get.addParam('x01',$v('P2_CUSTOMER_ID'));
    gReturn = get.get();
    get = null;
    gReturn = (!gReturn)?'null':gReturn;
    /* The below do not work
    $s('P2_CUSTOMER_NAME',gReturn);
    document.getElementById('P2_CUSTOMER_NAME').value = gReturn;
    document.getElementById('P2_CUSTOMER_NAME').value = 'TEST';
    alert(document.getElementById('P2_CUSTOMER_NAME').value );
    alert(gReturn);
    //-->
    </script>
    Process: getCustomerName
    declare
    l_customer_id customer.customer_id%type;
    l_customer_name customer.customer_name%type;
    begin
    l_customer_id := to_number(wwv_flow.g_x01);
    select customer_name
    into l_customer_name
    from customer
    where customer_id = l_customer_id;
    htp.p(l_customer_name);
    end;

  • Master-Detail-Form; Hide/Show columns in detail form depending on column

    Hi,
    i have a master detail form. In the detail form i have the columns:
    ID, MASTER_ID_FK, PC_SOURCE, A_C1, A_C2, A_C3, B_C1, B_C2, B_C3
    The Column PC_SOURCE should be a LOV with values
    NULL
    A
    B
    So if i choose or enter a master record the detail form appears and i can enter one or more detail records.
    PC_SOURCE is the first column.
    If i choose A, the columns B_C1, B_C2, B_C3 should disappear as there should no entry possible.
    If i chhose B, the columsn A_C1, A_C2, A_C3 should disappear as there should no entry possible.
    Is that possible?
    I tried a little on my own but without success. I tried to put into the first column (PC SOURCE lov) in Element Attributes a javascript call like onChange="do_Refresh('#PC_SOURCE#');"
    The javascript funktion do_Refresh tries to catch the column value and set a hidden item P1_SOURCE like document.getElementById('P1_SOURCE').value = v_source;
    But this does not work, as there is not the value of the column fetched.
    And probably can´t work because of the more than one detail rows.
    Thanks & regards,
    Matthias

    Hi,
    The html for your detail form will be a table of input elements with names f01,f02,etc. The columns for the key fields are normally hidden so your PC_SOURCE column will probably use the name f03. The name for column A_C1 will be f04 etc.
    Once you have the input names for your columns you can create a dynamic action (DA) to hide the elements you want.
    You want the DA to fire when any PC_SOURCE element is changed so you want the when to be:
    Event: Change
    Selection Type: jQuery Selector
    jQuery Selector: input[name="f03"]
    Condition: no condition
    The action is to hide an element in the same row if the changed element is a value. So the action should be:
    Action: Execute JavaScript Code
    Fire when Event is: true
    Code: if(this.triggeringElement.value=="A"){$x_Hide('f04_'+this.triggeringElement.id.split('_')[1])}
    You then need lots of true actions for each element you want to hide.
    Rod West

  • Insert a number of rows for tabular form based on frequency value

    Hi,
    I have a page with two search items.
    Based on the values in the search item, a report is created as tabular form.
    The information displayed has a frequency column.
    Values for frequency can be Q, Y, M, D
    I would like to know if it is possible to to load the form with a standard numbers of row depending on the frequency.
    Example: If frequency is Q ,then when i click the go button in the search region, the tabular shoud load with the information displaying 4 rows, even if the information returned is less than 4 rows.
    If frequency is Y ,then when i click the go button in the search region, the tabular shoud load with the information displaying 2 rows, even if the information returned is less than 2 rows.
    When no data is found, the form should load displaying a number of empty rows depending on the frequency.
    Thanks

    Following this example:
    http://apex.oracle.com/pls/otn/f?p=31517:209
    you should be able to achive that.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • BPMOn: Is it possible to send email notification to different groups based on filter value for IDOC?

    Hi there,
                  I have setup the monitoring for idoc through interface monitoring and I am getting the alerts for the same. The alert is generated for different status values for the same idoc. Now my question is, is it possible to send email notification to two different groups based on the status values?? I mean for example , for a single idoc for some status values I want to send email notification to group1 only and for other status values I want to send notification to group2.Any help will be apperitiated.
    Thanks and regards,
    Rutvik Upadhyay

    We currently do not support that level of control for sending email notifications. If you think others are interested in this you should add an idea here: http://forums.adobe.com/community/formscentral?view=idea
    We use that to help us prioritize our work.
    Thanks,
    Randy

  • Update columns in Table A based on columns in Table B for more than 500K rows

    Guys,
    I need to update 9 columns in table A based on value from table B for for more than 500K rows.
    So what is best way to achieve this. I am thinking of writing a Procedure with cursor to update the rows of table A.
    When i googled about it, they say cursor will decrease the performance. So i have no clue how to go for this.
    Rough code which i though
    1) Procedure  with no parameter
    2) Will declare 9 variable to store value from cursor
    3) cursor will fetch row by row based on join condition between table a and table b
    4) i will pass column values from table B to variables
    5) will make an update statement for table A
    Please let me know if above method is correct or is there any other way to do this without using cursor.

    Guys,
    Below is the rough code i wrote as per my requirement. Does it look correct? As of now i dont have any platform to test it so any help with the below code is highly appreciated.  As i said i need to update more than 500K rows by matching Table
    A and Table B.  One more thing which i would like to add in below code, is to get log of all the rows that are in table B but not exist in table A.  Table A already has more than million data in it.
    Also not sure how the loop in below code willl run when @rowcount is become to zero?
    Please let me know if i need to consider performance related impact while running the script.
    GO
    SET SERVEROUTPUT ON
    CREATE PROCEDURE ONETIMEUPDATE
     DECLARE @cnt INT;
     SET @cnt = 1;
     DECLARE @MSG varchar(255);
     DECLARE @COUNT_VAR INT;
     SET @COUNT_VAR=0;
     WHILE @cnt > 0
        BEGIN
      Update TOP (50000) A
      Set A.Col1=B.Col1,
          A.COL2=B.COL2,
          A.COL3=B.COL3,
          A.COL4=B.COL4,
          A.COL5=B.COL5,
          A.COL6=B.COL6,
          A.COL7=B.COL7
      From TableA A
             Inner Join TableB B
             on A.ID = B.ID--ID
             WHERE A.Col1 <> B.Col1
                    OR A.Col2 <> B.Col2;
              SET @cnt = @@ROWCOUNT;
             IF @@ROWCOUNT=25000
               @COUNT_VAR=@COUNT_VAR + @@ROWCOUNT
               SELECT @MSG = CONVERT(varchar, @COUNT_VAR) + "Rows Updated" -- I WANT TO DISPLAY UPDATE after EVERY 25000 ROWS
              PRINT @MSG
      IF @@ROWCOUNT=0
         BEGIN    
               COMMIT
                       END
                    WAITFOR DELAY '00:00:01'  --wait for a second before the next update
                END;
     END;

  • How to Disable a entire JSP form based on single value

    Hi,
    My requirement is I have to disbale a JSP form based on getting single value from the drop down box. Please suggust me some ideas.
    Highly aprreciated
    Thanks In advance
    Anbr19

    Well as said by my fellow it could be easily acheived by javscript
    say i'm assuming the dropdown has set of value under a form named SampleForm..
    here is how you do using javascript
    <script language="javascript">
    function disable(txt){
       if(txt == '<Condition Value>'){
           for(var i =0 ; i < document.SampleForm.length ;i++)         
               document.SampleForm.elements.disabled = true;
    </script>
    <form name="SampleForm">
    <select name="dropdown" onchage="disable(this.value)">
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    </select>
    </form>
    hope this might help :)
    REGARDS,
    RaHuL

  • Create a column on one sheet based on unique value in another

    Hello,
    I'm running Excel 2013 and I have one workbook with two sheets - sheet1 and sheet2. Sheet1 has 24 columns and 26K rows. Column "A" is titled "id" and contains
    id numbers that are also, some, found in column "A" of Sheet2 - which is also titled "id".
    Sheet1 has no "description" column. Sheet 2 only has 2 columns - "A" is the "id" column and "b" is the "description" column.
    A B
    ID Description
    58749651 a bunch of text
    How can I create a description column on sheet1 (it would be column "U") and populate it with the description from sheet2 only where the "id" values from column "A" match?
    Thanks!
    Rob

    Hi Rob,
    Utilize the VLOOKUP function and this should resolve it. 
    For example, in a new column on sheet 1 (Y) a formula like this should suffice assuming ID is in column A:
    =VLOOKUP(A1,Sheet2!A:B,2,FALSE)
    Or more elegant:
    =IFERROR(VLOOKUP(A1,Sheet2!A:B,2,FALSE),"")
    More information on VLOOKUP can be found here: VLOOKUP Function

  • Two AM's with the same name but different forms causes Deployment problems

    Two Masters forms, DOC & PM are cloned except for the "where clause" in the View's query and the titles in their JSP's.
    DOC workspace has a BC project and a BC4JSP Project. The BC project comprises of the EO and VO named ComVsStaticValue. In the Edit prop-> query for the VO I have specified the "where clause" as VSSV_VS_CODE='DOCTOR'.
    In Java Webserver :-
    The JSP's are located in C:\source\Doctor\ .. and the *.xml and *.class files generated by the BC proj is in C:\source\Doctor\pol_ValueSet\..
    If I execute Doctor in JWS the records are getting filtered properly.
    PM workspace has a BC project and a BC4JSP Project. Again The BC project comprises of the EO and VO named ComVsStaticValue. In the Edit prop-> query for the VO I have specified the "where clause" as VSSV_VS_CODE='PAY_MODE'.
    In Java Webserver :-
    The JSP's are located in C:\source\PMode\ .. and the *.xml and *.class files generated by the BC proj is in C:\source\PMode\pol_ValueSet\..
    If I execute PM in JWS, the PM's JSP comes (the title is correct) but the records pertaining to DOC appears. I checked the View's xml file in C:\source\PMode\pol_ValueSet\ the "where clause" is correct. The xml & classes have the same name but their contents are different.
    I want to know whether this problem is because both have the same name for the AM and the BC4JSP's property file.
    Please clarify.

    Deploying two app modules with the same name will definitely cause problems.
    The JSPs use the information in the properties file to connect to the application module and get the data they need from the appropriate View Objects in those app modules. If you have two app modules with the same name, when a JSP tries to connect, it has no way of knowing which one of the app modules to connect to if they both have the same name.
    You could:
    1. Just use one application module that contains all the View Objects you need to access.
    or
    2. Rename one of the application modules or the package it is located in so the names are distinct. If you choose this method, you will also need to update the JSPs (specifically the 'registerApplicationFrompPopertyFile' method call), and your JSP project's appmodule property file.

  • Populating all the columns in a form based on LOV

    Hi people,
    I got a forms which has around 20 fields ...i created this using the data block wizard....
    when i compile and run the form... i get the form screen... and when i click the default execute_query button i get the records the way i want ....
    but the problem is there are around 11000 records ....so for that i created an LOV based on the ID and the description
    Now
    I want to populate my blocks based on the ID that i select from LOV ....
    can 1 help me accompalish this task...
    one thing that i have in mind is using SET_BLOCK_PROPERTY
    but when i use it i am not able to execute to perfectly...

    Hello,
    If you want to populate the block by selecting value from LOV in the same block. Then make the life simple.
    1. Open your form in ENTER_QUERY mode.
    2. Let the user choose value from LOV.
    3. Then just simple perform exequte query.
    It will search upon the selection..
    Or there is new block for search cirteria then you will have to use the SET_BLOCK_PROPERTY as you mentioned like...
    For Numeric...
    SET_BLOCK_PROPERTY('BLOCK_NAME',DEFAULT_WHERE,'COLUMN_NAME = '||:SEARCH_BLOCK.FIELD_NAME);
    For Alphanumeric
    SET_BLOCK_PROPERTY('BLOCK_NAME',DEFAULT_WHERE,'COLUMN_NAME = '''||:SEARCH_BLOCK.FIELD_NAME||'''');Use the above code on your required trigger where you need to populate the records based on selection.
    -Ammad

  • Problems in Opening same jspx in different modes based on user selection

    Hello,
    I'm using JDeveloper 11.1.1.4.0
    Following is my use case and problems with each of the solutions that I have tried so far.
    1. Screen1 displays 4 af:tables. Right cilck of each table is a separate context sensitive menu.
    2. Using context sensitive menu items, user should open ReplyScreen and ConfirmScreen. Each of these screens support different functinoality however,
    they share quite a few common fields and functionality (variables).
    3. User should be allowed to work with each of the screens simultaneously.
    4. For simplicity, only 'Reply' and 'Confirm' modes are mentioned. However there are going to be 3 additional modes such as 'Correct', 'View' and 'Delete'.
    From code maintenability perspective, each of the 'Mode' specific screens should be a result of a single JSPX and bean.
    Solutions tried:
    1. Create a single JSP. Maintain the common variables in session.
    Problem: When user opens ReplyScreen, common variables are initialized. However, when he opens ConfirmScreen without closing ReplyScreen, common variables
    get overwritten.
    2. Create a single JSP. Maintain the common variables in Iterator, along with all the values fetched from DB.
    Problem: Same iterator object is shared amongst both pages.
    Question:
    1. How to create a single JSPX and attach each of its 'modes' (ReplyScreen and ConfirmScreen) to different Iterator objects?
    Any help will be appreciated...
    Thanks,
    Rohit
    Edited by: rohit6699 on Nov 18, 2011 1:15 AM
    Added tags

    Try creating a bounded taskflow that relies on parameters to define what it shows and how it behaves.
    The taskflow can use its own memory and transaction scope as needed and therefor you should be able to have multiple instances of it open with different behaviors.
    Learn more about taskfllows and regions here:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html#a2

  • Create different hierarchy based on Dimension values

    I have a dimension called period. This dimension is having 4 different types of periods. The period table looks as below. I need to create 4 different hierarchies for these 4 types of periods based on l1 to l5 values. But all these values are in the same
    table. Is it possible in SSAS? If so please let me know how can I do it. 

    If i understand it correctly, you want one hierarchy for one row, then you need to flat the table in the view and then you can create those hierarchy. But it is no different from having one hierarchy with the table you have. your hierarchy is going to look
    like "Priod5"  <- "Priod4" <- "Priod3" <- "Priod2" <- "Priod1". this hierarchy will have all the values. Don't forget to use the composite key for each attribute except key attribute.
    hope this is helpful.
    prajwal kumar potula

  • Invoke different Summary Screen based on attribute value

    Hi Experts,
    I have a requirement to show different OPA landing summary page based on attribute value received from Siebel application. Is that possible?
    For e.g.: Create 2 summary screen
    Siebel field value opa_attr1 = A or B, if A I want to display summary screen 1 otherwise display summary screen 2.
    Thanks,
    Vinay

    Thanks you for your reply. The link is not what I want. My case is that I already have a map stored in Oracle database under obiee_navteq schema. I want to use OBIEE to display map by adding different image/icon at different cities based on the value of an attribute column. All the examples I can find is to use measure column as an condition, not by attribute column.
    Thanks

Maybe you are looking for

  • Upgrading R / 3 4.7 system to ECC6.0 with EHP4 along with windows 2008

    Hi All, I am looking for your feedback about the plan for upgrading our Landscape to ECC 6. with EHP4 from R/34.7E. Current Environment: R/3 4.7X110 with SQL 2000 in 32 bit windows 2003 Planning to upgrade to the level of : ECC6.0 with EHP4 64 bit wi

  • Features in ECC 6.0

    Hi,   I am new to the ECC 6.0 version and have several doubts about the usage of different features. Please find below my questions and help me in understanding them and use. 1) Enhancement: There are two types of enhancements Implicit and Explicit.

  • How do i set up wireless printing from my iphone 3GS to my HP Photosmart 5510.

    how do i set up wireless printing from my iphone 3Gs to my HP Photosmart 5510 e-all-in-one series B111-A?  I have a Mac laptop with Snow Leopard

  • Error Type 102 in 9.2.2

    All of a sudden I'm getting a system bomb with an error type 102. The hard drive boots well into 10.3.3. I've run norton disk doctor and everything checks out. I get a disk icon with a questions mark and then the 9.2 logo comes up with a system bomb

  • Mail 5: does not show some attachments if not config'd as Exchange

    One of my email accounts resides on an Exchange 2010 server. I clean installed Lion the other day, but ever since early Snow Leopard builds, I had this issue where every now and again, emails received on that Exchange account would have attachments t