HIGHEST DEGREE is populated with no source values in HR Analytics for PSFT

Hi Gurus.
I'm implementing BI Apps 7.9.6.3 with Peoplesoft 9.0 as source. Reviewing some reports in HR Analytics I found that the dimension called "Employee Education and Languages.Employee Highest Education Degree Description" is being populated with values that not belong to the source system.
I found the following query in mplt_SIL_EmployeeDemographicAggregation_Load.LKP_CODES_HIGHEST_DEGREE:
SELECT
W_CODE_D.MASTER_CODE as MASTER_CODE,
W_CODE_D.MASTER_VALUE as MASTER_VALUE,
W_CODE_D.SOURCE_CODE as SOURCE_CODE,
W_CODE_D.DATASOURCE_NUM_ID as DATASOURCE_NUM_ID
FROM
W_CODE_D
WHERE
W_CODE_D.CATEGORY = 'HIGHEST_DEGREE' AND
W_CODE_D.LANGUAGE_CODE = 'E';
When this query is execute it returned values like these in the W_CODE_D.MASTER_VALUE field:
No Formal Education, Elementary Scholl Completed, Some High School, High School Graduate, Terminal Occupation Pgm DNC, Terminal Occupation Pgm Cmp,
Some College - Less than 1 Yr, One Year College, Two Years College, Associate Degree, Three Years College, Four Years College, Bachelor Degree, Post Bachelors
First Professional, Post-First Professional, Masters Degree, Post Masters, Sixth Year Degree, Post Sxth Year, Doctorate Degree, Post Doctorate, Not Indicated, Less Than HS Graduate
HS Graduate or Equivalent, Some College, Technical School, 2-Year College Degree, Bachelor's Level Degree, Some Graduate School, Master's Level Degree, Doctorate (Academic)
Doctorate (Professional), Post-Doctorate
The customer said that those values are not form his Peoplesoft source system.
I tried to follow the mapping of W_CODE_D but it is related with a lot of task.
Somebody could tell me where those values came from? is there a harcode or csv file?
Can I configure those values? -- I do not find anything about that for PSFT in the Configuration guide--
Thanks in Advance

Thanks for your quick response Ahsan , but the part of the guide that you mentioned is for eBS source. In my case the source is Peoplesoft and can't find a similar configuration.
Thanks again.

Similar Messages

  • Problem with getting actual value in Row row=iter.getCurrentRow();

    hi,
    the use case is as follows:
    in master-details, on detail table there are 2 columns with checkbox and username.
    when user clicks checks, the username text item is populated with current user value in respective row.
    <af:column sortProperty="#{bindings.DcaRegisterLinesV1.hints.Selected.name}" filterable="true"
    sortable="true" headerText="#{bindings.DcaRegisterLinesV1.hints.Selected.label}" id="c1"
    width="30">
    <af:selectBooleanCheckbox value="#{row.bindings.Selected.inputValue}"
    label="#{row.bindings.Selected.label}" autoSubmit="true"
    valueChangeListener="#{registerBean.socSelectedChangeListener}"
    shortDesc="#{bindings.DcaRegisterLinesV1.hints.Selected.tooltip}" id="sbc1">
    <!--af:setPropertyListener from="#{securityContext.userName}"
    to="#{bindings.ProcessedUser.inputValue}"
    type="attributeChange"/-->
    </af:selectBooleanCheckbox>
    </af:column>
    <af:column headerText="#{bindings.DcaRegisterLinesV1.hints.ProcessedUser.label}" id="c17" width="80"
    sortProperty="#{bindings.DcaRegisterLinesV1.hints.ProcessedUser.name}" filterable="true"
    sortable="true">
    <af:outputText value="#{row.ProcessedUser}" id="ot17"/>
    </af:column>
    the bean's code is below:
    public void socSelectedChangeListener(ValueChangeEvent valueChangeEvent) {
    BindingContainer dcbindings = getBindings();
    AttributeBinding at;
    DCBindingContainer dc=(DCBindingContainer) dcbindings;
    DCIteratorBinding iter=dc.findIteratorBinding("DcaRegisterLinesV1Iterator");
    BindingContext bindingctx = BindingContext.getCurrent();
    BindingContainer bindings = (BindingContainer)bindingctx.getCurrentBindingsEntry();
    Row row=iter.getCurrentRow();
    String AgreementId=row.getAttribute("AgreementId").toString();
    System.out.println(" AgreementId="+AgreementId);
    it always prints the first row's values.
    even though i click on different rows on the table prior clicking checkbox.
    what's wrong? seems like the model is not refreshed because what? autosubmit=true ?..
    how can i get the actual row values?
    please help
    the

    Hi,
    lets clean up your code first:
    public void socSelectedChangeListener(ValueChangeEvent valueChangeEvent) {
    BindingContainer dcbindings = getBindings();
    //AttributeBinding at;
    DCBindingContainer dc=(DCBindingContainer) dcbindings;
    DCIteratorBinding iter=dc.findIteratorBinding("DcaRegisterLinesV1Iterator");
    //BindingContext bindingctx = BindingContext.getCurrent();
    //BindingContainer bindings = (BindingContainer)bindingctx.getCurrentBindingsEntry();
    Row row=iter.getCurrentRow();
    String AgreementId=row.getAttribute("AgreementId").toString();
    System.out.println(" AgreementId="+AgreementId);No to the possible problem. Check if the table SelectListener is set. It should have an EL string that ends with ".makeCurrent". This however makes only sense for single row select cases.
    Frank

  • How to keep the field value in the forms for one week

    I have an application that when the user logs on to it , it shows all the documents that are in the current dept.
    the form has the following fields:
    document no
    sent date
    assigned to
    dep_LOV
    and a check box
    if a user clicks the check box and assignes the document to another dept by cliking the LOv then the assigned to field should be populated with the new value and the sent date should be today's date(sysdate). the requirment is that once the user assignes the documnet to certain depts (for example sales dept) the assigned to field and the sent date should show up in the form for one week and the user should be able to see that data in the form the next time she /he logs onto the application. the one week time is to make sure the documcnt has reached the assigned dept. after one week from today's date the updated assigned_to field and the document no should not display on the form. During the one week if the user logs on to the form again that particular document and the assigned to and sent to fields shoould be grayed out and shhould not be updatable. I will greatly appreciate any suggetion as of what to do to solve this problem. it is urgent. Pleade help

    -> so you are saying that I should have a block level post_query trigger and put the where clause in it?
    No. Post-query trigger runs AFTER the query has been executed, and it runs once for each row fetched. It is for other purposes, NOT for setting a where clause.
    -> Plus i want to be able to gray out the field once populated with the sales dept.I have come up with the following code:
    Your Set_item_instance_property is almost correct. And THAT line would go into the Post-Query trigger. This is what you might use:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy"> Set_item_instance_property ('docs.assigned_to',:system.trigger_record, Enabled,Property_False);</font></pre>
    Please watch your use of underscore, dashes, commas and parentheses: _ - , ( )
    The way to set your default where clause would be the following, and you should do it in the key-exeqry trigger, or someplace similar:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy"> set_block_property('DOCS', default_where,
    'NVL(sent_date,sysdate) >= sysdate-7' );
    Go_block('DOCS');
    Execute_Query;</font></pre>
    I used the NVL function so your select will show rows where sent_date is null OR sent_date has a value that is within 7 days prior to the current date.
    What is the field :docs.assigned_to used for? If you want to include ONLY rows that are assigned to a particular person, then your where clause might be:
    <pre><font face = "Lucida Console, Courier New, Courier, Fixed" size = "1" color = "navy"> 'assigned_to = :ctrl.assigned_to and NVL(sent_date,sysdate) >= sysdate-7' </font></pre>
    and you should have a control block with the assigned_to field in it, where the user can enter a value before querying the DOCS block.

  • Set a default value for a radio button populated with a List of value

    Hi,
    I am using jdeveloper 11.1.1.3.0. I need to set a default value for a radio button populated with a List of value(Yes/No). Here's the selectonechoice code.
    <af:selectOneRadio value="#{bindings.Code.inputValue}"
    label="#{bindings.Code.label}"
    required="#{bindings.Code.hints.mandatory}"
    shortDesc="#{bindings.Code.hints.tooltip}"
    id="sor1" autoSubmit="true"
    valuePassThru="true" layout="horizontal">
    <f:selectItems value="#{bindings.Code.items}" id="si1"/>
    </af:selectOneRadio>
    I want to have the selectonechoice set to No by default. In the previous versions, I set the default value in the base attribute VO. But it is not working in the new version.
    Thanks

    Hi,
    this should work in JDeveloper 11.1.1.3 the same as in 11.1.1.2. If it doesn't then it is better to file a bug than to work around it
    Frank

  • Checkbox item renderer populated with data from 2 sources

    I have a list object that has a check box and a label (using an inline item renderer).  The list itself is populated with an array of objects and whether the checkbox is selected takes those objects and adds them to another list (for outbound purposes).  Since the selected list can change elsewhere in my app how do I keep the binding of selections consistent?  The dataprovider for my checkbox list is the first array of objects and is binded, but the second one (selected array) is not.  What would be the best way to provide that binding to make sure the selected is consistent when the second array changes.  Some of the code is below to better show...
    <cms:HilightList
         id = "distributorList"
         width = "100%"
         height = "100%"
         drawHighlight="{ViewUtils.drawHighlightIndicator}"
         drawSelection="{ViewUtils.drawHighlightIndicator}"
         dataProvider="{pmDistributors.distributors}">
         <mx:itemRenderer>
              <mx:Component>
                   <mx:HBox>
                        <mx:CheckBox
                                           selected = "{outerDocument.isSelected(data)}"
                               change = "{outerDocument.handleSelectedChange(event)}"/>
                        <mx:Label text="{data.name}"/>
                   </mx:HBox>
              </mx:Component>
         </mx:itemRenderer>
    </cms:HilightList>
    public function isSelected(item:Object):Boolean
         var partner:Partner = item as Partner;
         var selected:Boolean = false;
         for each(var schedPartner:Partner in scheduleAssets.partners)
              if(schedPartner.id == partner.id)
                   selected = true;
         return selected;
    public function handleSelectedChange(event:Event):void
         var partner:Partner = event.currentTarget.parent.data as Partner;
              if(event.currentTarget.selected)
                   addPartnerEvent(partner);
              } else {
                   removePartnerEvent(partner);

    Hi Aakcse,
    In this condition, you need to make use of both the Precedence Constraint between Control Flow Tasks and the Conditional Split Transformation. Supposing you get the value in the flat file and store it in a variable via Script Task, you can create two Data
    Flow Tasks, and connect the Script Task to the two DFTs.
    For the Precedence Constraint between the Script Task and the Data Flow Task 1, set the “Expression and Constraint” expression to @[User::vEntryStatus]=="Y". And for the Precedence Constraint between the Script Task and the Data Flow Task 2, set the “Expression
    and Constraint” expression to @[User::vEntryStatus]=="N".
    In Data Flow Task 1, add a Conditional Split Transformation with this expression [Entry]==”YES”, and direct this output to the destination component. In Data Flow Task 2, also add a Conditional Split Transformation with expression [Entry]==”NO”, and direct
    the output to the destination component.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click here
    Mike Yin
    TechNet Community Support

  • Is this a bug? createdBy populated with value "1"

    I have a field in entity object mapped as historical column "createdBy". once I create a new record, this field populated as login user name. -- this works fine.
    However, after I specify this field "refresh after inserted/updated". this field populated with value "1" automatically once new record created. -- Is this a bug?
    BTW, the historical column "modifiedBy" does not have this problem.
    Thanks

    at javax.swing.JInternalFrame.setMaximum(JInternalFrame.java:890)
    at TestInterface.initComponents(TestInterface.java:48)What you posted there cannot be the entire contents of the method. According to the stack trace, your initComponents method, at line 48, calls the setMaximum method of some JInternalFrame object. However, the problem remains: Why a NullPointerException? It's possible there is a bug in the JVM, but that theory doesn't get your problem solved if it's true. And it's more likely (MUCH more likely for most of us) that it's a bug in your program. But what could that be? I looked at the API documentation for JInternalFrame.setMaximum and noticed this:
    "A maximized frame is resized to fully fit the JDesktopPane area associated with the JInternalFrame."
    I don't know how you would "associate" a JDesktopPane with a JInternalFrame, but possibly if you failed to do that, then references to the JDesktopPane would fail with a NullPointerException.

  • Searching Web Apps with Data Source fields containing multiple values

    I have a Web App with a field allowing multiple values to be entered similar to the checkbox list. I need to restrict allowed values to a large, finite list of values currently stored in another Web App as the data source. I can't apply the Data Source field type as that only allows single value selection. I also need to be able to use the Web App Search form to search for items containing 1 OR more values in this field (the search functionality of a checklist field type). Here's what I've tried for field types:
    Text (string) or Text (multiline) field type - By saving a list of comma separated values (the same way that checkbox list outputs) to a text input or textarea, the search logic only searches for exact string (including commas) and doesn't parse the individual values.
    List (checkbox list) field type - This allows me to search multiple values using OR logic, but the web app will only store values that have been entered as options in the actual web app field setup. I tried using a checkbox list with minimal or empty options hoping that whatever values I sent over in a comma separated string value would still get stored, but because the values came from my Web App data source and not the list of options stored with the field, they were not saved.
    Has anyone found a way to do this?
    My other question is about how I might use a similar multi-value field as described above but return search results containing items with ALL selected values for that field (AND logic).
    Can anyone enlighten me to the inner workings of BC web app search logic?

    Thanks Robert.
    You'll need to create your own interface to the webapp database for those kind of data operations
    by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
    I'm curious if anyone else has tried this?
    Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
    Web App item field value (as recorded against the List (Checkbox List) field type:
    8294877,8294878
    Web App Search value (for this same field):
    8294879,8294877,8294885
    The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
    The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets).

  • Grid Value in Delivery Schedule isn't populating with BAPI_PO_CREATE1

    Hi Gurus, hope you are doing well.
    I have a problem on my end.
    I am trying to create a Purchase Order using BAPI_PO_CREATE1. The special thing here is that I am using AFS Data.
    Everything is working fine, but the problem is that in Delivery Schedule tab in ME23N, there is a field called Grid Value. This field is not populating with the value that I specified into the ABAP code.
    Does any of you guys had this problem before?, Could you help me to solve it?
    Hope you gays can help me.
    Regards
    Jesus Martinez
    Mexico

    This is the ABAP Code that I am using for testing:
    REPORT  zme51n.
    DATA : t_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE .
    DATA: it_po_header LIKE bapimepoheader OCCURS 0 WITH HEADER LINE,
          it_po_headerx LIKE bapimepoheaderx OCCURS 0 WITH HEADER LINE,
          it_po_items LIKE bapimepoitem OCCURS 0 WITH HEADER LINE,
          it_po_itemsx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE,
          it_po_item_schedules LIKE bapimeposchedule OCCURS 0 WITH HEADER LINE,
          it_po_item_schedulesx LIKE bapimeposchedulx OCCURS 0 WITH HEADER LINE,
          it_afs_po_items LIKE /afs/bapimepoitem OCCURS 0 WITH HEADER LINE,
          it_afs_po_itemsx LIKE /afs/bapimepoitemx OCCURS 0 WITH HEADER LINE,
          it_afs_po_item_schedules LIKE /afs/bapimeposchedule OCCURS 0 WITH HEADER LINE,
          it_afs_po_item_schedulesx LIKE /afs/bapimeposchedulx OCCURS 0 WITH HEADER LINE.
    CLEAR it_po_header.
    it_po_header-doc_type = 'ZNB'.
    it_po_header-vendor = '0000001093'.
    it_po_header-doc_date = '20110221'.
    it_po_header-purch_org = '0201'.
    it_po_header-pur_group = '010'.
    it_po_header-comp_code = '0020'.
    it_po_header-suppl_plnt = ''.
    APPEND it_po_header.
    CLEAR it_po_headerx.
    it_po_headerx-doc_type = 'X'.
    it_po_headerx-vendor = 'X'.
    it_po_headerx-doc_date = 'X'.
    it_po_headerx-purch_org = 'X'.
    it_po_headerx-pur_group = 'X'.
    it_po_headerx-comp_code = 'X'.
    it_po_headerx-suppl_plnt = 'X'.
    APPEND it_po_headerx.
    CLEAR it_po_items.
    it_po_items-po_item = 10.
    it_po_items-material = '000000109206000052'.
    it_po_items-net_price = '212'.
    it_po_items-plant = '0220'.
    it_po_items-stge_loc = '0201'.
    it_po_items-trackingno = ''.
    it_po_items-item_cat = ''.
    it_po_items-preq_name =  'JMARTINEZ'.
    APPEND it_po_items.
    CLEAR it_po_itemsx.
    it_po_itemsx-po_item = 10.
    it_po_itemsx-material = 'X'.
    it_po_itemsx-net_price = 'X'.
    it_po_itemsx-plant = 'X'.
    it_po_itemsx-stge_loc = 'X'.
    it_po_itemsx-trackingno = 'X'.
    it_po_itemsx-item_cat = 'X'.
    it_po_itemsx-preq_name =  'X'.
    APPEND it_po_itemsx.
    CLEAR it_po_item_schedules.
    it_po_item_schedules-po_item = 10.
    it_po_item_schedules-sched_line = 1.
    it_po_item_schedules-del_datcat_ext = '1'.
    it_po_item_schedules-delivery_date = '20110221'.
    it_po_item_schedules-quantity = '636'.
    APPEND it_po_item_schedules.
    CLEAR it_po_item_schedulesx.
    it_po_item_schedulesx-po_item = 10.
    it_po_item_schedulesx-sched_line = 1.
    it_po_item_schedulesx-del_datcat_ext = 'X'.
    it_po_item_schedulesx-delivery_date = 'X'.
    it_po_item_schedulesx-quantity = 'X'.
    APPEND it_po_item_schedulesx.
    CLEAR it_afs_po_items.
    it_afs_po_items-po_item = 10.
    it_afs_po_items-afs_flag = 'X'.
    APPEND it_afs_po_items.
    CLEAR it_afs_po_itemsx.
    it_afs_po_itemsx-po_item = 10.
    it_afs_po_itemsx-po_itemx = 'X'.
    APPEND it_afs_po_itemsx.
    CLEAR it_afs_po_item_schedules.
    it_afs_po_item_schedules-po_item = 10.
    it_afs_po_item_schedules-sched_line = 1.
    it_afs_po_item_schedules-sch_size = '00W9'.
    it_afs_po_item_schedules-ordered_qty = '636'.
    it_afs_po_item_schedules-quantity_s = '636'.
    APPEND it_afs_po_item_schedules.
    CLEAR it_afs_po_item_schedulesx.
    it_afs_po_item_schedulesx-po_item = 10.
    it_afs_po_item_schedulesx-sched_line = 1.
    it_afs_po_item_schedulesx-sch_size = 'X'.
    it_afs_po_item_schedulesx-po_itemx = 'X'.
    it_afs_po_item_schedulesx-sched_linex = 'X'.
    it_afs_po_item_schedulesx-quantity_s = 'X'.
    APPEND it_afs_po_item_schedulesx.
    CALL FUNCTION 'BAPI_PO_CREATE1'
      EXPORTING
        poheader                     = it_po_header
        poheaderx                    = it_po_headerx
    TABLES
       return                       = t_return
       poitem                       = it_po_items
       poitemx                      = it_po_itemsx
       poschedule                   = it_po_item_schedules
       poschedulex                  = it_po_item_schedulesx
      POCONDHEADER                 =
      POCONDHEADERX                =
      POCOND                       =
      POCONDX                      =
       afs_poitem                   = it_afs_po_items
       afs_poitemx                  = it_afs_po_itemsx
       afs_poschedule               = it_afs_po_item_schedules
       afs_poschedulex              = it_afs_po_item_schedulesx
      AFS_POCOND                   =
      AFS_POCONDX                  =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = 'X'.
    LOOP AT t_return.
      WRITE t_return-message.
    ENDLOOP.

  • Pre-populating forms with radio button values

    I have been pulling my hair out trying to figure out why my action page is not being pre-populate with the value that is passed from the radio button selection. Can get my hands around what I am actually doing wrong. I have changed my code several times and can not keep up with any more. So below, I have included the main page and the action page that needs to be pre-populated with the data from the database. Thank you in advance for you help and time.
    MAIN.cfm
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <!--- Declare and initialize the variables
    --->
    <cfset today = DateFormat(Now(),"mmmm d, yyyy")>
    <cfset current_time = TimeFormat(Now(),"h:mm tt")>
    <cfset application_name = "Corporate Intranet Directory">
             <cfset current_url ='http://'& #CGI.SERVER_NAME# & ':'& #CGI.SERVER_PORT# & #CGI.SCRIPT_NAME#>
    <cfset current_browser = #CGI.HTTP_USER_AGENT#>
    <html>
    <head>
    <title>Employee Directory</title>
    </head>
    <!--- Included heading for the page--->   
    <h1>Employee Directory</h1>
    <body>
    <!--- Display the today date and the current time--->
    <cfoutput>Today's date is #today#</cfoutput><br>
    <cfoutput>The current time is #current_time#</cfoutput><p>
    <!---Display the URL and Browser used for the template --->
    <p><cfoutput>URL of this template: #current_url#</cfoutput>
    <cfoutput>Browser used: #current_browser#</cfoutput></p>
    <!---Insert a field to have the user search by email address --->
    <tr bgcolor = "yellow">
    <td>Search</td>
    </tr><br>
    Email: <input type="text" name="EmailAddress"
    size="20" maxlength="100"><br>
    <input type="Submit" value="Search"><p>
    <!--- Query the Employees table to find the employee who's ManOfTheYear is set to "YES"--->  
    <cfquery name="employeeOfTheMonth" datasource="Directory">
        select
                e.FirstName,
                    e.LastName
                from
                Employees e
                where
                e.ManOfTheMonth = 'Yes'
            </cfquery>             
    <!--- Query the Employees and Departments tables to find employee's First Name, Last Name, Title, Phone Extension, Email Address, and Department Name--->      
    <cfquery name="employees" datasource="Directory">
    select
    e.EmployeeID,
    e.FirstName,
    e.LastName,
    e.Title,
                    e.PhoneExtension,
                    e.EmailAddress,
                    d.DepartmentName,
    d.DepartmentID
    from
    Employees e,
                    Departments d
                where
                e.DepartmentID = d.DepartmentID
    </cfquery>
    <table border="2" bordercolor="blue">
    <!--- Display the Employee of the Month--->   
              <cfoutput query="employeeOfTheMonth">
    <tr>
                <th align="center" colspan="5">Employee of the Month: #employeeOfTheMonth.FirstName# #employeeOfTheMonth.LastName# </th>
                </tr>
                </cfoutput>
                <tr>
    <th>ID</th>
    <th>Name</th>
    <th>Title</th>
    <th>Department</th>
    <th>Phone Extension</th>
                    <th>Email</th>
    </tr>
    <!--- Display the First Name, Last Name, Title, Department Name, Phone Extension, and Email Address--->   
    <form action="admin3.cfm?EmployeeID=#EmployeeID#" method="post">
    <cfoutput query="employees">
    <cfswitch expression="#DepartmentID#">
        <cfcase value="1">
           <cfset backgroundcolor="00FFFF">
       </cfcase>
    <cfcase value="2">
           <cfset backgroundcolor="ff6699">
       </cfcase>
    <cfcase value="3">
           <cfset backgroundcolor="99ff99">
       </cfcase>
    <cfcase value="4">
           <cfset backgroundcolor="ffcc99">
       </cfcase>
    <cfcase value="5">
           <cfset backgroundcolor="cc99ff">
       </cfcase>
        <cfdefaultcase>
            <cfset backgroundcolor="red">
        </cfdefaultcase>
    </cfswitch>
    <tr bgcolor=#backgroundcolor#>
    <td><input type ="radio" name="EmployeeID" value="#employees.EmployeeID#"</td>
    <td><a href="http://localhost:8500/spiderbytes/assignments/employee_details.cfm?EmployeeID=#EmployeeID#"> #employees.FirstName# #employees.LastName#</td>
    <td>#employees.Title#</td>
                    <td>#employees.DepartmentName#</td>
    <td>#employees.PhoneExtension#</td>
                        <td>#employees.EmailAddress#</td>
    </tr>
    </cfoutput>
    <tr>
    <!--- Display the number of employee's in the directory--->
    <td align="right" colspan="5"><cfoutput>#employees.recordCount# Employee(s) found.</cfoutput></td>
    </tr>
    </table>
    <input type="Submit" name="Action" value="Add New Employee">
    <input type="Submit" name="Action" value="Edit Employee">
    <input type="Submit" name="Action" value="Delete Employee"><p>
    </form>
    <!--- Include a footer --->
    <CFINCLUDE template="footer.cfm">
    </body>
    </html>
    ADMIN.cfm
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Add New Employee</title>
    </head>
    <body>
    <CFIF ISDEFINED("Action")>
    <!--- Use the "Action" variable to display the same name as a heading --->
    <h1><CFOUTPUT>#Action#</CFOUTPUT></h1>
    <!--- Determine if the user select Edit Employee or Delete Employee --->
    <CFIF Action IS "Edit Employee" OR Action IS "Delete Employee">
    <!--- Query the database to get the data for current employee the user
    selected--->
    <cfquery name="DisplayEmployeeRecord" datasource="Directory">
    SELECT *
    FROM Employees
    Where EmployeeID = #EmployeeID#
    </cfquery>
    <cfoutput query="DisplayEmployeeRecord">
    <cfset variable.EmployeeID = "#EmployeeID#">
    <cfset variable.FirstName = "#FirstName#">
    <cfset variable.LastName = "#LastName#">
    <cfset variable.DepartmentID = "#DepartmentID#">
    <cfset variable.Title = "#Title#">
    <cfset variable.Salary = "#Salary#">
    <cfset variable.PhoneExtension = "#PhoneExtension#">
    <cfset variable.HomeAddress = "#HomeAddress#">
    </cfoutput>
    </CFIF>
    <form action="query.cfm" method="post">
    <table border="2">
    <!--- Server-Side Validation - First Name, Last Name, Department, and and Email Address are required
    fields --->
    <input type="hidden" name="EmployeeID_required" value="First Name is
    a required field">
    <input type="hidden" name="FirstName_required" value="First Name is
    a required field">
    <input type="hidden" name="LastName_required" value="Last Name is
    a required field">
    <input type="hidden" name="DepartmentID_required" value=" Department ID is
    a required field - Please fill in the coorsponding Department ID for the employee">
    <input type="hidden" name="EmailAddress_required" value="Email Address is
    a required field">
    <!--- Create a table for the names of the fields and the textbox --->
    <tr>
    <td>
    First Name (required): </td>
    <td><input type="Text"
    name="FirstName" size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Last Name (required): </td>
    <td><input type="Text" name="LastName"
    size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Department Number (required): </td>
    <td><input type="Text"
    name="DepartmentID" size="35" maxlength="4"><br></td>
    </tr>
    <tr>
    <td>
    Title: </td>
    <td><input type="Text"
    name="Title" size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Salary: </td>
    <td><input type="Text" name="Salary"
    size="35" maxlength="10"><br></td>
    </tr>
    <tr>
    <td>
    Email (required): </td>
    <td><input type="Text" name="EmailAddress"
    size="35" maxlength="35"><br></td>
    </tr>
    <tr>
    <td>
    Work Phone: </td>
    <td><input type="Text" name="PhoneExtension"
    size="35" maxlength="10"><br></td>
    </tr>
    <tr>
    <td>
    Address: </td>
    <td><input type="Text" name="HomeAddress"
    size="35" maxlength="50"><br></td>
    </tr>
    <!--- Adds the new employee to the Directory database---> 
    <tr>
    <th align "center" colspan ="2">
    <br><input type="Submit" name="Action" value="<cfoutput>#Action#</cfoutput>">
    </th>
    </tr>
    </table>
    </form>
    <!--- Include a footer --->
    <CFINCLUDE template="footer.cfm">
    </body>
    </html>
    </CFIF>

    Thanks for your reply.  The radio button was placed inside the anchor so that when the user selects that employee, it will pre-populate the from base upon the "Action" selected (i.e. Edit Employee and Delete Employee).  I quite sure this can be done with out using javascript.  I know that I accomplish this by using a drop-down list, but I would like to use the radio buttons instead because I would have to change my code.
    Here is the  code with the radio button:
    <tr bgcolor=#backgroundcolor#>
    <td><input type ="radio" name="EmployeeID" value="#employees.EmployeeID#"</td>
    <td><a href="http://localhost:8500/spiderbytes/assignments/employee_details.cfm?EmployeeID=#EmployeeID#"> #employees.FirstName# #employees.LastName#</td>
    <td>#employees.Title#</td>
                    <td>#employees.DepartmentName#</td>
    <td>#employees.PhoneExtension#</td>
                        <td>#employees.EmailAddress#</td>
    </tr>
    Here is are some ways that I coded my form action is coded:
    <form action="admin3.cfm" method="post">  OR
    <form action="admin3.cfm?EmployeeID =# EmployeeID#" method="post">

  • Populating the Correlations ID with your ovn values /

    HI,
    I am sending af message to a MQ queue using an JMs adapter. When opening the the message  on the  MQ queu there is a field named  corelation ID ( MQMD> identifiers> Correlation ID ).
    Is it possible to populate this field with your ovn values, ? 
    regards.
    Ugur

    Hi ,
    These are static values which we set up in the communication channel. I think we cannot set dynamic values for JMS.
    Regards,
    SD

  • CreateInsert and LOV with multiple return values

    HI. I am on Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
    I have a View Object which is based on Entity Object.
    View Object has customer_name and customer_id attributes.
    customer_name attribute has LOV (input field with LOV) based on some other View Object (which of caurse holds customer name and customer id data)
    I defined that when LOV return the chosen values it will populate customer_name with "Customer Name" value and customer_id with "Customer Id" value
    All atributes are updatable
    I droped my View Object on the page and also "CreateInsert" buton. When I click on "CreateInsert" button, I can see new row added as expected, customer_name field has LOV. I can choose from LOV and can see customers and customer_id data. But when I click OK in the LOV pop-up only customer_name attribute is populated!
    I do see that customer_id is returned from LOV (I implemented ReturnPopupEvent listener), but still the customer id remains empty.
    I though maybe I need to add LOV as auto submit = true and set LOV to be a partial trigger for customer_id. But still  - it didn't help
    However, if I run Application Module tester, I do get what I want. I can create new row and when I change customer name , both customer name and customer id fields are populated
    Please advice

    Hi Michael,
    On Lov VO, make sure you have at least one or combination of attributes as Key attribute. and re test.
    Thanks,
    Jeet

  • How to populate right side of Shuttle with display/return values?

    Hello,
    I know, that the proper way to populate the right side of shuttle is that:
    declare
         v_list     apex_application_global.vc_arr2;
    begin
         select profile_name return_value
           bulk     collect
           into     v_list
           from     user_profiles
          where     user_id = :p61_user_id;
         return (apex_util.table_to_string (v_list));
    end;It is comfortable for the user to see the name of the profile.
    However, I need a profile_id as a return value, like I have it on the left side of the shuttle.
    The left side of the shuttle is populated with a select list with display/return values, as you know.
    I need both sides of the shuttle to return profile_id in order to create a merge.
    How is it possible to populate the right side of the Shuttle with display/return values?

    All you have to do is to use the subset of shuttle query to assign value to the right side shuttle.
    http://apex.oracle.com/pls/apex/f?p=50942:95
    I have created a dummy page with shuttle query
    SELECT ename, empno FROM emp ORDER by 1then I have defined a pl-sql before header process to assign values to shuttle variable
    using the code
    begin
    :P95_SHUTTLE := '7566:219:7900:7782:90';
    end;since 90 is not one the result set of the shuttle query it is getting displayed as number, and for others it is displaying the text. Thanks.
    --Manish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to show shuttle component pre-populated with  SelectedItems

    Well i am trying to get this thing working and literally failed many times.. once the user selects some items in a shuttle... i want to get the selected values and store it somewhere.. Next time when the user logs in for second time the Shuttle should be
    pre - populated with the previously selected items .Can anybody suggest me and guide me about how to get this thing working...
    Please if anyone from oracle Jdeveloper team can show some light on it ...

    Hi,
    assuming the code hasn't changed between 10.1.3 and 11, you can have a look at these examples
    http://thepeninsulasedge.com/frank_nimphius/2007/07/15/adf-faces-adf-faces-shuttle-with-pre-selected-values-from-a-selectoncechoice/
    Let me know in case the code has changed
    Frank

  • Mapping problem with Multiple destination values

    Hi,
    I recently started to work on SAP MDM as a beginner. I am posting this message to get some help to solve the problems that I encountered as I run the SAP.
    For example, we can sub-categorize a 'Product' as Food>ProcessedFood>Frozen Food>Pizzas'. However, notice that there exist the sameNode name under the 'Commodity' as following two categories show.
    Product>Food>Processed Food>Frozen Food>Pizzas
    Commodity>Food>Processed Food>Frozen Food>Pizzas
    The Node name, 'Pizzas', under two different categories has fewattributes such as A, B, C, and D. When I tried mapping these attributes at Map Field/Values Tab under the import manager, I ended up getting warning messages due to the overlapping.
    The message says "One or more of the source values were mapped to multiplz destination values. Some of the mapped destination values may need to be unmapped before performing the import."
    Does anyone have an idea to solve this overlapping problem?
    I will really appreciate your answer.
    Edited by: coolpsy on Jun 8, 2010 4:27 AM
    Edited by: coolpsy on Jun 8, 2010 7:55 AM

    Hi,
    As per my understanding, there are two categories as shown by you
    Product>Food>Processed Food>Frozen Food>Pizzas
    Commodity>Food>Processed Food>Frozen Food>Pizzas
    and you want to link Attributes with specific correct Category say Product not with Commodity. So in order to avoid overlapping, try using option Split Hierarchy. For more details Please refer below Article: refer page 11-15/20
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/308c62a2-5faa-2a10-fda6-fa4aa7169734?quicklink=index&overridelayout=true
    Also refer, http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6090d0bd-1da7-2a10-468f-bdd17badb396?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8090941f-a5a7-2a10-3ba6-b4af5ec6d97b?quicklink=index&overridelayout=true
    Just check and revert with Result if it helps..
    Regards,
    Mandeep Saini

  • Mapping Help for replacing source value

    Mapping Help for replacing source value
    Posted: Mar 14, 2006 1:06 AM    Reply 
    Hi all,
    I am unable to do transform the source value to required target value,
    From Source ADDRESS_TYPE = 'HOME' should be replaced with 03 to target field ANSSA, and 'MAIL' to be replaced with 05, I am trying to do it but i am unable to handle it, please give u r valuable suggestions,
    The source structure is like this,
    - <Event ID="239" TRANS_TYPE="ADR">
    <PersAddr GEO_LOC_CD="US" EMPLID="29" ADDRESS_TYPE="HOME" EFFDT="02/15/2006" ADDRESS1="92nd Floor" ADDRESS2="812backstreet" ADDRESS3="" ADDRESS4="" CITY="London" COUNTY="" STATE="AN" POSTAL="EC2N 4AG1" COUNTRY="GBR" KEY1="29" KEY2="HOME" KEY3="02/10/2006" />
    <PersAddr GEO_LOC_CD="US" EMPLID="29" ADDRESS_TYPE="MAIL" EFFDT="02/15/2006" ADDRESS1="92nd Floor" ADDRESS2="812backstreet" ADDRESS3="" ADDRESS4="" CITY="London" COUNTY="" STATE="AN" POSTAL="EC2N 4AG1" COUNTRY="GBR" KEY1="29" KEY2="MAIL" KEY3="02/10/2006" />
    </Event>
    REGARDS,
    sridhar

    Hi,
    This can be done using user-defined function as well.
    Code the function as...
    if(Addr_Type.equals("HOME"))
       return "03";
    else if(Addr_Type.equals("MAIL"))
       return "05";
    else
       return "Invalid Address Type";
    Here, Addr_Type is Input String Argument for this function.
    Map this function between ADDRESS_TYPE and ANSSA.
    Regards,
    Uma

Maybe you are looking for

  • How can I print without color?

    How can I print without my color cartridge in my printer, I have a HP Deskjet 3510. I cant find only print in black in white in the setting on my printer.

  • Windows 7 on Boot Camp with regular Leopard (10.5.8)?

    Hi all, I have a MacBook Pro from Late 2006 (I think, based on the serial number...) and I want to install Windows 7 on it via Boot Camp.  I think this should work, but I only have Leopard (10.5.8) and not Snow Leopard, does anyone know if this will

  • Custom Workflow Activities on diferente languages sites

    Hello everyone, I've developed some custom workflow activities on VS, and they are all working correctly on all sites of the default language (English). My problem now is that I've installed another language pack (Portuguese) and created several site

  • Corrupt Database?

    Hello, We use Lookout 5.1 and plot elapsed time and accumulators on Hypertrends.  Under some unknown circumstance (maybe it was a print command?), part of the program malfuctions and the Hypertrends look all messed up.  Further investigation finds th

  • Important steps while undergoing SAP NetWeaver 7.01 - ABAP Trial installati

    Please provide me the important steps and pre-requisites for installing SAP NetWeaver 7.01 - ABAP Trial Version that I have downloaded from SDN itself. I am having Vista Basic in my laptop with 1GB RAM ,120 GB harddisk and dual core processor.