How to make a record uneditable

I have a table that contains records that are effective dated. If the record is effective I don't want any field to be modified except for the termination date. I thought I could do this by disabling the elements, but you can change the effective date and that will enable all of the elements again. Does anyone have any ideas on how I can do this? I would like to do this using apex and not a trigger. My goal is to develop applications that pull data from different databases using web services. I still have a long way to go. I’m also not that familiar with APEX. I’m still trying to learn as I go.
Thanks,

use $x_Hide('PX_EFFECTIVE_DATE_IMG'); this will hide the date picker beside the item in the page header

Similar Messages

  • How to make a record. Of the one phone call to keep it, How to make a record. Of the one phone call to keep it

    Poleasse someone can to help me, i want. To know how to make a phone call and record it 

    gabriellafrombologna wrote:
    how to make a backup of the whole content of iPhone: calendar, notes, contacts, iExpenses,......and also many other app I bought?
    Sync the phone with your computer.  That's what it's for.

  • How to make a record as Non Updatable

    Hi all
    I want to make the whole record(multi record block) as non updatable. My condition is, I have one status field in the base table block, when I query the form if the "status" field containing value 'Y', the user should not be able to update any item in the record. How to acheive the functionality?
    Thanks in advance
    ram.

    Hi,
    Have you tried using the set_item_instance_property('',update_alowed,..) built_in in the when_new_record_instance trigger on the block level?
    You can check there the :block.status field,and set the item instances in that record to non updatable.

  • How to make few records editable in oracle ADF form.

    Hi,
    I am working on one scenario. here, we are sending few records to user in an ADF task form, using BPEL Human task. Now, the requirement is to put a checkbox in each row and enable that particular row-fields for editing purpose.
    please respond if there is a way to put any condition in check box design to enable row-data for editing.
    thanks,
    rps

    Hi,
    actually to implement check boxes in front of a table you need some sort of transient field that can keep persistence. One way of achieving this is to wrap the BPEL service in a WS proxy client and create a POJO DC from it. This then allows you to add an additional field to implement a solution similar to this in ADF BC
    http://sameh-nassar.blogspot.com/2009/12/use-checkbox-for-selecting-multiple.html
    Because ADF Faces tables are stamped upon rendering, rows arent created with instances of the cell renderer. For this reason you need to keep track of the select state in the model, which you can do using a transient attribute, which then makes sure the select information is part of the row object. So similar as today, you would parse the available rows but - before changing the update state - check if the user intended the update
    Frank

  • How to make cursor record/variable dynamic or substitute variable

    Hi
    I have couple of cursor records define in my PL/SQL procedures, they are all same structure type.
    For example
    C_rec_1 c_currsor%ROWTYPE;
    C_rec_2 c_currsor%ROWTYPE;
    C_rec_3 c_currsor%ROWTYPE;
    C_rec_4 c_currsor%ROWTYPE;
    C_rec_5 c_currsor%ROWTYPE;
    C_comm_rec c_currsor%ROWTYPE;
    BEGIN
    fetch .... into C_rec_1;
    fetch .... into C_rec_2;
    fetch .... into C_rec_3;
    fetch .... into C_rec_4;
    fetch .... into C_rec_5;
    IF c_rec1.dept = 100 then
    C_comm_rec := c_rec1;
    END IF;
    IF c_rec2.dept = 100 then
    C_comm_rec := c_rec2;
    END IF;
    IF c_rec3.dept = 100 then
    C_comm_rec := c_rec3;
    END IF;
    IF c_rec4.dept = 100 then
    C_comm_rec := c_rec4;
    END IF;
    IF c_rec5.dept = 100 then
    C_comm_rec := c_rec5;
    END IF;
    Here rather than coding 5 IF statement, Can I make c_rec_? dynamic?
    Something like but this does not work :)
    For i IN 1..5 loop
    If c_rec_&l = 100 then
    C_comm_rec := c_rec5;
    End if
    End loop;
    END;

    Hi Jaun,
    You have to go CMOD  Transaction .
    Create a project  and then write code in the exit EXIT_SAPLRRS0_001.
    there is include
    INCLUDE ZXRSRU01  double click on it and write code like below.
    Coding for Variable
        WHEN 'ZTES'.     YOUR variable name
    if     i_step = 1
          l_s_range-LOW = sy-datum +0(6).
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
    Hope this will help you.
    Regards
    vikas saini

  • How to make mono recording play both left and right channels

    I have an old mono recording that plays only on the left channel. How can I copy it to play on the right so I'll hear it on both channels? I put it on itunes and then tranferred it to Garageband in hope I could finally get it to play on both channels. I've tried everything in Garageband and nothing works. It seems simple to me, just duplicate the one channel to the other. Garageband says if you use the compressor it will play in both channels, but it won't. Any ideas? It's a recording from a band I was in back in 1966. We used state of the art reel to reel but it was mono! All these years I've tried to figure how to fix it. Thanks

    I already recorded it from the tape to CD Spin Doctor through the line in and as I said it only comes out on the left channel. So then it's on itunes and I then transfer it to Garageband but it still is only on the left channel.I guess I could do this the old fashion way and get a mono plug to re-record to Spin doctor but in this day and age of sophisticated computer software I thought there may be an easier way. I guess I wasted my money thinking Garage band would help me edit this recording. Oh well, such is life!!!!

  • How to make a recording pause | cómo pausar una grabación

    Hola, quisiera saber cuál es el botón para pausar una grabación en el Iphone 4 he intentado de todo pero lo único que hace es detener el video y grabar uno nuevo. ¿Alguien sabe cómo hacerlo?
    Hello, I would like to know what the button to pause a recording in the iPhone 4, I tried everything but all it does is stop the video and record a new one. Does anyone know how to do?

    You can't pause a recording, only start and stop it.
    You could always get a app like iMovie to stitch them together though.

  • How to make some rows uneditable

    Hi All,
    I need to make some of the rows as un editable while the other rows should be allowed for edition.
    This issue was already posted in forum and was successfully resolved.
    But since i never worked on this, i need to know how to go ahead with this.
    Awaiting an early and positive response.
    Thanks in advance
    Upendra

    Hi Mani / Vikram,
    I really dont know about which table i am using.
    I can explain my problem in detail.
    I hope you know about Oracle Time and Labor -> Time entry OA Pages.
    We are using self service timecard in which our timecard layout is Projects timecard layout.
    When we select a timecard that was already entered for a particular period and when we try to edit it, we can edit all the time hours entered for all projects.
    But my requirement is that once the time is entered against particular projects, it should not be allowed for edition.
    I can provide all the details, if any, you required in this regard.
    Thanks in advance
    Upendra

  • How to make Sound Recording ?

    I would like to record tel conversations, is this possible with an app ?
    The app should work for both iPhone and Android Smart Phone

    no one has answered me yet, it must mean they did not understand my question.
    anyhow, i have been playing with effects and have found that i could you Mastering - Vocal Touch UP and Convolution Reverb - Dreamscape to get my vocal song to sound a bit nicer.
    If you do have some other suggestions, please do share.
    thanks

  • How to make a column uneditable

    Hye,
    I want to creat a table with 2 columns:
    the first column shouldn't be editable, where the 2nd is,
    I found how I can dim the whole table but not how to dim a column.
    how can I do so?
    thanks in advance,
    Aj.
    Amit Joseph,
    Software Engineer
    Solved!
    Go to Solution.

    Thanks for a quick response and for the help. 
    Amit Joseph,
    Software Engineer

  • Need Help :  How to make particular Record  in Bold

    Hi Frnds,
    I am facing the problem to resolve the following issue....... Plz... help me out .........
    I am displaying the payslip information (Elements Information ) in a Table.
    In the table , i am showing the "DEDUCTIONS TOTAL"  , "EARNING TOTAL" and "NET PAY"
    Now, i have to display the DEDUCTIONS TOTAL, EARNINGS TOTAL  AND NET PAY in BOLD
    plz... help me out .........
    Regards,
    Jaya

    Hello
    did you try to use EL in the Attribute inlineStyle of the cell you want to style:
                              inlineStyle="#{row.Salary.value>200?'color: Red; background-color: Green; font-size: 30pt; font-weight: bolder;':''}"
    here is the full page script to display data from employees table in HR schema:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <f:view>
      <afh:html>
        <afh:head title="untitled1">
          <meta http-equiv="Content-Type"
                content="text/html; charset=windows-1252"/>
        </afh:head>
        <afh:body>
          <af:messages/>
          <h:form>
            <af:table value="#{bindings.EmployeesView1.collectionModel}" var="row"
                      rows="#{bindings.EmployeesView1.rangeSize}"
                      first="#{bindings.EmployeesView1.rangeStart}"
                      emptyText="#{bindings.EmployeesView1.viewable ? \'No rows yet.\' : \'Access Denied.\'}">
              <af:column sortProperty="EmployeeId" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.EmployeeId}">
                <af:inputText value="#{row.EmployeeId}"
                              required="#{bindings.EmployeesView1.attrDefs.EmployeeId.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.EmployeeId.displayWidth}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.EmployeesView1.formats.EmployeeId}"/>
                </af:inputText>
              </af:column>
              <af:column sortProperty="FirstName" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.FirstName}">
                <af:inputText value="#{row.FirstName}" simple="true"
                              required="#{bindings.EmployeesView1.attrDefs.FirstName.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.FirstName.displayWidth}"/>
              </af:column>
              <af:column sortProperty="LastName" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.LastName}">
                <af:inputText value="#{row.LastName}" simple="true"
                              required="#{bindings.EmployeesView1.attrDefs.LastName.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.LastName.displayWidth}"/>
              </af:column>
              <af:column sortProperty="Email" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.Email}">
                <af:inputText value="#{row.Email}" simple="true"
                              required="#{bindings.EmployeesView1.attrDefs.Email.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.Email.displayWidth}"/>
              </af:column>
              <af:column sortProperty="PhoneNumber" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.PhoneNumber}">
                <af:inputText value="#{row.PhoneNumber}" simple="true"
                              required="#{bindings.EmployeesView1.attrDefs.PhoneNumber.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.PhoneNumber.displayWidth}"/>
              </af:column>
              <af:column sortProperty="HireDate" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.HireDate}">
                <af:inputText value="#{row.HireDate}"
                              required="#{bindings.EmployeesView1.attrDefs.HireDate.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.HireDate.displayWidth}">
                  <f:convertDateTime pattern="#{bindings.EmployeesView1.formats.HireDate}"/>
                </af:inputText>
              </af:column>
              <af:column sortProperty="JobId" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.JobId}">
                <af:inputText value="#{row.JobId}" simple="true"
                              required="#{bindings.EmployeesView1.attrDefs.JobId.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.JobId.displayWidth}"/>
              </af:column>
              <af:column sortProperty="Salary" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.Salary}">
                <af:inputText value="#{row.Salary}"
                              required="#{bindings.EmployeesView1.attrDefs.Salary.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.Salary.displayWidth}"
                              inlineStyle="#{row.Salary.value>200?'color: Red; background-color: Green; font-size: 30pt; font-weight: bolder;':''}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.EmployeesView1.formats.Salary}"/>
                </af:inputText>
              </af:column>
              <af:column sortProperty="CommissionPct" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.CommissionPct}">
                <af:inputText value="#{row.CommissionPct}"
                              required="#{bindings.EmployeesView1.attrDefs.CommissionPct.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.CommissionPct.displayWidth}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.EmployeesView1.formats.CommissionPct}"/>
                </af:inputText>
              </af:column>
              <af:column sortProperty="ManagerId" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.ManagerId}">
                <af:inputText value="#{row.ManagerId}"
                              required="#{bindings.EmployeesView1.attrDefs.ManagerId.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.ManagerId.displayWidth}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.EmployeesView1.formats.ManagerId}"/>
                </af:inputText>
              </af:column>
              <af:column sortProperty="DepartmentId" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.DepartmentId}">
                <af:inputText value="#{row.DepartmentId}"
                              required="#{bindings.EmployeesView1.attrDefs.DepartmentId.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.DepartmentId.displayWidth}">
                  <f:convertNumber groupingUsed="false"
                                   pattern="#{bindings.EmployeesView1.formats.DepartmentId}"/>
                </af:inputText>
              </af:column>
              <af:column sortProperty="DeptName" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.DeptName}">
                <af:inputText value="#{row.DeptName}" simple="true"
                              required="#{bindings.EmployeesView1.attrDefs.DeptName.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.DeptName.displayWidth}"/>
              </af:column>
              <af:column sortProperty="EmpVideo" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.EmpVideo}">
                <af:inputText value="#{row.EmpVideo}" simple="true"
                              required="#{bindings.EmployeesView1.attrDefs.EmpVideo.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.EmpVideo.displayWidth}"/>
              </af:column>
              <af:column sortProperty="Nationality" sortable="false"
                         headerText="#{bindings.EmployeesView1.labels.Nationality}">
                <af:inputText value="#{row.Nationality}" simple="true"
                              required="#{bindings.EmployeesView1.attrDefs.Nationality.mandatory}"
                              columns="#{bindings.EmployeesView1.attrHints.Nationality.displayWidth}"/>
              </af:column>
            </af:table>
          </h:form>
        </afh:body>
      </afh:html>
    </f:view>
    Best Regards,
    Ahmad Al-Zamer

  • How to make an checkbox editable and uneditable within a single alv output.

    Hi,
    How to make an checkbox editable and uneditable within a single alv output depending on condition.
    I have used Reuse_alv_grid_display.
    In my output every checkbox is editable. i have used edit = 'X'.
    I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv

    >
    Mukilansap wrote:
    > I want editable checkbox for correct value and uneditable checkbox for incorrect value in a single alv
    Use alv styles to achieve this, set the style for each record before displaying the ALV. Structure LVC_S_STYL.
    Take a look at the example BCALV_EDIT_02, it is OOPS based, but check how the style table is filled.
    regards,
    Advait

  • How to make use of iPhone to do recording?

    Hi,
    how to make use of iPhone to be a recording device for vocal?

    The Voice Memos app included with the iPhone is the best and only way to make use of the iPhone for recording with included apps, which is also free since it is included by Apple with the iPhone. And recordings made with the Voice Memos app are synced with your iTunes library on your computer - transferred to your iTunes library on your computer when syncing your iPhone with iTunes.

  • How to make checkbox uneditable

    I have a problem about how to make checkbox uneditable.
    1. the checkbox DO not respond to user mouse click
    2. and the text company with checkbox is not greyed.
    setenable is not i wanted, because 2 is not satisfied
    thanks in advanced.

    If I understand the question, then my replies in this thread should help you out:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=122112

  • How to make a single record datablock?

    Hi all,
    I got a data-entry form (9i) that will input a record one at a time and commit before entering another record.
    I try to set the block as single-record to yes but it gives error, and after checking with help, I understand that it can not work with database data block.
    Is there any idea on how to make the data block to show only one record? The problem is that after entering some data on the record, sometime the data-entry clerk may push the arrow-key that make form shows the next record items, which will be empty, and this will confuse the clerk!
    Thank you for your help.

    Add Triggers KEY-UP(DOWN, NXTREC, PRVREC...) to the following effect:
    NULL;
    or
    NEXT (PREVIOUS) _ITEM;                                                                                                                                                                                                                            

Maybe you are looking for

  • Problem with IDoc scenario - IDocs do not aarive to XI

    Hi guys! I have a problem with IDoc->XI->File scenario. Colleagues send IDocs from R/3 and they are not in the XI. In R/3 they look like if they were correctly sent, however, I can not see them in sxmb monitor. BUT, when they send them again explicit

  • Display issue in car with 3.1

    Prior to upgrading to 3.1, when I used my iPhone in the car to play music, I noticed the following (the iPhone is connected to a Kensington LiquidAux, which provides charging and an output to to aux-in jack in the car): - when I start playing music,

  • My ipod touch want connect to my wifi

    My ipod touch want connect to my wifi

  • Want to use transaction type

    Hi,   Enter another transaction type (Transaction type . does not exist) Message no. AA816 Diagnosis According to your entry or specification, you want to use transaction type .. However, this transaction type has not been defined. Procedure Check th

  • PS Elements 12 - Unable to Bevel & Emboss / chisel hard

    Hi, I am using PS Elements 12  and I am unable to Bevel & Emboss / chisel hard. (I am trying to create metallic font) See point 12 below; Metal Text Effect In Photoshop How do I complete this task on PS 12? The structure and shading dialog boxes are