How to reset the State of line

Hi all
Attribute in my current line made some changes, I don't want to not that changes update the database sometimes, but I have to commit the transication because there's a few other vo should be updated to the database. How do I do with this case?

Bese cordially,

Peter

Peter,

Create 02:00. Fix the table of the VO in the first AM & rest in the second. Engage only the second AM. So, that will commit all changes made on the first AM.

Kind regards
GYAN

Tags: Oracle Applications

Similar Questions

  • How to reset the State of package variables in all sessions connected (without requiring a disconnection and a connect) if they are reset in one of connected sessions.


    Hi people,
    Need help, the example requires that the value of packet data 'g_var' must be updated in the session/s connected everywhere without the session/s to be disconnected and reconnected.
    Here's the scenario:

    I created a table my_table having the pair name / value.
    A variable with global package "g_var' in his body and a get accessor method to access g_var variable from the outside world.
    This variable g_var is initialized within the block of the entry into force of the package and retrieves the current value of the variable from my_table.
    When I update the value in the table a trigger on my_table would reset the State of the package and therefore g_var to the most recent value in the same session
    All is well so far since the change in value is reflected in the current session, but if I've already connected session/s
    and I'm trying to retrieve the value of "g_var", it is not updated in already connected sessions and remains the same before the update.
    Can U help please how can I update this value in a session/s connected without having to disconnect and reconnect.
    because if I disconnect and reconect the existing sessions, it seems to show the updated value.

    Thanks in advance.

    Kind regards
    Gaurav Rajput

    Here are the Scripts:


    drop table my_table;
    create table my_table
    (
    my_variable_name varchar2 (100),
    number of my_variable_value
    );

    create or replace package my_package as
    Function get_g_var return number;
    end my_package;
    /

    create or replace package body my_package as
    number of g_var;

    Function get_g_var return number is
    Start
    Return g_var;
    exception
    while others then
    lift;
    end get_g_var;

    procedure init (my_passed_name varchar2) is
    Start
    Select my_variable_value in the g_var from my_table where my_variable_name = my_passed_name;
    exception
    while others then
    raise_application_error (-20004, "I got an error during Init");
    end init;

    Start
    init ('$'); -This is a call to time when the package is loaded into the memory of session
    exception
    while others then
    raise_application_error (-20003, 'Error in my_package');
    end my_pACkage;

    /
    create or replace TRIGGER my_trigger
    BEFORE DELETE OR UPDATE
    ON my_table
    FOR EACH LINE
    declare
    number of my_ret;
    Start
    DBMS_SESSION.modify_package_state (DBMS_SESSION. RESET);
    exception
    while others then
    lift;
    end my_trigger;

    /

    -It is initially set to null
    insert into my_table values ('DOLLAR', 62);
    commit;

    -test value for first time to package loading (62 views)
    Select * from my_table;

    Set serveroutput on

    declare
    my_variable varchar2 (100);
    BEGIN
    my_variable: = my_package.get_g_var;
    dbms_output.put_line ($my_var);
    END;

    -run the same block of end to start in another session it shows 62. All is well so far
    -check if the value after the update in the same session (shows 38), also check in another before the connected session as well (shows 62 and not 38)
    Update my_table set my_variable_value = 38 where my_variable_name = "DOLLAR";
    commit;

    Select * from my_table;

    Set serveroutput on

    -It displays 38 in this session, but there in an already connected session 62 and only after you log out shows 38
    declare
    my_variable varchar2 (100);
    BEGIN
    -my_variable: = my_package.g_var;
    my_variable: = my_package.get_g_var;
    dbms_output.put_line ($my_var);
    END;

    Package variables are stored in the private memory (PGA). The value is not visible in the session. A package variable is therefore not approach appropriate to your problem. You can look at in the context of the Application, as Solomon has said.

    http://docs.Oracle.com/CD/B28359_01/network.111/B28531/app_context.htm#CIHFJHCG

  • How to reset the value of line number for each header

    Hi all

    I need to reset the line number for each header values.

    create table header_table (header_value varchar2 (100));

    create table line_table (header_value varchar2 (100), number line_number);

    insert into header_table values ('ALAOF');

    insert into header_table values ('ALAOO');

    insert into line_table values('ALAOF',1);

    insert into line_table values('ALAOF',2);

    insert into line_table values('ALAOF',3);

    insert into line_table values('ALAOF',4);

    insert into line_table values('ALAOF',5);

    insert into line_table values('ALAOO,6);

    insert into line_table values('ALAOFO,7);

    insert into line_table values('ALAOO',8);

    insert into line_table values('ALAOO',9);

    insert into line_table values('ALAOO',10);

    insert into line_table values('ALAOO',11);

    insert into line_table values('ALAOO',12);

    Commit;

    TABLE HEADER_:

    header value

    ALAOF

    TRECYBEL

    LINE TABLE:

    header value line_number

    ALAOF 1

    ALAOF 2

    ALAOF 3

    ALAOF 4

    ALAOF 5

    TRECYBEL 6

    TRECYBEL 7

    TRECYBEL 8

    TRECYBEL 9

    TRECYBEL 10

    TRECYBEL 11

    TRECYBEL 12

    But looks like I got out of line below table

    LINE TABLE:

    header value line_number

    ALAOF 1

    ALAOF 2

    ALAOF 3

    ALAOF 4

    ALAOF 5

    TRECYBEL 1 <-reset the beginning of line number with 1 with different header value

    TRECYBEL 2

    TRECYBEL 3

    TRECYBEL 4

    TRECYBEL 5

    TRECYBEL 6

    TRECYBEL 7

    Please help me on this.

    Thanks in advance.

    Hello

    It makes no sense to do it in PL/SQL when you can do it with SQL.

    SQL is generally more efficient than PLSQL.

    And can you explain why you don't want to use analytical functions?

    This will update your table using a MERGE statement and an analytic function:

    MERGE INTO line_table lt
    USING
    (
       SELECT ROWID rid, header_value, row_number() OVER(PARTITION BY header_value ORDER BY ROWNUM) rn
         FROM line_table
    ) src
    ON (src.rid=lt.ROWID)
    WHEN MATCHED THEN
       UPDATE SET lt.line_number = src.rn;
    

    The result is less to:

    HEADER_VAL LINE_NUMBER

    ---------- -----------

    ALAOF 1

    ALAOF 2

    ALAOF 3

    ALAOF 4

    ALAOF 5

    TRECYBEL 1

    TRECYBEL 2

    TRECYBEL 3

    TRECYBEL 4

    TRECYBEL 5

    TRECYBEL 6

    TRECYBEL 7

    Kind regards.

    Al

  • Pls hlp! How to reset the State back to a page...

    I have implemented a multi page doc and have created beween navigation pages via a button at home.

    step 1 click the icon home and step 2 that a wheel appears with a choice of pages to go then.

    Everything works fine the 1st time I go to each page, but the back for the 2nd time that the wheel is always in the center of the page. I want that this reset whenever I go to each page.

    See below link to my example – hope that all makes sense.

    https://www.dropbox.com/s/td6274sm8t74955/test%20wheel_v.indd

    Thank you very much

    Claire

    The first action the button must be going to the State 1. Who clog the DSO as it appears that the first State is empty. Ok.

    For the second action use go to url and use the navto command to access the article/page you need.

  • How to reset the Master encryption key in the encryption Transparent data...

    Hello

    I use Transparent data encryption in Oracle Database 11g Release 2.

    After having specified an Oracle Wallet location in the sqlnet.ora file as shown below:


    ENCRYPTION_WALLET_LOCATION =

    (SOURCE =

    (METHOD = FILE)

    (METHOD_DATA =

    (DIRECTORY = D:\Oracle\enc\admin\tde\wallet)

    )

    )

    Created the master encryption key using the statement

    SQL > ALTER the ENCRYPTION KEY SET of SYSTEM IDENTIFIED BY 'Abc123def456 ';

    Modified system.

    When I reset the master Encryption Key by using the statement get an error as shown below:


    SQL > ALTER the ENCRYPTION KEY SET of SYSTEM IDENTIFIED BY 'Easy2rem ';

    ERROR on line 1:

    ORA-28353: cannot open portfolio

    Please help me how to reset the master encryption key.

    Kind regards

    Kalashnikoff.

    Hi currently,

    you need to reset the master encryption key by using the exact same statement:

    CHANGE the ENCRYPTION KEY SET of SYSTEM IDENTIFIED BY 'Abc123def456 ';


    The passworsd you provide is only the password of the portfolio, the MK is not derived from this, but

    using a secure random number generator, the Wallet password can be changed separately

    using owm or orapki.


    Greetings,


    Damage

  • How to reset the windows media player 12 default settings

    Original title: how to reset the windows media player 12 default settings

    My Windows media Player 12 has stopped play all the sounds (Win 7 HP 64 bit) - I can play sounds with Windows media Center, DIVX, etc. of Winamp, but not with Win Media Player. I would like to reset Windows Media Player 12 to its default state, either by doing a reset or reinstall. Can someone tell me how to do what you please?

    Do these two steps [they are the closest thing possible to uninstall then reinstall WMP & will actually provide a new installation of WMP]

    1 unload WMP - Panel, programs and features, [left] turn on or off has Windows, multimedia features, clear box Windows Media Player, Yes, OK, restart the PC.

    2 reload WMP - Panel, programs and features, [left] turn Windows features on or off, multimedia features, set the Windows Media Player box, Yes, OK, restart the PC.

  • How to reset the content when switching between tabs

    My use case, is that I have all of the multiple tabs displayed in the sidebar. The content of the tabs each has a title bar of free-form which is scalable. If lets say on tab 1, the title bar is developed, and then when you go to the tab 2, is it possible the collapse of the State of the title bar in tab 1 expanded. Or when you switch to tab 1, is it possible to reset the State of the title bar - meaning collapsed.

    I tried all possible solutions, such as the resetExpanded() or use of the definition of the extended property to false dynamically but no work.

    The only thing working is while I'm in tab 1, I develop the title bar while in the same tab, if I perform any other action, I could run resetExpanded() but that's it. Outside tab 1, as in the QML who has the tabbed pane, listening to side bar changed state events, events to change active tab etc., none to take effect.

    There is no ID for the expandableArea so I couldn't get to the extended property that I could create an Alias for.

    Also the unique ID that gets me access to the resetExpanded() is the ID of the

    FreeFormTitleBarKindProperties, and that's how I'm able to do the

    ID.expandableArea.resetExpanded () BUT that I couldn't create an Alias for this FreeFormTitleBarKindProperties because it is not to be an alias of an identifier is valid.

    So I don't know how to solve this problem, unless there is a way to destroy the contents of the tab whenever I switch to a different tab, but it is very inefficeint and suffers poor performance.

    Any ideas anyone how to solve this problem. Appreciate your help.

    Finally, I was able to solve it!

    Originally I had the game content tab statically at the beginning in the tab "as

    Before:

    Tab {}

    {somePage}

    }

    }

    After:

    Now, I created somePage using ComponentDefinition and assigined the content of the tab as

    tabbedPane.content = somePage, followed by all the properties of customization that I send to somePage

    Now in TabbedPane, I listen to two events below

    onActiveTabChanged: {}

    resetTabContent();

    }

    onSidebarVisualStateChanged: {}

    resetTabContent();

    }

    resetTabContent - calls the function

    function resetTabContent() {}

    mainPane.activeTab.content.resetDropDown ();

    }

    The resetDropDown() function is globally on all aspects for the TabbedPane

    {functionresetAccountsDropDown()}

    contentArea.expandableArea.resetExpanded ();

    }

    where contentArea is the ID of the kindProperties of the title bar

    {Page}

    title bar: title {} bar

    ID: pageTitle

    scrollBehavior: TitleBarScrollBehavior.Sticky

    type: TitleBarKind.FreeForm

    kindProperties: {FreeFormTitleBarKindProperties}

    ID: accountsArea

    {Of container

    }

    {expandableArea}

    }

    }

    }

    }

    Enjoy!

  • How to reset the color scheme to the default level in Windows 7?

    I changed the default color of Windows 7 (32-bit version x) system palette, using the personalize > Windows color > link appearance and the dialog that results.   But she did background colors of controls like buttons, drop-down lists etc. in the dialogs implemented by applications, being identical to the forefront of the font of text on them.  This makes the information unreadable text.   I want to restore the default color palette, so that this information can be read.   I want to know how to reset the color scheme, since other changes in results window customization in unpredictable and unreadable color on other components of the application windows.
    As this resulted in almost total ease of use of my computer, I would be very grateful to anyone who can guide me to reset the color scheme for my computer to its normal state by default as soon as possible.   Thanks in advance.
    -arasan77

    Defects of appearance and personalization,

    http://www.SevenForums.com/tutorials/282-window-color-appearance-change.html

  • How to reset the computer to start the boot minimum troubleshooting.

    I posted this screenshot because I have no idea what can be the maximum size of a question and I thought I have copy paste this but I to Sir's life saw the question so I did this. Additional information that could help. This is my task manager open resource monitor and windows firewall not wanting to tk starts. And I have windows updates where I chose to update (I try to deny each update.) And so far I've checked that I have 482,5 MB of updates of windows that say I should put to date. (apperently 130 important and 10 optional) in addition apperently my computer don't think that I am administrator I do not understand when I'm the only profile on the computer.

    Hello

    In response to the information provided by you, please try to follow the methods and check them off below if this can help,

    Step 1: Scan of Sfc.

    System File Checker is a Windows utility that allows users to find corruptions in Windows system files and restore the damaged files.

    Follow the steps below to perform a scan of the SFC.

    1. press the Windows key + X key.

    2. Select prompt (admin).

    3 type the following command:

    Sfc/scannow

    Step 2: Clean boot.

    Make your systemclean boot State helps determine if third-party applications or startup items are causing the problem. You must follow the steps in the article mentioned below to perform a clean boot.

    https://support.Microsoft.com/en-us/KB/929135

     

    WARNING: After troubleshooting, refer to the section «How to reset the computer to start normally after a boot minimum troubleshooting»

    Please let us know if the problem is resolved or you need additional assistance.

    Thank you.

  • How to reset the forgotten administrator password

    How to reset the forgotten administrator password

    You forgot your password

    Lion or later version

    Reset a password in Mac OS X 10.7 Lion

    OS X Lion mountain - reset a login password,

    OS X Mavericks-solve password problems,.

    OS X Lion-Apple ID can be used to reset your password for the user account.

    For Snow Leopard and earlier with installer DVD

    Mac OS X 10.6 - If you forgot your administrator password.

    OS X - change or reset a password for account (Snow Leopard or earlier version).

    For Snow Leopard and previous without installer DVD

    How to reset your Mac OS X password without an installation disk. MacYourself

    Reset password for OS X without an OS X CD - Tech News and Analysis

    How to create a new account administrator - Mac Hack

  • How to reset the lost password admin

    How to reset the password for the admin on my mac?

    Restart your mac and hold ⌘R immediately. Keep until the Apple Logo appears. This may take some time for your mac start. Once this is the case, select Terminal in utilities > Terminal to the Menu bar above. Once the terminal appears, type

    ResetPassword

    A password reset Wizard will appear. Select the appropriate account, and enter the new password. Then tap Save. Then, click the apple logo in the corner, and tap on choose Startup disk. Click on Macintosh HD and press ENTER.

    You should now be able to use your new admin password.

    Good luck.

  • Re: How to reset the password on the logon screen - Satellite A300?

    How to reset the password on the logon screen?

    I can not access the installation of the establishment or BIOS because I can't pass this screen. Enter something wrong 3 times turns off the computer. I do not have the current password and I don't know what kind of password is and why it s asking one as soon as I turn it on.

    How can I solve this problem?

    You can not fix it. You can only disable it, but to do this, correct password must be known to you.
    As many times before in this forum we have already discussed on this topic.

    Password is very important security feature and we cannot advise how to bypass or remove passwords on the public forum. In other words, each stolen notebook protected by password will be easy to start and access to the recorded data will be easy.

    What is your laptop? You may have purchased this used an and now it is blocked by password?

  • I'm locked out of my new iPad and I don't own a computer. How to reset the password

    IM locked out of my new iPad. How to reset the password with a computer?

    You do not have. You must either find a friend or a member of the family with a computer, you can use or make an appointment at the Genius Bar at your local Apple store.

  • How to reset the clock?

    New on this computer, may not know how to reset the clock... not come to book with this refurbished.

    Please click the button solved it next to the answer that solved your problem of Firefox support, it appears when you are connected, so this thread is marked as resolved to help other users who may have this same problem.

  • How to reset the form filling on windows 7

    He worked that suddenly stopped working. How to reset the function so it will work again? I have windows 7 on a new laptop

    See:

    • Tools > Options > privacy > History: "Remember search and form history" [X]

Maybe you are looking for

  • My Iwatch vibrate when you receive a text. Should she make a sound?

    My shows I vibrate when you receive a text. Should she make a sound?

  • frozen cursor need help

    laptop Presario CQ60, p/n NB2276UA. frozen cursor. Methods has tried without success: 1-held power until the wide button. poweroff 2 walls and the battery for 30 seconds. Replace the battery & connect to the power supply. Pressed power on b utton whi

  • HP psc 2175 all-in-one not printing blue or yellow

    My trusty and reliable hp psc 2175 all-in-one prints wrong color.  It seems to access information or cyan or yellow and prints only in black (which is light) or magenta.  I changed both cartridges, and that did not help.  He keeps asking me to align

  • Shrunken office top sides

    My office on my screen has decreased, so there is a border of 2 1/2 inch on both sides

  • Create a rectangle with an image inside

    Hi allIssue of great starter... how to create a rectangle with an image inside.My project:-Create a dialog box where to put the name of the image.-create the link between the image to the active document (the photo is in the 'Links' folder)-make a re