One item depending on another item

Hi All!
I have a problem in connecting two (select list with submit items) with each other, in order to display a report:
First select list: select manager_name d, manager_name r
from manager_list
[the second item, also select list with submit should refer to the first item, and should show only the employees of the selected Manager_name in item one]
Second select list: select employee d, (.?.) r
from employee_list
where (.?.)
How do I relate these items with a where clause in the second item in the LOV?
And what specific code do I have to add to the report's source ?
Thx for your help!!!!
Jan

This is the way it looks like:
this is the first item (manager table)
select manager_name||', '||manager_first_name d, manager_name||', '||manager_first_name r
from manager_liste order by manager_name
and this is the second one (employee table)
select ma_name||', '||ma_first_name d, manager_name||', '||manager_first_name r
from ma_main
where manager_id= :P11_Manager
It still doesn't work...

Similar Messages

  • Show sum column item Report in another item TEXT ?

    I have a report region to the query "select * from emp" and would like to display the sum of the salt field in another item using the TEXT APEX_APPLICATION.G_F01 rather than run the querie again without using a submit button, or whenever to have a page refresh the data are updated. This has to do?
    Ps: My apologies for my English because I used google translate.

    you need to use lookup column .
    Try this 
    http://blogs.sharepoint911.com/blogs/jennifer/Lists/Posts/Post.aspx?ID=53

  • How to make one map dependent on another ?

    Assume you have 2 maps - M1 and M2
    How to execute M2 automatically after successful run of M1 ?
    or if I have process flows PF2 start after success of PF1 without a manual intervention
    I looked at scheduling,.You can only set timing there but don't know how long your map runs.
    Thank You

    To make map dependant of another map you can use process flow. In process flow you can call M2 only if M1 is success. If M1 is failure you may exit the process flow.
    Am not sure how it will work for process flow. May be writing a 3rd process flow and call PF1 & PF2 within it based on success status? or write some PL-Sql wraper procedure for the same???!!! give it a try.

  • How to make one field dependent on another

    Hi All,
    I have 2 fields say FieldA and FieldB which is dependent on FieldA.
    The logic is If FieldA is NULL then FieldB should be NULL
    If FieldA is not NULL then FieldB should be not NULL.
    I have written the following code in the WHEN-VALIDATE-ITEM trigger of FieldA
    if :BLOCK_NAME.FieldA is not null then
    set_item_property('BLOCK_NAME.FieldB', REQUIRED, PROPERTY_TRUE);
    end if;
    This makes the FieldB mandatory (color changes to yellow) when I tab out of FieldA, but if I save the record without any value for FieldB, it gets saved without any errors.
    Any help is appreciated.
    EBS version 12.1.3 DB version 11.2.0.2 and Forms10g

    sreedevi  wrote:
    Hi All,
    I have 2 fields say FieldA and FieldB which is dependent on FieldA.
    The logic is If FieldA is NULL then FieldB should be NULL
    If FieldA is not NULL then FieldB should be not NULL.
    I have written the following code in the WHEN-VALIDATE-ITEM trigger of FieldA
    if :BLOCK_NAME.FieldA is not null then
    set_item_property('BLOCK_NAME.FieldB', REQUIRED, PROPERTY_TRUE);
    end if;
    This makes the FieldB mandatory (color changes to yellow) when I tab out of FieldA, but if I save the record without any value for FieldB, it gets saved without any errors.
    Any help is appreciated.your code is ok for the setting required but if cursor didn't move to FieldB, it will not say anything.
    You can try this...
    change form property
    Defer Required Enforcement=YesHope it will enforce form to enter FieldB.
    Can do another thing, Create form level trigger Pre-Commit and write down code for checking value of FieldA and FieldB and raise form trigger failure.
    Hope this helps

  • How to display value of an item based on another item

    Hi,
    In a page I've to display name for the corresponding id displayed in id item.Can I write a query based on id and display name as soon as I enter into that item.if so are there any properties I need to set ?I'm looking for just post_text_item functionality in forms?
    Thanks,
    Mahender

    Hi,
    I've created sample table with id,first_name and last_name to test:
    I've created AJAX script in application process area with name GET_NAME
    declare
    v_name varchar2(150);
    begin
    select first_name||'-'||last_name into v_name from names
    where id = :P53_id;
    htp.prn(v_name);
    exception when others then htp.prn('An error occurred retrieving name'||sqlerrm);
    end;
    CREATED JAVA SCRIPT IN html headers section of the page p53:
    <script type="text/javascript">
    function get_name(){
    var id = document.getElementById('P53_id').value;
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value, 'APPLICATION_PROCESS=GET_NAME’,0);
    get.add('P53_id',id);
    var gReturn = get.get();
    document.getElementById('P53_name').value = gReturn;
    </script>
    put the following in HTML Form Element Attributes of p53_id :
    onchange="get_name(this,'P53_id)"
    It's not working ?
    Can anyone help
    Thanks
    Edited by: user518071 on Aug 14, 2009 8:14 AM
    Edited by: user518071 on Aug 14, 2009 11:04 AM
    Edited by: user518071 on Aug 15, 2009 5:02 AM

  • Set visibility property for items depending on other items

    Hello,
    I want to set the visibility setting for an item that I have, the steps should be as the following,
    for example
    if I have an item that asked,
    do you have children ?
    if the answer is Yes,
    the next item should be visible which let's say, number of  them
    if no,
    the next item should be not visible
    I tried to set a trigger for the item I am controlling its visibility which is
    pre-text-item and wrote
    if 'CHEQUE_TABLE.CHEQUE_RECIEVED'='yes'
      then
      set_item_property(:SYSTEM.CURRENT_ITEM,visible,property_true) ;
    else
      set_item_property(:SYSTEM.CURRENT_ITEM,visible,property_false) ;
      end if;
    but it doesn't seem to be right, ,,,
    thank you

    I can see two potential problems.  The first:
    if 'CHEQUE_TABLE.CHEQUE_RECIEVED'='yes'
    Does CHEQUE_TABLE.CHEQUE_RECEIVED refer to a Data Block and Item?  If yes, then you are trying to tell Forms to look at the value of the string 'CHEQUE_TABLE.CHEQUE_RECEIVED' when you should be refering to the value of the Block.Item through direct reference, eg:
    IF :CHEQUE_TABLE.CHEQUE_RECEIVED = 'yes'
    How is the value of CHEQUE_RECIEVED set?  Does the user select the YES value from a List of Value (LOV) or from a Poplist or do they enter the value by typing it in?  If your code is looking at the string 'yes' and comparing it to the value of the Block Item which is in upper or mixed case, then 'yes' = 'Yes' or 'yes' = 'YES' will evaluate to FALSE instead of TRUE.
    It is always a good idea to use a Poplist or a List of Values when you are expecting specific values to be entered by the user; this enables you to force the value to be entered the same by everyone.  If the user CAN type the value in, then at least set the Case Restriction property to UPPER or LOWER so regardless of how the user enteres the value, it will be stored in the corrected case.
    Craig...

  • Cannot float item next to another floated item...help needed...

    Hi everyone,
    I'm using DW CS4 and am somewhat in a snag. I am trying to line up an image, text and another image side by side.  I was successfully able to float the text to the right  of the image (by using float: left) and now I am trying to float another image left of the text.  However, when I attempt, the image does not move and the text expands out (I put the text in a DIV container and gave it a width of 800 px); my entire layout is 1280 pixexl.  So what I'm asking is, how can I float an item next to another item?  I've posted the code below.  All help is greatly appreciated.  Thank you!
    **I posted my entire CSS and highlighted the area I am having issues with.
    Website Dimensions:
    body {
              height: 1024px;
              width: 1280px;
              margin:0 auto;
              position:relative
    HTML:
      <!--Main Content Begin-->
      <div id="main_content">
      <!--Top Hat Photo Begin-->
      <div id="Top_Hat_Photo">
          <img src="Dee 201 Big Smile Fade Surgical.jpg" width="438" height="376" alt="Dee Lewis" /></div>
          <!--Top Hat Phote End-->
          <!--Quotes Begin-->
          <div id="Quotes">
          <h1> Main Content</h1>
          <p>&quot;From writer to filmmaker to actress and back again. DeAara Lewis comfortably wears the hats of three crafts.&quot;</p>
      <p> Pearl Washington </p>
        <p> Tri State Defender</p>
        <p> </p>
        </div>
        <!--Quotes End-->
        <!--TV Icon Begin-->
        <div id="TV_Icon">
      <img src="TPIMH TV.jpg" width="303" height="325" alt="The People Inside My Head Coming Soon!" /></div>
      <!--TV Icon End-->
    </div>
    <!--end "main content"-->
    CSS:
    #container #main_content {
    #container #Header #Dee_Title {
              padding-left: 50px;
              width: 600px;
              clear: both;
    #container #main_content #Top_Hat_Photo img {
              float: left;
    #container #main_content #Quotes {
              width: 800px;
              float: left;
    #footer {
              clear: both;
    #Header #Navigation_Menu ul {
              margin: 0px;
              padding: 0px;
              list-style:none;
    #Header #Navigation_Menu ul li {
              float: left;
              text-align: center;
    #Header #Navigation_Menu ul li a:link, #Header #Navigation_Menu ul li a:visited {
              padding:.2em .5em;
              display:block;
              font-family:Georgia, "Times New Roman", Times, serif;
              font-size:1em;
              font-weight:bold;
              color:#000;
              text-decoration:none;
              line-height:1.2em;
              margin-right:.5em
    #Header #Navigation_Menu ul li a:hover {
              color:#C90;
    #Header #Navigation_Menu ul li a.current, #Header #Navigation_Menu ul li a.current:hover, #Header #Navigation_Menu ul li a.current:active {
              color:#00F;
              cursor:default;

    Working with Floats & Margins:
    http://alt-web.com/DEMOS/3-CSS-boxes.shtml
    Captions with Floated Images
    http://alt-web.com/DEMOS/CSS2-Captions-on-floated-images.shtml
    Photo Layout
    http://alt-web.com/TEMPLATES/Dark-Grid-II.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Dependency, Characteristic open depending on another field

    Hi All,
    We are working with a scenario where we willl use some characteristics and dependencies.
    We have been able to fill out values in one characteristic depending on another value.
    But we would also like to switch a characterstic from Display to Open if a specific value is given to another characteristic.
    Does anyone know how this should be written or where i can find documentation about how to this.
    Thanks in Advance!
    BR
    Mikael

    Mikael ,
    I am not agree with Bramhaji ,
    its seems with this syntex,
    $Self.REF_CHAR = 'CHAR2' if CHAR1 in ('A','B','D'),
    $Self.REF_CHAR = 'CHAR3' if CHAR1 in ('A','B','D')
    value from CHAR 2and 3 will be copied to Rferance characretrstic as values , but it will not hide them.
    forgive me if i am wrong,
    I think using precondtion can also help you out.
    create a dependency with type precondition
    syntax could be $self.CHAR1 = "c"
    so now , CHAR 2 qand CHAR 3 will be visible only when CHAR1 have value C
    when CHAR1 will haver value A , B or D this CHAR 2 and CHAR 3 will be not visible and user cant assign value to it.
    and assign this dependency to charactertsic CHAR 2 and CHAR 3 in class of type 300.
    you can also check sap help for same.
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm
    Thanks
    Ritesh

  • How to add one item when another item get added into the iProcurement Cart

    Hi,
    Please help me to do the following customization in iProcurement Cart:
    Requirement-1:
    1. Login to iProcurement and add one Item ITEM1 to Cart.
    2. Make another Item ITEM2 mandatory or get added automatically when Item ITEM1 gets added into the iProcurement Cart
    OR
    Requirement-2:
    1. Login to iProcurement and add one Item ITEM1 to Cart.
    2. Go to Cart and click Checkout.
    3. While checking out Item ITEM1, we need some validation to make another Item ITEM2 mandatory or get added automatically with Item ITEM1.
    Thanks in Advance,
    SB

    Hi tiff512:
    The way is:
    SAP NetWeaver > General Settings > Check Units of Measurement.
    The help documentation says the following in relation to the creation of new units of measure:
    "If required, define new units of measurement according to the international system of units (SI) with the menu function Unit of meaurement -> Create.
    Here you have to make make specifications for:
    Display (including a descriptive Units of measurement text)
    Conversion (not applicable to units of measurement without dimensions)
    Data exchange (EDI) (optional)
    Application parameters"
    I hope it is helpful to you.
    Regards,
    David

  • Reposting of Planned Line Items from One Cost Ctr to another

    Hello SAP Gurus,
    Can you tell me the process hoe We can repost planned line items from one coct center to another ?

    Hi,
    You can use Transaction code KP06 to update the changes to the plan data for the Cost Centers. There is no separate transaction code to repost plan data for Cost Centers.
    Thanks
    Murali.

  • Can I sync certain itmes from one itunes account and certain items from another itunes account on the same ipad?

    I was wondering if an individual would be able to sync certain items from one itunes account and and items from a different itunes account to the same ipad?

    You move the song files to /Users/Shared/ and then into iTunes from the other Mac OS X user account.
    If you want to change the iTunes Store account associated with them, you need to redownload them from that account.
    (60812)

  • Redirecting an item value to another page..

    Hi,
    I am trying to auto-populate couple of values on page 2 when I click a button on page 1. Tried setting the item values using the comma separated list and also by re-directing to an url. Hit an issue when the values that need to be set itself contain a comma within itself. Could you let me know if there is any other de-limiter that I can use instead of a comma while setting the item values.
    For instance:
    There is a button on Page 58. When this button is clicked, I should be redirected to page 45 in the application and the values in P58_Name and P58_LocId should be auto-populated in P45_Name and P_45LocId.
    Only when there is NO comma in value of P58_Name, this works fine. But, when there is a comma in P58_Name this is what happens:
    P58_Name = Mickey, Mouse
    P58_LocId = 145
    Once the button is clicked on page 58, the fields in page 45 are auto-populated as below:
    P45_Name = Mickey
    P45_LocId = Mouse
    Will there be a way to use a different de-limiter in the comma separated list? Kindly help.
    Thanks,
    P

    the trouble is that the comma in the item name messes up with Apex URL structure, since it uses a comma separated list of item names and values..
    You can set another item with the escaped value of the item in Javascript using the escape function(builtin)
    escape( $v('ITEM_NAME'))or in PSLQL using APEX_UTIL.URL_ENCODE or HTF.encode functions
    and then refer that new item in the Branch instead of the old one one(with commas)

  • Why I cant view my picture on my iphoto and if I try to copy to any folder it Shows "The item on the clipboard cant be pasted to this location. (One or more of the item may have been deleted or are no longer available) "

    Why I cant view my picture on my iphoto and if I try to copy to any folder it Shows "The item on the clipboard cant be pasted to this location. (One or more of the item may have been deleted or are no longer available) "

    There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. Describe the problem as fully as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • SP Designer Workflow: How to Get Full URL Path to List Item and inserted same list ITem URL in another list

    Hi,
    I have requirement in Sp Designer 2010,Get List item URL and insert in another list as one column value.When open another list and click on same item  column entry url will show the parent item information.
    Here i have create work flow and insert item URL in another list but cant find appropriate item url information.I can easily make  item url link through String builder in mail body with using current id and predefine link,but
    when try to insert the same type of item link in another list where i cant find string builder for create custom url link,only get valur of Path,URL,Absolute URL and Relative server URL,all these links or not provide me exact
    item link dispaly information.
    So I opened SharePoint Designer and start creating the workflow associated to the list.
    As there is some Field from source related to current item URL I start using it
    Encoded Absolute URL – this one should be the one to use
    Server Relative URL
    URL Path
    Unfortunately, none of these options were providing the correct link. Indeed, these options are providing an incorrect path:
    Encoded Absolute URL
    http://wfe1/Lists/bpf/1_.000
    Server Relative URL
    /Lists/bpf/1_.000
    URL Path
    /Lists/bpf/1_.000
    As you can see, the item URL is composed by an ID while it should be http://wfe1/Lists/bpf/dispform.aspx?id=1
    Hasan Jamal Siddiqui(MCTS,MCPD,ITIL@V3),Share Point Application Developer,TCS

    Unfortunately, [%Current Item:URL%] doesn't seem to be available from a "Site Workflow" associated to a List.   I'm finding less advantages to doing a "Site Workflow" when I don't necessarily need to.  One problem is the workflow is initiating
    twice.   I'm thinking I should have just created the workflow as a a "List Workflow."  
    I am going to try "Association Columns" -- that may work.  Anyone have other suggestions?

  • Select List to check duplicate values before putting into another item

    Hi All ,
    I have a select list which contains .. country regions like ( APAC , EMEA etc ) .
    When I select any region , all the countries belonging to the region fills in another item .
    Suppose I select APAC , all the countries like India , Japan etc all fills in another item .
    But the problem is , if I select twice APAC , it fills duplicate values . Its filling duplicate values .
    I want to put validation or check for country value ...
    Suppose I select ' APAC ' it fills all APAC countries in another item . Now Again If I select APAC then it first check the item whether the country is there or not . If already APAC countries are there in the Item then it will show an error message that " Value already Exist ' .
    I am not able to fix this problem . it is creating duplicate values in database table .
    Please some one help me on this ..
    Thanks
    Prashant

    Patrick ,
    Sorry , I am correcting my words ..
    I am using Multiselect List ( P11_REGION) having regions APAC , EMEA , LAD etc .
    When I select Region like APAC , it fills all the countries of APAC and puts into a List .
    If again I select APAC , it again fills all the APAC countries and puts into a list which causes duplicacy .
    I have one Application Process which returns Country according to Region selection and puts in the list .
    So , what i want is when user twice selects region APAC , it searches the list whether APAC countries are there or not . If countries are already exists then it show an error otherwise Puts the countries in the list .

Maybe you are looking for

  • Pages not displaying properly in Publisher instances as we activated the page from Author

    HI All, Pages not displaying properly in Publisher instances as we activated the page from Author. In author it is working well but in Pulisher it is showing first 2 lines of the page and then showing error as Apache sling/2.2 Hot Spot ****** Sun OS

  • Bluetooth 2.0 adapter install

    I just bought the Apple Buetooth 2.0 adapter for my Mac pro. Can anyone tell me where to find installation instructions? Thanks

  • How to sync purchased app from laptop to ipad?

    when i connect ipad to laptop i can sync my apps in my ipad to my laptop, but if i downloaded apps on my laptop, and i want to transfer them into my ipad, how to sync rather than dragging them into ipad manually?

  • Need Help for Replacement ASAP

    Hi Guys I need to calculate the nr of days between the current date and the Posting date . I have the char available (posting date) . I have the req : CURRENT DATE – POSTING DATE WHERE payment block is not initial. If I want to calculate this in Quer

  • Apache commons-lang version in Oracle SOA Suite 10.1.3.3.0

    What is the Apache commons-lang version used in Oracle SOA Suite 10.1.3.3.0? I was using commons-lang-2.4 classes in writing an Identity service plugin and ran into an issue.