How to create a lookup

Hi All
I am working in Oracle Apps R12.
How to create a lookup can any one provide me the steps to create lookup
I have two tables Per_all_people_f from this table I need to create a lookup with "FULL_NAME" column and the "person_id" in the per_all_people_f and "to_person_id " in po_requestion_lines_all tables need to be equal
Ie l need to create a look up like this
select hr.full_name,po.to_person_id,hr.person_id from per_all_people_f hr,PO_REQUISITION_LINES_ALL po where po.to_person_id=hr.person_id
regards
Srikkanth

Mr,Sri Kanthu,
Follow this external link which is useful for newbies,
http://oracle.anilpassi.com/lookup-types-and-lookup-codes-in-oracle-apps.html
Regards
Abdul HAMEED

Similar Messages

  • How to create a lookup in Crystal Reports or SQL Server

    I need to create an Operating Statement report.  The problem is that I need to create a lookup or something to satify a requirement that even if there is no data in the system it will still bring back a description.
    Example:  01 = Income, 02 = Expense, 03 = Labor.. ect(there are 31 of these)
    If there is no data for 03 I still need Labor to print.
    In my SQL I did a CASE statment that said when
    Account = '3001' THEN 01, Account = '3002' THEN 02, Account = '3003' THEN 03 ECT
    Then I created a formula a in Crystal that reads the case Statement to assign descriptions 01 = Income, 02 = Expense, 03 = Labor.
    The problem is when there is no data for Account 3003 then the formula does not know to still bring back 03 as Labor.
    Can I create a lookup to assign the description, I dont care about the values they can come back as zero.
    Is there a formula or can I create a sql statement to pull back a derived table anything but to create a physical table?
    Any help would be great.
    Application is Crystal Reports XI 2 SP2
    SQL Server 2005
    Peoplesoft 8.9 Financials.

    Thank you Ludek for answering my post.  That was just the information I needed.  I inserted a formula field and then changed the font to Wingdings and that gave me my checkbox.    Not being familiar with Crystal Reports I had a devil of a time just figuring out how to insert a formula field as the field explorer is not easy to find.  The following link will help any developers who might have that problem too.
    http://aspadvice.com/blogs/rjdudley/archive/2005/08/09/2642.aspx
    Lastly Iu2019ll add the part of my formula which gives you a checked or unchecked check box in a Windings font:
    --For Check box checked
        Formula = Chr(254)
    --For Check Box unchecked
        Formula = Chr(168)

  • How to Create new Lookup Type and look up codes within it.

    Hi,
    I need to create a Poplist.
    I want the View Object(to be associated with the poplist) to fetch the value from a new look up type and lookup codes as mentioned below.
    How to create these in the APPS?
    Lookup Type
    RATINGS
    LookupCode Meaning
    A Very Good
    B Good
    C Satisfactory
    D Bad
    Please tell me how can i create the above mentioned Lookup Type and codes ?
    thanks,
    Gowtam

    I have one more doubt regarding the AM to be associated with the poplist and that with the page and choice box within it.
    The ViewObject for the poplist belongs to the package <xyz>.oracle.apps.employee.poplist.server.
    My questions are
    1.What should be the AM property for PageLayoutRN?
    - is it oracle.apps.fnd.server.OAApplicationModule(as in HelloWorld)
    OR
    - is it <xyz>.oracle.apps.employee.poplist.server (view objects AM)
    2.What should be the AM property for the Choice?
    - do I need to assign it to <xyz>.oracle.apps.employee.poplist.server
    OR
    - leave it blank?
    Please clarify my doubts.
    Thanks,
    Gowtam

  • How to create a lookup table in flex

    Hi,
    I am not sure how to construct and use a lookup table in flex, i have a string which needs to replaced with a string in the lookup table. Can someone let me know can i can do this.
    Thanks

    @learningflex,
    Here is the simple example of doing this..
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="onCreationComplete();">
       <mx:Script>
       <![CDATA[
         import mx.collections.ArrayCollection;
         import flash.utils.setInterval;
         import mx.controls.Alert;
      [Bindable]
      private var dataList:ArrayCollection = new ArrayCollection([
      {name:'Person'},
      {name:'Student'},
      {name:'Teacher'}, 
      {name:'Employee'}]);
        private function onCreationComplete():void
          for(var i:int=0;i<dataList.length;i++)
           var obj:Object = dataList.getItemAt(i);
           obj.abbr = getAbbrevatedName(obj.name);
           dataList.setItemAt(obj,i);           
          dataGrid.dataProvider = dataList;
        private function getAbbrevatedName(name:String):String
          switch(name)
           case "Person":
            return "prsn";
           case "Student":
            return "sdt";
           case "Teacher":
            return "tcr";
           case "Employee":
            return "emp";
           default:
            return "";
       ]]>
       </mx:Script>
    <mx:DataGrid id="dataGrid" x="10" y="177" visible="true">          
      <mx:columns>
       <mx:DataGridColumn  headerText="Actual Name" dataField="name"/>           
       <mx:DataGridColumn width="150" headerText="Abbrevated Name" dataField="abbr"/>
      </mx:columns>
    </mx:DataGrid>
    </mx:Application>
    See I have displayed both the FullNames in one column and also the abbrevated names in another column. So you can make use of the second column.
    Thanks,
    Bhasker

  • How to creat a lookup table

    Hi
    I have been looking and trying to figure this out for a few days and after awhile you just head no where.
    What I need to do is use a lookup table and change gray code to an angular reading.
    I have an 11 bit encoder I am also using LabVIEW 7.1 with a USB-6259. I can read the decimal and the Hex values but just can not seem to figure out how to get the angular measurements that I need. I have attached a simple .vi to get the hex and decimals as well as a .txt file with the gray code any help will be appreciated.
    Thanks
    Gerald
    Attachments:
    Encoder Test 8-14-06.llb ‏26 KB
    test3.txt ‏51 KB

    New problem.  Have duplicated the VI and hooked up the second sensor. Sensor 1 still works fine sensor 2 does not. I think the problem is that it is reading 22bit and I only need 11 bit. I have both sensors wired into port0 sensor 1 is wired to port0/line0:10 sensor 2 is wired port0/line11:21.  Is there a way to ignore the fist 11bits (line 0:10) or a way that would work. It shows up as 1100111110100000000000 and a dec. as 3401728. Please see attached.
    Thanks in advance
    Gerald
    Attachments:
    Encoder Test 8-16-06.llb ‏72 KB
    test6.txt ‏25 KB

  • How to create a lookup page

    Hello Experts, I want help to create a page on my website which can show the computer warranty with respect to the manufacturer.
    please visit this website : www.lookupwarranty.com . i want a page like this which can lookup for the warranty of the computer. Please help.

    This is WAY beyond what Muse is capable of and not really what Muse was designed for.
    This requires the creation of a database on your server and code to handle it and serve the correct content. This is also a security minefield - serving pages with user input and data processing is a whole different game to serving static preconfigured pages.
    If you still want to proceed lookup something like an SQL tutorial : SQL Tutorial
    Microsoft access is easier and probs more realistic. Tutorials: https://support.office.com/en-ca/article/Training-courses-for-Access-2013-a4bd10ea-d5f4-40 c5-8b37-d254561f8bce
    My recommendation: 1) hire a developer to write you this and to run you through hosting it on your server and then just link that page in Muse
    2) OR do something yourself with google docs. Spend a day writing an excel spreadsheet that does what you want (certainly achievable) and then make sheet look as professional as you can. Host online with something like: Forget Excel: 14 Online Spreadsheet Applications . Redirect to spreadsheet from Muse

  • How to create a LookUp field, selecting a value from another record type ??

    Hello all,
    I am looking to create a new field in Opportunity in CRM On Demand where we can give the user an option to select one of the records. Data in this search applet should come from another Record Type in CRM On Demand. I am not able to find any similar literature in the Help books.
    I would appreciate if somebody could give me real life steps please.
    Thanks a lot

    Okay. I found the solution to this.
    Now, along with this single reference, we also wish to bring the values of some more joined fields from the other record type in the Opportunities screen.
    We were hoping that the Default value, and using fx, we should be able to achieve this using "joinedfieldvalue". However, it's not bringing back any value. Our expression is -
    JoinFieldValue('<CustomObject3>',[<CustomObject3Id>],'<stState_ITAG>')
    Please help if you have done this before.
    Thanks & Regards

  • How to have real time data in a lookup or how to update a lookup once it has been created?

    Hi,
    I have created a lookup from an existing table and am using it to match incoming data. I would like to refresh the lookup once  a day. Is this possible. If yes how do I go about it?
    Regards
    Prabha

    If you are looking up onto staged data, just snapshot the data once a day.
    Or you could just do an External Lookup, where there is no need to refresh the data as you can just look it up dynamically.
    You will not get any 'fuzziness' with this approach.

  • How to create Lookup field in user form in OIM 11g - Urgent

    Hi Experts,
    How to create Lookup field in User Form - OIM 11g.
    Pls. provide your support on priority.
    Regards
    Karan

    Thanks all for your suggestion.
    Our requirement, is we need to have a user defined field similar to how its there in "Organisation".
    For example we need to create an user defined field like "Service Holding" which holds different services say like Service 1, Service 2, Service 3 etc.
    Under each service there are multiple roles....
    Eg:
    Service 1 - Role 1, Role 2, Role 3
    Service 2 - Role 4, Role 5
    Service 3 - Role 6, Role 7, Role 8
    Is there a way to store multi-valued attribute in OIM UDF? If so, pls. guide us
    If its not possible we would need to create a Lookup field (something similar to Organization or Manager). User clicks on the button (lens button), which should invoke an API wherein he can select specific Roles and save in User. Eg. like Service 1 - Role 1#Service 2 # Role 5 and store in the backend database.
    Is this possible. Pls. guide.
    Regards,
    Karan

  • How to use JDBC Lookup in PI 7.1 ?

    Hi,
    Please advise how to use JDBC lookup in message mapping PI 7.1 ? any reference link / document  ?
    I have followed this step below :
    1. Create the external definition for the database table.
    2. Use the external definition (table) in message mapping JDBC Lookup.
    But the target still "Yellow colour" meanint the mapping hasnot completed yet ? why ? and when i double click the JDBC lookup
    there some error message
    "No suitable parameter found; define new parameter of type 'Channel' first"
    Please advise.
    Thank You and Best Regards
    Fernand

    Hi Fernand,
    JDBC Lookup can be done in PI 7.1 using below mentioned steps :
    1) Create a communication channel between PI and the database to connect to database.
    2) Import the table data as External Definition.
    3) In message mapping where this lookup is to be used select JDBC Lookup under Conversions and map
    4) Double Click on JDBC Lookup
    5) Select parameter and a database table (imported as the external definition). All the elements of the table will appear in the middle column. Select and move the input parameters to the left side column and the output parameters to the right side column. Click OK. 
    6) Under message mapping go to signature tab and define the parameter as channel and category as JDBC Adapter Type. 
    7) Under Operation mapping define the parameter & associate it with parameter defined in Message Mapping.
    Thanks
    Amit

  • How to create a connection pooling in Netbeans 6.0 using the oracle driver

    hi all,
    I am using Netbeans 6.0. Apache Tomcat 6.0.14 server, oracle 9i.
    I tried to create a connection pooling using tomcat web server.
    I have included the following code in context.xml and web.xml.
    CONTEXT.XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/network1">
    <Resource name="jdbc/myoracle"
    auth="Container"
    type="javax.sql.DataSource"
    username="scott"
    password="tiger"
    factory="BasicDataSourceFactory"
    driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:odbc:thin:@127.0.0.1:1521:mydb"
    maxActive="20"
    maxIdle="10"
    maxwait="-1"/>
    </Context>
    WEB.XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/myoracle</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    After that i have included the following JDBC driver's jar files in the $Catalina_Home/lib folder.
    classes 111.jar,
    classes 111_g.jar
    classes12.jar
    classes 12_g.jar
    classes12dms.jar
    classes12dms_g.jar
    nls_charset11.jar
    nls_charset12.jar
    ocrs12.jar
    ojdbc14.jar
    ojdbc14_g.jar
    Then i stop the tomcat web server and start it again.
    In jsp page i have included the following code:
    Context ctx=new InitialContext();
    Context envctx=(Context)ctx.lookup("java:comp:env");
    DataSource ds=(DataSource)envctx.lookup("jdbc/myoracle");
    Connection con=ds.getConnection(); ----->(In this line an error occured that Connection class cannot be found.)
    please help me how to create a connection pooling and rectify the error in conneciton.
    Thanks in advance

    Please refer
    http://www.netbeans.org/kb/60/web/customer-book.html

  • How to create and use dynamic queue in JMS

    Plz tell me how to create and use a dynamic queue in jms and can reciever file lookup it as it lookup any server configurred queue(written in the server).

    Hi,
    We can use Azure File services to do this, for more information, please have a look at this article:
    http://blogs.msdn.com/b/windowsazurestorage/archive/2014/05/12/introducing-microsoft-azure-file-service.aspx. The Azure File service exposes file shares using the standard SMB 2.1 protocol. Applications running in Azure can now easily share files between
    VMs using standard and familiar file system APIs like ReadFile and WriteFile.
    Best Regards,
    Jambor
    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.

  • Anyone knows how to do JNDI lookup with OracleAQ?

    Hi all;
    Can anybody point me some guide/idea on how to implement JNDI lookup with OracleAQ?
    (Creating connectionFacotry , parameters for "java.naming.factory.initial", java.naming.provider.url etc..)
    Thanks
    -Ratha
    Edited by: Ratha on Sep 27, 2011 3:50 AM

    import javax.naming.*;
    import javax.naming.directory.*;
    import java.util.Properties;
    Properties env = new Properties();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, PROVIDER_URL);
    env.put(Context.SECURITY_PRINCIPAL, JNDI_USER);
    env.put(Context.SECURITY_CREDENTIALS, JNDI_PWD);
    InitialContext = new InitialDirContext(env);
    where JNDI_USER is the userid If ACL is configured at the JNDI server
    where JNDI_PWD is the password If ACL is configured at the JNDI server
    Context.INITIAL_CONTEXT_FACTORY is the initial Context factory and depends on ur JNDI service provider.
    PROVIDER_URL is the url of the JNDI server containing protocol/ip/port
    Hope it helps
    -aseem

  • How to create an object alive all the time on a server side

    Hi,
    I work on an Intranet with J2EE technologies. I need an object to do several tasks in background on the server side. Like start scheduled processes on a database and files, stocked on the server. What is the way to do this. I thought to use the JNDI by declaring the object in the Deployement Descriptor, and to manage a timer within.
    I don't know if this works.
    Anyway, my question is how to create an object on the server that is ALIVE ALL THE TIME and visible by the other objects running in the same VM.
    Thank's.

    This may not be the correct design, but I had success doing the following:
    1. Create an Stateless EJB that does a task, i.e. update a database table.
    2. Create a subclass of java.util.TimerTask to call the EJB methods.
    3. Kick off the TimerTask from a servlet.init method.
    Seems to work pretty well to do scheduled tasks, such as refreshing lookup tables. I would imagine the same could be done with an MBean, but I haven't had time to fully understand JMX yet. (It's on the list).
    As for event driven procedures, that can be done through a servlet interface.
    You may also wish to review a scheduler here: http://www.part.net/quartz.html. Note, I have NOT even looked at it yet, so I have no clue if it's any good. But, it is on my list of tools to evaluate (that's a long list) someday when my head's above water. Have a look, and caveat emptor.
    Hope this helps,
    Perry Tew

  • How to create DataSource  and ConnectionPooling in WAS

    hi,
    can u please tell me how to create connectionpool and data source in WAS.pls send me step by step procedure
    regards
    Guru

    Hi,
    Here is the steps to creat a JNDI lookup using Datasource for MSSQL Server. Follow this and use necessary oracle parameters (in bold) as gives by me in the help link above.
    Click DataSources in the same path i.e. server > services > JDBC connector
    Click “new driver or datasource”.
    Enter/ Set the following properties:
    Main Tab
    DataSource Name : KAAR_DS
    Add Alias : KAAR
    SRI
    Driver Name : KaarSQLDriver
    JDBC version :2.0 (with XA support)
    <b>Object factory : com.microsoft.jdbcx.sqlserver.SQLServerDataSourceFactory
    DataSource Type : ConnectionPoolDataSource
    CPDS classname : com.microsoft.jdbcx.sqlserver.SQLServerDataSource</b>
    Additional tab
    Add the following properties (key-value):
    serverName = localhost
    databaseName = KA4
    portNumber = 1433
    user = CV
    password =<password>
    Save and restart J2EE. The datasource is now ready to use.
    Connection Pooling
    Initial connection : 0
    Maximum connection : 100
    Maximum time to wait for connection : 60
    Default connection isolation : DEFAULT
    SQL Engine
    Select, Vendor SQL
    DB Initialization Tab
    Add a valid sql statement, and execute. If it is successfully executed, a popup window comes up saying Executing “<sql query>” . OK.
    It is done. Now you can use the JNDI look up name in your coding to access the database. Get connection and use the queries to fetch data from db.
    Regards,
    Srinivasan T
    <b>Helpful answer=>points</b>

Maybe you are looking for

  • Migration from 10.1.3.3.0 to 11g Tp3 : tld issues please please help

    Hello All, I have migrated my 10.1.3.3.0 application to 11g Tp3, but it does not work first of all in my jsps, WEB-INF/struts-bean.tld is not a registered namespace and all my custom libraries with same page JAR for WEB-INF/lib/datatags.jar founr but

  • Why not use vixie-cron?

    Instead of dcron, vixie-cron has more features. And many distros choose vixie-cron as their default cron daemon. I want to know why arch dev team don't use vixie-cron? Thanks

  • How to find error Idocs at once

    Hi experts, Can some one help how to find all the error Idocs at once.

  • Du/repquota bug?

    ls -l blabla.avi -rwxr--r-- 1 wind users5 726943744 Jan 22 18:01 blabla.avi du -k blabla.avi 1376 blabla.avi ^^^^^ repquota /home user +- 304696 100000 110000    6.9 days      98      0      0   ^^^^^^^^^^^^^^^^^ fsck hasn't found any problem on raw

  • Lag every 8 seconds watching videos or scrolling, why?

    I keep getting this annoying lag after browsing for a hour or so. Its a lag that makes everything stop or stutter that happens every 8 seconds. anyone know what this could be? Thanks