Update of a particular line of VO

Hello

We have a requirement where we update a record in a table when the click on the button Save. This page has a few records of 8000-9000. We can afford to reload the page whenever we update a particular record in the table.

To update a record in the table, select the button for that record. We then make changes to LOV (say STATUS) which is not a part of the table and click on the button Save. We want the new 'status' selected to get reflected in the table for that particular record.

Please let us know if there is the path by which on click on the button SAVE itself we can update the particular line of the VO associated to this table, so that changes made to the table gets without affecting performance.

Thanks in advance
Saurabh

Slim,

During the click on the "Save" button, highlight the selected line ViewAtrr and issuing a commit will be repeated. There is no need to reload the page.
If your condition is different, let us know with an example.

-Spengler

Tags: Oracle Applications

Similar Questions

  • I wanted to disable Windows update service from command line. can you help me please on this?

    I wanted to disable Windows Update service by command line can help me on this.

    Hi Vikas Sharma,

    We do not recommend to disable the Windows Update service.

    However, you can try following step below:

    > In the Windows command line type the following command, and then press ENTER:

    > start wuauserv sc config = disabled

    Please let us know if that helps.

  • problem while updating the number of lines.

    Hello..

    Im very new to obiee and now to learn things.

    I'm using the following link to learn how to create a repository and work with it.

    [http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html]

    and im facing problem by updating the number of lines.

    get a dialog like...

    There is an error while updating the number of lines for "SH"... "" SH ". "" CHANNELS ".
    + [nQSError:17001] Oacle Eroorcode:942, message: ORA - 00942:table or view does not exist the OIC OCIStmtExecute call: select count (*) channels. +
    + [nQSError:17011] SQL statement execution failed. +

    Wat could be the problem? can anyone help?

    thnx in advance.

    Have you downloaded zip included in the tutorial and placed in the right place?

  • How to create the map that updates only the changed lines

    Hello

    I have a map that made a merger (update/insert) in a table. The problem is that it will always update all rows in this table. I want to update only the changed lines.

    Some dummy code that shows what I want to do.
    Current situation (all lines updated):

    FUSION
    IN
    Table 1-t1
    USING
    (select key_column, Column1, Column2 from table2) t2
    ON)
    T1.key_column = t2.key_kolumn
    )

    WHEN MATCHED THEN
    UPDATE
    SET
    T1. Column1 = t2.column1
    T1. Column2 = t2.column2
    WHEN NOT MATCHED THEN
    INSERT
    (t1.key_column, t1.column1, t1.column2)
    VALUES
    (t2.key_column, t2.column1, t2.column2);

    What I'm trying to get (only changed the lines updated):
    FUSION
    IN
    Table 1-t1
    USING
    (select key_column, Column1, Column2 from table2) t2
    ON)
    T1.key_column = t2.key_kolumn
    )

    WHEN MATCHED THEN
    UPDATE
    SET
    T1. Column1 = t2.column1
    T1. Column2 = t2.column2
    * WHERE
    T1. Column1! = t2.column1
    or t1.column2! = t2.column2*
    WHEN NOT MATCHED THEN
    INSERT
    (t1.key_column, t1.column1, t1.column2)
    VALUES
    (t2.key_column, t2.column1, t2.column2);

    WHERE in WHEN MATCHED t clause is that I'm not able to create via OWB in the mapping. How is that possible?
    I tried to look for the solution here and google without success

    Thank you!

    Hello

    you left outer join table2, with table1. Then use a filter to determine which rows in which an attribute has changed or no towing in table1 where found.
    To compare attributes use expression with nvl to properly handle nulls: nvl(table2.my_attribute,'#')! = nvl(table1.my_attribute,'#')

    Kind regards
    Carsten.

  • Updates Me Knock Off Line

    I can be in the middle of something online, then, without warning, I fall and updated when the computer starts. The screen shows the configuration of updates and step. After the updates are made, the computer automatically restarts and opens a session automatically back in line. How can I get the computer constantly updated like that? It's quite maddening to be in the middle of something and get knocked offline without warning.

    Right click on my computer properties - click on leMises to update automatiquesonglet - and check what is automatic update feature is configured for.

    Also check if any WSUS is configured in your network or your computer it's autonomous. Zulfikar

  • Editable table automatically updated after the entry line

    Hello

    JDev 11.1.2.4

    In a table of clickToEdit, the editable line has several selectOneChoice and inputText. When the user changes a value in the editable field, the line is automatically updated. The problem is that if a user changes the first field and press tab, because the row is updated, the focus is lost.

    Why the whole line is updated?

    Thnaks

    Go to pageDef and iterator ChangeEventPolicy value = 'none '.

  • Updated all the selected lines in a table.

    Hello

    Jdev Version 11.1.2.3.0

    I'm trying to update all the selected rows in a table with several choices.

            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            ViewObject vo = am.findViewObject("RegistrationHistory1");
            RowKeySet selectedRegistrations = historyTable.getSelectedRowKeys();
    
    
            if (selectedRegistrations != null) {
                Iterator iter = selectedRegistrations.iterator();
                    while (iter.hasNext()) {
                        Object facesTreeRowKey = iter.next();
                        Row[] row = vo.findByKey((Key)((List)(facesTreeRowKey)).get(0), 1);
    
    
                        if (row != null && row.length == 1) {
                            Row r = row[0];
                             r.setAttribute("Attr", "1"); 
                        }
                    }
              }
    

    But after I put the attribute on the line. My iterator ignores most of the lines and they don't last updated.

    It works very well for the removal of the line well.

    Any suggestions?

    It turn out that I got a try catch and in the catch, I had a log (e.printStackTrace ()) and I do not see a single line in the diary saying ConcurrentModificationException appearing all the time.

    Looks for read-only access to an attribute or delete lines is OK to iterate over the selected lines, but it's different for the modification of an attribute.

    The code that worked:

    Links DCBindingContainer = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    Entry DCIteratorBinding = bindings.findIteratorBinding ("RegistrationHistory1Iterator");

    RowSetIterator regRSiter = regIter.getRowSetIterator ();

    RowKeySet selectedRegistrations = historyTable.getSelectedRowKeys ();

    Object [] keys = selectedRegistrations.toArray ();

    for (Object key: keys) {}

    Line currentRow = regRSiter.getRow ((Key) ((List) key) .get (0));

    removeOrModify (currentRow);

    }

  • INSERT and UPDATE audit generating more lines expected in $ AUD

    Environment:

    Oracle 11.2.0.3 EE on Solaris

    I had a request for verification of the INSERT and UPDATE on the activities of all the tables in a particular schema. It was in anticipation of a request that will live and the owner wanted to see a 'typical' of some test users activity.

    Here are the steps I took:
    alter system set audit_trail=DB_EXTENDED scope=spfile;
    
    Bounce the instance
    
    audit INSERT table, UPDATE table by USERX;
    I also "audit_sys_operations = TRUE' so I know I'll take some SYS audit data in $ AUD as well, but I can ask around those."

    My question is that I see several connections from the application server with "LOGIN" and "LOGOUT" actions and I don't know why they are appearing in the table of AUD $.

    Is it because I have auditing enabled for inserts and updates on all THE tables for USERX and opening operations and logoff do I/O in tables that are not owned by USERX under logon logoff procedure?

    I'm a newbie audit and the docs I read not answered this question.

    I just found an article on the value of 'SESSION_REC' of ACTION_NAME and I need to change my check to "by access. I'll change that and see what happens, but it shouldn't change my question.

    Thanks much for any help!

    -gary

    Hello

    I have the SYS activities audited but I never said anything about the session auditing for this particular user.
    

    "audit session;" check all successful and failed connections to and disconnections of the database, regardless of the user, by session

    Is there a way to confirm what has been turned on for auditing?
    

    You can check with the following query

    Select * from dba_stmt_audit_opts;
    Select * from dba_priv_audit_opts;

    You can also check out the link below for more deatails
    http://psoug.org/reference/auditing.html

  • Find the location of a particular line

    Hello

    Is is possible to find the location of a particular row of a table in a database?

    For example: I need to find in which tablespace or datafile is the particular row of a table.

    Kind regards

    007

    007 wrote:
    Hi 909592,

    How to find the IDENTIFIER records in a table?

    Kind regards

    007

    Each line/record has a rowid that are associated with.

    SQL> select rowid, DEPTNO, DNAME, LOC from dept;
    
    ROWID                  DEPTNO DNAME          LOC
    ------------------ ---------- -------------- -------------
    AAAR3qAAEAAAACHAAA         10 ACCOUNTING     NEW YORK
    AAAR3qAAEAAAACHAAB         20 RESEARCH       DALLAS
    AAAR3qAAEAAAACHAAC         30 SALES          CHICAGO
    AAAR3qAAEAAAACHAAD         40 OPERATIONS     BOSTON
    

    As above, you have rowid for each line in the dept table. You must get the rowid in listing files

  • Report of update SQL query with line selector. Update process.

    I have a report of update SQL query with the selectors in line.
    How to identify line selector in a process update on the page.

    I want to update some columns with a value of an area of selection on the page.

    With the help of the base:

    UPDATE table_name
    SET Column1 = value
    WHERE some_column = some_value

    I would need to do:

    UPDATE table_name
    SET column1 =: P1_select
    WHERE [line selector] =?

    Now sure how to identify [line selector] and/or validate it is checked.
    Thank you
    Bob

    Identify the name of the checkbox of the source of the page element, it should be of the fxx format (f01, f02... f50).
    Suppose that we f01.

    for i in 1 .. apex_application.g_f01.count
    loop
      UPDATE CONTRACTS
      SET SIP_LOAD_FLAG = :P16_STATUS
      where  =  apex_application.g_f01(i); --i'th checked record' primary key
    end loop;
    
  • Start Adobe Updater from the command line or a batch file

    Anyone know how to start adobe Updater from the line Commane or ideally a batch file.

    I hope it's something easy as

    "%ProgramFiles%\Adobe\Reader 9.0\Reader\AcroRd32.exe" / Update

    It is easy, but you must first find the update.  Different versions of the Adobe Reader software installed on different locations; also, there are different versions.

    On the computer I am currently using, it is located in program files Files\Adobe\Updater5 - so I have to run as

    "%programfiles%\Common Files\Adobe\Updater5\AdobeUpdater.exe"
    
  • ListField: RENDERER updates only the top line

    Hey all,.

    Calling for first time, long time listener. I cut my teeth on BB dev and have hit a snag. I created a ListField which takes an array of custom RowObjects that includes not only the table that makes up the line, but both the properties of style (background color, text color).

    My 2 questions are the only the first line is its background color and the rest are by default. None get the color of the text. It seems that the rendering engine is only called once, bouncing absolutely me.

    The second problem is that I can't scroll horizontally to view additional columns that are off-screen.

    Main components TableField code:

    package com.keslabs.kui;
    
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    
    public class TableField extends ListField
    {
        private TableRowManager[] _rows;
        private int[] _columnWidths;
        private int[] _horizontalPaddings;
    
        public TableField(TableRowObject[] contents, int[] columnWidths, int[] horizontalPaddings)
        {
            int numRows = contents.length;
    
            _rows = new TableRowManager[numRows];
            for (int curRow = 0;  curRow < numRows;  curRow++) {
                _rows[curRow] = new TableRowManager(contents[curRow]);
            }
    
            // Store the layout data.
            _columnWidths = columnWidths;
            _horizontalPaddings = horizontalPaddings;
    
            // Configure this ListField to operate with TableListField semantics.
            setSize(numRows);
            setCallback(RENDERER);
        }
    
        // Calculates the horizontal position at which the indicated
        // column should begin, based on the column widths and paddings.
        private int getColumnStart(int col)
        {
            int columnStart = 0;
            for (int i = 0;  i < col;  i++) {
                columnStart += _columnWidths[i];
                columnStart += _horizontalPaddings[i];
            }
            return columnStart;
        }
    
        public int moveFocus(int amount, int status, int time)
        {
            invalidate(getSelectedIndex());
            return super.moveFocus(amount, status, time);
        }
    
        // Invoked when this field receives the focus.
        public void onFocus(int direction)
        {
            super.onFocus(direction);
            invalidate();
        }
    
        // Invoked when a field loses the focus.
        public void onUnfocus()
        {
            super.onUnfocus();
            invalidate();
        }    
    
        // Manager that lays out the fields of a table row horizontally,
        // within the columns of its enclosing TableListField.
        private class TableRowManager extends Manager
        {
            private TableRowObject _row;
    
            // styles
            public int bgcolor = Color.BEIGE;
            public int fgcolor = Color.BLUE;
    
            // Constructor.  The elements of rowContents are added to this manager
            // so that when it is layed out, these fields become cells within a row.
    
            public TableRowManager(TableRowObject rowContents)
            {
                super(0);
    
                if (rowContents.bgcolor != -1) {
                    bgcolor = rowContents.bgcolor;
                }
                if (rowContents.fgcolor != -1) {
                    fgcolor = rowContents.fgcolor;
                }
                _row = rowContents;
    
                for (int col = 0;  col < rowContents.data.length;  col++) {
                    add(rowContents.data[col]);
                }
            }
    
            // Causes the fields within this row manager to be layed out then
            // painted.
            public void drawRow(ListField listField, int index, Graphics g, int x, int y, int width, int height)
            {
                // Arrange the cell fields within this row manager.
                layout(width, height);
    
                // Place this row manager within its enclosing list.
                setPosition(x, y);
    
                // Apply a translating/clipping transformation to the graphics
                // context so that this row paints in the right area.
                g.pushRegion(getExtent());
    
                // Paint this manager's controlled fields.
                subpaint(g);
    
                g.setColor(bgcolor);
                g.fillRect(0, y, width, height);
                g.setColor(fgcolor);
                //g.drawText("i-"+index, 0, y);
    
                listField.invalidate(index);
    
                // Restore the graphics context.
                g.popContext();
            }
    
            protected void sublayout(int width, int height)
            {
                for (int col = 0; col < getFieldCount(); col++) {
                    Field curCellField = getField(col);
                    layoutChild(curCellField, _columnWidths[col], getPreferredHeight());
                    setPositionChild(curCellField, getColumnStart(col), 0);
                }
    
                setExtent(getPreferredWidth(), getPreferredHeight());
            }
    
            public int getPreferredWidth()
            {
                return RENDERER.getPreferredWidth(TableField.this);
            }
    
            public int getPreferredHeight()
            {
                return getRowHeight();
            }
        }
    
        private static final ListFieldCallback RENDERER = new ListFieldCallback()
        {
            public void drawListRow(ListField listField, Graphics graphics, int index, int y, int width)
            {
                TableField tableField = (TableField) listField;
                TableRowManager rowManager = tableField._rows[index];
                rowManager.drawRow(listField, index, graphics, 0, y, width, tableField.getRowHeight());
            }
    
            public int getPreferredWidth(ListField listField)
            {
                TableField tableField = (TableField) listField;
                int numColumns = tableField._columnWidths.length;
                return tableField.getColumnStart(numColumns);
            }
    
            public Object get(ListField listField, int index)
            {
                TableField tableField = (TableField) listField;
                return tableField._rows[index];
            }
    
            // prefix searching is not supported
            public int indexOfList(ListField listField, String prefix, int start)
            {
                return -1;
            }
        };
    }
    

    Class TableRowObject (which works fine, but I posted for ease of understanding):

    package com.keslabs.kui;
    
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.system.*;
    
    public class TableRowObject {
    
        public Field[] data;
        public int bgcolor = -1;
        public int fgcolor = -1;
    
        public TableRowObject(Field[] rowContent) {
            data = rowContent;
        }
    }
    

    Any help that could be provided would be great that I was stuck with this for 3 days banging my head against a wall.

    Yes, but it must not necessarily be 'this '. It can be any other object that you did in your implementation.

  • How fast an application update for 27 000 lines?

    I used the following code from pl/sql using bulk collect to update a table called dwd_candidate_new. But it takes nearly 20 minutes to update record 27000. Is there a work around to make it faster?

    Thank you.

    declare

    T_ServiceId. ARRAY TYPE IS VARCHAR2 (30);

    T_Comments. ARRAY TYPE IS VARCHAR2 (30);

    v_ServiceId t_ServiceId;

    v_Comments t_Comments;

    Start

    Select s.c1, s.c4

    COLLECTION in BULK IN v_ServiceId, v_Comments

    of s dwd_report_stg

    s.file_id = p_file_id;                   

    FORALL indx IN v_Comments.FIRST... v_Comments.Last

    UPDATE dwd_candidate_new

    Set sdt_receive = sysdate,

    sdt_comments = v_Comments (indx)

    where service_id = v_ServiceId (indx);

    end;

    Why you use bulk collect and forall? If performance is a problem, I would start by trying to do this as a single SQL UPDATE or a MERGE statement. Make sure you have updated on tables and indexes statistics and see what the optimizer based on CSSTidy comes with.

    Something like the following should work (untested so please excuse the mistakes of syntax)

    MERGE INTO dwd_candidate_new tgt
    USING (
    SELECT c1, c4
    FROM dwd_report_stg
    WHERE file_id = p_file_id
    ) src
    ON (src.c1 = tgt.service_id)
    WHEN MATCHED THEN
    UPDATE SET tgt.sdt_receive=sysdate, tgt.sdt_comments = src.c4;
    

    In addition, there are a few mistakes in your PL/SQL - there seems to be a keyword WHERE in the SELECT statement, and the variable p_file_id is undeclared.

    It would be useful if you could create post instructions, sample data and code of work table.

    Hope that helps

    Dan

  • Unable to update the number of lines in the physical layer... connection failed in OBIEE 11 g

    Hi guys,.

    I am not able to make the number of rows updated in the physical layer, I get an error message failed to connect. It comes to OBIEE 11 g Linux approx.

    I put the tnsnames.ora file in the following path:

    / * / pkgs/linux/intel/OBIEE_DIT/MW_HOME/Oracle_BI1/network/admin /.

    I have no admin under

    / * / pkgs/linux/intel/OBIEE_DIT/MW_HOME/oracle_common/network /.

    But if I enter all TNS in Data Source name, I am able to connect:

    (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = xxx.xxx.com) (PORT = 1671)) (CONNECT_DATA = (SERVICE_NAME = US1OBIEE)))

    I am not able to understand the question...

    Thank you

    Amit

    It seems that the RPD is looking for local tns config... try to use as hostname: port / ServiceName

    It should work, just in case where does not! stop to do so since it is question.

    If brand aid

  • Delete the command button to remove the particular line of VO

    Hello

    I dragged & tomb6e a VO jspx page as a table, the data control palette dragged delete operation as a button on the table as the last column.
    By pressing the button Delete, that is, remove top row of VO. I want to remove the delete button w.r.t. specific line on the list of columns...?


    Kind regards.

    Can you confirm if the property table in your bed jsff/jspx selectionListener -
    #{bindings. { . collectionModel.makeCurrent}

Maybe you are looking for

  • Satellite L70-A-139 - SSD upgrade

    Hello I have a Satellite L70-A-139, and I want to spend my HARD for one SSD drive. I already opened the back to see, and there is a label that saids "only 7mm. The ssd I want to buy is an EVO of 840 SSD 250 GB.But that one is 6.8 mm in height, the it

  • SSD upgrade - clone OS + part HP_TOOLS. from old to new ssd hd

    I have a hp elitebook 8740wI changed my old hd with an ssd. How can I keep the partition with HP_TOOLS? I've already triedI used the software SSD for migration - perfect copy, the operating system works, copy partition HP TOOLS, but does not start wi

  • I don't remember the name of softerware for my HP All in one Printer

    I have a HP J4580 printer. I had my recently re-created PC. I don't remember the name of the software that I had which had all my functions in it. Scan, copy, e-mail, fax, percentage of printer cartridge.  Nobody know, don't forget the name of this s

  • cannot log in to Firefox

    cannot log in to Firefox as some microsoft help site, I get the XPCOM error, I have tried every fix on youtube, none does not work for me I don't want to reinstall firefox, I would lose all my favorites. Ray

  • Windows live to use AOL for email

    I have been using windows live for my AOL email for over a year. All of a sudden I can't send or receive email in a pop - up displays the following: "the server rejected the sender's e-mail address" Server error 554I can still go to the Internet and