How to Do Value Set Reverse Lookup?

I have a concurrent program which has multiple paramaters with various value sets. When I run reports, I want to dynamically list on the output the parameters the user gave. The problem is that these values are often the IDs and not the value the user sees.
Are there any packages in applications that will let me to do a "reverse lookup" with the value sets to get the values the user saw?
Thanks,
Kurzweil4

Kurzweil4,
Is your conc prog in OA code? anyway, you can always use a VO with proper sql to get the value lookup for the IDs.
--Shiv                                                                                                                                                                                                                                                                                   

Similar Messages

  • How to restrict value set to a certain responsibility

    A group of users need access to add values to a value set. We dont want them to access all available value sets. So how can I restrict the responsiblity to access only one value set? can we create a function or something and pass the value set name? or does it need form personalization?
    Thanks.

    I don't think it's possible adding parameters to the form function. So, you would need to use form personalizations or add some code to the CUSTOM.pll. Another possibility would be to use lookups instead of value sets. Lookups can be restricted using form function parameters.
    Hope it helps.

  • How to give  Value set for model attribute?

    Hi all,
           How to give value set for model attribute?
           plz explain me with some sample code.
    Regards,
    Srinu

    Hi Srinivasulu,
    An attribute (of basic data types like integer , string etc) holds a single values.
    Please clarify by what you mean value set ?
    Also, share the structure of context.
    Regards,
    Kartikaye

  • How to clear value set values from node info

    Hi,
    I have set some values on value set to display on a dropdown in my view.  using following method.
      l_node_info->set_attribute_value_set(  name      = 'XYZ'  value_set = l_value_set ).
    Now i need to clear node info value set. Otherwise particular attribute which i used for dropdown is always showing values added .
    Please suggest how to clear value set.
    Thanks,
    Venkat.

    Hi,
    Interface IF_WD_CONTEXT_NODE_INFO is for metadata of a node. It has nothing to do with the values in dropdown list.
    In order to manipulate the values in the dropdown of an attributes, you can use the IF_WD_CONTEXT_NODE.
    As you are saying its a dropdown, what I can suggest is to write supply function for the node.
    And then get the index (V_INDEX) of the value you wanted to see in the dropdown list, and then use the following code in the method WDDOINIT
    LO_NODE->SET_LEAD_SELECTION_INDEX( INDEX = V_TABIX ).

  • How to Change Value set Dynamically for a Parameter in Apps?

    Hi All,
    I have a requirement where i need to change the value set dynamically for a given Parameter. This goes as, I have a Concurrent Program with 4 parameters. First Parameter is mandatory Business group.Second Parameter is Warehouse. Based up on the First parameter the second parameters LoV's are displayed, the third and fourth parameters value sets are dependent up on the Second parameter value. Parameter 2,3,4 Value sets are Table type. So i Used .$FLEX$.Value_setname to retrive the LOV's
    The Requirment now is that if the User doesn't enter the Parameter 2 than the Third Parameter field must be Open and he must be able to enter the Free text. In my case it is an Order Number. If the User enters the paramter 2 value than LOV's for ORder number pertaining to that Warehouse must get displayed. I've figured that this can be possible only if i change the Valuesets Dyanamically. I'm not sure if that is possible or not.
    I have tried :
    Using a Dummy Parameter with a new valueset(Transactable Independent) and giving Y and N based up on Warehouse parameter input.
    SELECT (DECODE ( :$FLEX$.WAREHOUSE_NAMES,NULL,'Y','N')) from dual;
    The default type was SQL.
    Then in the 3rd Parameter i have used Case function to differentiate Y or N. The third parameter being ORder number, is a table type and derived from Oe_order_headers_all.
    In the Query section i tried using dummy parameter value set to retreive the values. I was terribly Unsuccessful in doing so.
    Does the above Case exists or is Doable? Please, Help me out if somone had worked on Similar thing or have any idea of standard report/program using it in Oracle.
    Thanks alot for the Help!

    You will probably have better luck on the eBusinesSuite forum. This is more of a setup issue when defining your LOV and program parameters than it is a SQL or PL/SQL issue.
    http://forums.oracle.com/forums/category.jspa?categoryID=3
    Good luck - this is an aggravating issue to work with and I wish I did have the answer for you!

  • Report Manager: How to make value sets appear in security workbench

    Hi:
    R12.1.3
    In Report Manager Security Workbench, when I search for value sets, I see none of the custom value sets I created. Can anyone tell me what the rules are for accessing a custom value set through the Security Workbench?
    Thanks.

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    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.

  • How does pair Value set works

    Edit Tab has this code loaded :
    FND POPIDR APPL_SHORT_NAME="SQLGL" CODE="GL#"
    NUM=:$FLEX$.GL_SRS_COA_UNVALIDATED REQUIRED="Y"
    VALIDATE="NONE" SEG=":!VALUE" DESC=":!MEANING"
    NAVIGATE="!DIR" VDATE=""
    And from how and where this NUM is mapped to that when i pass Chart of account ID it fetches the accounting flexfields

    Hi, Can you also send me the doc.  My Id is [email protected]
    Thanks,
    Sam

  • How to reuse a value set in the filter into an LMD process

    Using apex 3.2, I'm wondering how to re-use the value currently set into the filter (interactive report) into a LMD process attached to a button created on the same page.
    The process on Submit - after validations and computations, I presume, should look like to the following statement, but in a dynamic way:
    begin
    insert into table2 select * from table1
    where study = 'ABCD';
    end;
    I tested the following clauses options, which none of them work:
    a) where study = :STUDY
    b) where study = :IR_STUDY
    setting the debbug to on, I could realize that the report was based on (apparently, APEX generates APXWS_EXPR_1 bind variable for the first parameter and APXWS_EXPR_2 if a second parameter is used into the filter, and so on...) :
    where ("STUDY" = :APXWS_EXPR_1)
    and then saw :
    0.28: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="ABCD"
    0.28: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="10000"
    of course, I thought that the clause 'where ("STUDY" = :APXWS_EXPR_1)' could work. Unfortunaltely, not.
    any king of support is welcome.
    Thanks a lot,
    Bruno

    but I don't know how to execute it from putty ? Can some one help me.Use the same command. Just make sure you are logged in as applmgr user and source the application env file before you run the command. Also, make sure you issue the command in a directory where applmgr has read/write privilege.
    How to Load Value Set Values When Using Fndload To Load A Concurrent Program [ID 252853.1]
    Tips About FNDLOAD [ID 735338.1]
    How To Download A Single Flexfield Structure Using FNDLOAD? [ID 745689.1]
    Download Multiple Flexfields From FNDLOAD [ID 316600.1]
    Thanks,
    Hussein

  • How to change table value set using FND_LOAD

    Hi ,
    I need to change my existing " table valueset " tablename .
    As i know we cont change it from front end if it is created once. but i am trying to create same value set in other instance and uploading it using FND_LOAD .
    Is it Possible ?
    IF yes please guide ?
    I feel greate if any one helps me.
    Regards ,
    Azam.

    Hi,
    You could use FNDLOAD to download the values, and edit the ldt file before uploading it back using FNDLOAD.
    Search My Oracle Support for "FNDLOAD afffload.lct", you should get couple of hits which should be helpful.
    Note: 252853.1 - 11i AOL : How to Load Value Set Values When Using Fndload To Load A Concurrent Program
    Note: 274528.1 - How To Download Single Context Using FNDLOAD For Descriptive Flexfield
    Regards,
    Hussein

  • Need help in creating value set

    hi frs,
    i have created report with parameter status and registerd in apps.
    i need create valuet set like having values like below
    approve,
    cacel,
    pending,
    close,
    all
    all should contain values like approve,cacel,pending,close
    how to create value set of this type.
    help pls.
    regards
    rajesh

    Hi,
    For my Report i need to pass 2 parameters 1.From Period 2.To Period
    I created value set what ever u telling like and parameter window i given low high.
    This is because data is in varchar.
    I tryed in some other way using $flex$ am getting error while attaching.
    can you pls help me i need urgent.
    If u need any more information i will send u...
    Thanks in Advance.
    Regards,
    Leelakrishna.G

  • SQL dependent Value Set

    hi experts
    I want to make value set ( single value column) dependent upon select statement. How can i do that . i know how to make table dependent value set but i dont know how to make value set dependent upon select .
    Please help me out of this ..
    regards
    Anwer

    Hi Anwar
    Go to Value Set creation screen.
    Go to Value Validation Region
    Select validation type as Table
    Click Edit information and enter your table details as follows
    Name of the table
    ID and name combination ( Like if you want to create a value set in person table in LOV you would like to show Full Name but while passing parameter or storing value you will store person_id)
    Add your where clause and order by clause in the where/order by clause.
    See a seeded value set of this type (BEN_ACTN_TYP) for reference.
    For more details go through flexfield guide at following location
    http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120flexug.pdf
    Regards
    Gaurav

  • How to do a reverse lookup on a value set?

    I have a concurrent program which has multiple paramaters with various value sets. When I run reports, I want to dynamically list on the output the parameters the user gave. The problem is that these values are often the IDs and not the value the user sees.
    Are there any packages in applications that will let me to do a "reverse lookup" with the value sets to get the values the user saw?
    Thanks,
    Kurzweil4

    Hi Stomie,
    Based on your description, the network ID of your reverse lookup zone is 172.16.160.
    To create a reverse lookup zone, please follow steps below,
    Right click Reverse Lookup Zones, click New Zone, choose proper settings of
    Zone Type, Active Directory one Replication Scope,
    Reverse Lookup Zone Name type based on your actual situation.
    In the Reverse Lookup Zone Name page, check Network ID
    radio button, enter the network ID. For example, if the network ID is 172.16.160, then enter 172, 16, 160 in order. Then you will see it appears     
    160.16.172.in-addr.arpa in the Reverse lookup zone name edit.
    Or in the Reverse Lookup Zone Name page, check
    Reverse lookup zone name radio button, then enter the name of the reverse lookup zone directly. Such as, enter
    160.16.172.in-addr.arpa in the edit.
    Click Next twice, click Finish.
    Reverse lookup zone name end up with in-addr.arpa.
    Best Regards,
    Tina

  • How to Install DNS ROLE and its FQDN service and Reverse Lookup zone in Server Core using Powershell?

    Hi
    I am Setting A Lab Scenario That the PC name "Core2012" i.e. Server Core 2012 Will be Domain Controller.
    Using PowerShell I have done this Task
    Change hostname ; Configure IP address and Preferred DNS address ; Disable IPv6 ;
    Configure Firewall ; Even Active Directory Role install.
    Now problem occur
    Well I have know to install DNS role install-WindowsFeature DNS
    Ok
    But; 
    How to configure FQDN ; Restore mode password ; Setting up global catalog server ;and configure Reverse Lookup zone Using powershell
    I have search many Forums but I am not getting to touch with it.
    So I Need a help to set and Configure DNS using Powershell
    Thank You!!!
    sagarpdalvi

    Hi Sagarpdalvi,
    To set the Safe mode password with powershell, please refer to the cmdlet Install-ADDSDomainController, to enable global catalog(GC), please run the cmdlet "Set-ADObject" after install Active Directory on the core server, to configure Reverse Lookup zone,
    please refer to the cmdlet
    Add-DnsServerPrimaryZone.
    To configure DC with powershell, please check the scripts:
    Installing a Domain Controller on Windows Server 2012
    R2 Core
    Enabling and Disabling the Global Catalog
    To configure DNS, the Domain Name System (DNS) Server Cmdlets should be helpful for you:
    http://technet.microsoft.com/en-us/library/jj649850.aspx
    I hope this helps.

  • DNS - NS entry on reverse lookup has changed - how to reset?

    Hi,
    When I view the DNS setup through the GUI in server admin everything looks as it should. However when I use Lookup in Network Utility there is a problem with the ns entry.
    Using lookup on the servers FQDN (xserve.company.com) returns the correct NS entry, which is xserve.company.com. However when I query the servers IP address to perform a reverse lookup the NS entry shows ns.company.com
    when I intially set up DNS all was checked and verified. Recently someone on site stopped some services and performed a hard reboot of the server as they thought it had frozen. Next time I came to the site to check things I noticed this NS entry discrepancy.
    How do I or indeed can I get the NS entry on the reverse lookup back to xserve.company.com?
    Thanks

    Hi Jeff,
    Config files in /var/named/zones appear to contain the incorrect NS entries
    There are two files in the zones directory:
    db.0.1.10.in-addr.arpa.zone.apple
    **$TTL 10800**
    **0.1.10.in-addr.arpa. IN SOA ns.company.com. admin.0.1.10.in-addr.arpa. (**
    **2009031300 ;Serial**
    **86400 ;Refresh**
    **7200 ;Retry**
    **2592000 ;Expire**
    **345600 ;Negative caching TTL**
    **0.1.10.in-addr.arpa. IN NS ns.company.com.**
    **10.0.1.10.in-addr.arpa. IN PTR xserve.company.com.**
    **db.0.1.10.in-addr.arpa.zone.apple (END)**
    and
    db.company.com.zone.apple
    $TTL 10800
    company.com. IN +SOA xserve+ john.company.com (
    2009042901 ;Serial
    86400 ;Refresh
    3600 ;Retry
    604800 ;Expire
    345600 ;Negative caching TTL
    company.com. IN +NS xserve+
    xserve IN A 10.1.0.10
    xserve IN HINFO "Apple XServe" "OSX Server 10.5.6"
    db.company.com.zone.apple (END)
    What I notice is that there are the incorrect NS entries in the reverse zone file but there are also differences in the forward zone file compared to another correctly working server - namely that in the above case the SOA and NS entry simply consist of the name xserve but on the other server these entries have the full domain name. (I italicized these entries so you know which I am referring to)
    I guess my questions now are:
    1) Should I go ahead and backup these files and edit the NS entries in the reverse zone file?
    2) Should I also edit the forward zone file SOA and NS entries to the full domain name?
    3) Should I stop the DNS service prior to making these changes and restart it afterwards or make the changes and then stop it and start it?
    Thankyou very much for your patience and time.

  • How to create a value sets for concurrent program?

    Hi Friends,
    I am creating a concurrent program with a parameter period...
    In the value set for the parameter period, I am using the following query :
    ---where application_id = 101
    and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
    and closing_status IN ( 'O', 'F', 'C')
    order by period_year, period_num' ----
    In my cursor, i have a condition 'where set_of_books_id = ' ---
    How can I pass the above set of books id into the cursor ?? it is not working when I am defining another parameter as Book and passing that value to the cursor....
    I need that period parameter to return all the periods for the set of books where we are running the concurrent request from...I also need to get the set of books id for my cursor...
    Hope I am making sense...All that I am trying is to have period parameter and also a SOB id in cursor condition...
    Rgds,

    Hi Vamsi /Nitin,
    Let me explain the whole thing now.....
    My plsql procedure is ......
    CREATE OR REPLACE procedure GL_INT(
         perrbuff     out varchar2,
         pretcode     out varchar2,
    pbook          in varchar2,
    pperiod          in varchar2
         ) is
    cursor cur1 (p_sdate in date, p_edate in date )is
    select distinct group_id groupid,
    user_je_source_name source
    from gl_interface
         where accounting_date >= p_sdate
    and accounting_date <= p_edate
    and set_of_books_id = pbook;
    cursor cur2 is
    select distinct start_date sdate,
         end_date edate, period_name period
    from gl_period_statuses
    where      period_name = pperiod
         and set_of_books_id = pbook
         and application_id = 101;
    i               cur1%rowtype;
    j               cur2%rowtype;
    begin
    open cur2;
                   fnd_file.put_line(fnd_file.output,'PERIOD'||'----'||'GROUPID'||
                                       '----'|| 'SOURCE');
              loop
                   fetch cur2 into J;
    exit when cur2%notfound;
                   open cur1(J.sdate,J.edate);
                   loop
              fetch cur1 into I;
                        exit when cur1%notfound;
              fnd_file.put_line(fnd_file.output, J.period||'----'||I.groupid||'----'||
                                  I.source);
                   end loop;
              end loop;
         Close cur1;
    close cur2;
    Exception when others then dbms_output.put_line(SQLERRM);     
    end;
    ==================================================================================================
    For SOB value set, I have passed the default value as vamsi suggested ($profiles$.gl_set_of_bks_id)....
    For period value set, I have entered query as ..where application_id = 101
    and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
    and closing_status IN ( 'O', 'F', 'C')
    order by period_year, period_num...................
    It still doesn't work....I don't know how to derive those Periods based on the SOBs and at the same time pass SOB id into the cursors...
    Please help...
    Rgds,
    Murali

Maybe you are looking for

  • PO Condition type to be included in the total amount of PO

    Hi, I have a PO conditiont type configured with the ff. attributes: 1. Condition Class is Discount or surcharge. 2. Calculation type is percentage. 3. Cond. category is delivery costs. I want to include the additional cost of this condition in the to

  • Create a congruential random numbers

    I want to create a congruential random numbers generator in java: Below is the formula for it. ri+1=(a*ri+b) mod M . How can I use Math class for this?

  • Map 2 NAS shares with the same name.

    Hello, I can map each of them, but not two at a time. let´s say server1 has a share called "public" and server2 the same share. No, rename of the share is not possible. Any idea? Pls. help!!! Thx Hans

  • Forms Hands-On Training

    Has anyone worked with Forms Hands-On Training sample code from OTN? I managed to get it up and running on NT. The only problem that I have is the Images are not showing and the page which will let you upload image is not working. I am suspecting tha

  • Log File Handling

    I'm running ITS 6.20.  I have a copy of the "ITS Tuning and Troubleshooting Guide, Release 6.20".  I've started taking a closer look at the log mechanism built into ITS.  My question is, how often(and when) does the ITS check it's logs(e.g. the perfo