Conditional Redirct when Updating a Form

In my form's update button I'm running several validations. If one of the validations doesn't pass I need to completely bypass the default update and call a procedure. This procedure does part of the update and then redirects to a different form. I can't use the standard redirect on successful submission because I don't want it to redirect each time.
I have tested and when the condition is met it is calling the procedure, just not doing the redirect.
Any suggestions?
Here is the code in my update button:
declare & set variables
if v_user1 is not null then
v_sup1 := pkg_proj_manage.fcn_get_sup(v_user1);
end if;
if v_user2 is not null then
v_sup2 := pkg_proj_manage.fcn_get_sup(v_user2);
end if;
if v_user3 is not null then
v_sup3 := pkg_proj_manage.fcn_get_sup(v_user3);
end if;
if v_user4 is not null then
v_sup4 := pkg_proj_manage.fcn_get_sup(v_user4);
end if;
if v_user5 is not null then
v_sup5 := pkg_proj_manage.fcn_get_sup(v_user5);
end if;
v_ok := pkg_proj_manage.fcn_verify_end_dates(v_projnum, to_char(v_estenddate, 'MM/DD/YYYY'), to_char(v_enddate, 'MM/DD/YYYY'));
if pkg_proj_manage.fcn_val_type(v_type, v_stage) <> 'Y' then
v_message := pkg_proj_manage.fcn_val_type(v_type, v_stage);
v_ok := 'N';
end if;
if pkg_proj_manage.fcn_check_status(v_status, v_user1, v_eststdate, v_estenddate, v_stdate, v_enddate) <> 'Y' then
v_message := pkg_proj_manage.fcn_check_status(v_status, v_user1, v_eststdate, v_estenddate, v_stdate, v_enddate);
v_ok := 'N';
end if;
v_statusdate2 := pkg_proj_manage.fcn_status_date(v_status, v_statusdate);
if v_statusdate2 is not null then
p_session.set_value(p_block_name => 'DEFAULT', p_attribute_name => 'A_STATUS_DATE', p_value => v_statusdate2);
end if;
if pkg_proj_manage.fcn_val_enddate(v_enddate, v_status) <> 'Y' then
v_message := pkg_proj_manage.fcn_val_enddate(v_enddate, v_status);
v_ok := 'N';
end if;
if pkg_proj_manage.fcn_val_dates(v_enddate, v_stdate) = 'N' then
v_ok := 'N';
v_message := 'The actual end date must be equal to or after the actual start date';
end if;
if pkg_proj_manage.fcn_val_dates(v_estenddate, v_eststdate) = 'N' then
v_ok := 'N';
v_message := 'The estimated end date must be equal to or after the estimated start date';
end if;
if pkg_proj_manage.fcn_rescind_status(v_status, v_ok, v_sup, v_sup1, v_sup2, v_sup3, v_sup4, v_sup5) <> 'Y' then
v_message := pkg_proj_manage.fcn_rescind_status(v_status, v_ok, v_sup, v_sup1, v_sup2, v_sup3, v_sup4, v_sup5);
v_ok := 'N';
end if;
if v_ok = 'R' then
pkg_proj_manage.prc_redirect_dateform(v_projnum, to_char(v_estenddate, 'MM/DD/YYYY'), to_char(v_enddate, 'MM/DD/YYYY'), v_type,
v_stage, v_user1, v_user2, v_user3, v_user4, v_user5, v_sup, v_status, v_desc, v_group, v_request, v_dept, v_dept2, v_dept3,
v_liason, v_liason2, v_liason, v_notes, v_requestor, to_char(v_stdate, 'MM/DD/YYYY'), to_char(v_eststdate, 'MM/DD/YYYY'), to_char(v_statusdate, 'MM/DD/YYYY'));
return;
elsif v_ok = 'Y' then
doUpdate;--- This is the default handler
p_session.set_value(p_block_name => 'DEFAULT', p_attribute_name => 'A_V_MESSAGE', p_value =>' ');
end if;
if v_message is not null then
p_session.set_value(p_block_name => 'DEFAULT', p_attribute_name => 'A_V_MESSAGE', p_value => v_message);
p_session.set_value(p_block_name => 'DEFAULT', p_attribute_name => '_STATUS',
p_value => 'There is an error with your entry');
return;
end if;
end;

I have a similar problem, I'v been searching for this error and I found that is a BUG (#380655), there is a patch to solve this, but i did4n find it at internet, may be if you have the CD's patches can solve this BUG.
See you !

Similar Messages

  • Get past terms and conditions page when updating to iOS 7

    i can't get past terms and conditions screen after updating to iOS 7.  I have agreed to Terms and Conditions, Privacy Policy an software license agreement, but there is no next option

    I am using a PC.  Do I have to download Safari for it to properly operate now?

  • FRM-40501 When updating a form

    Hello everyone,
    I need some help with a master-detail form I am working on.
    The master is based on a table, let's call it t1 and there are no problems with it.
    The detail is based on a view (v1) , getting data from two tables ( let's say t2 and t3). T2 is just an intersection table of a many to many relationship between t1 and t3.
    I wrote a trigger (instead of) on v1, and everything works in SQL+.
    Whenever I try to update a value from t3 in my detail data block, I get FRM-40501.
    I did a search on this board, applied all the suggested changes ( all my blocs have primary keys, the form has serializable isolation mode , the key property set to "updateable") but the error keeps coming back.
    Inserting new rows works, delete does not.
    Any other suggestions ?
    TIA
    BN
    PS Versions are 8.1.7.0 Enterprise edition and Forms (32 bit) 6.0.8.8.0

    I have a similar problem, I'v been searching for this error and I found that is a BUG (#380655), there is a patch to solve this, but i did4n find it at internet, may be if you have the CD's patches can solve this BUG.
    See you !

  • Having troble focusing when updating swing form type application

    I'm writing a piece of code where it is necessary to allow the end-user to unmask a password. I want the focus to return to the text field/password field however because it is necessary to call repaint() using the ActionListner calling requestFocusInWindow has very little effect. This is because repaint que's and is run by run by the thread that was running the ActionListner, (I hope I'm making sense). I don't do GUI often for obvious reasons. Please look at the Box bellow and tell me if you have a solution.
    import javax.swing.*;
    import javax.swing.text.Document;
    import javax.swing.text.PlainDocument;
    class Blah extends Box {
      protected final Document doc=new PlainDocument();
      JTextField jtf=new JTextField(doc,null,10);
      JPasswordField jpf=new JPasswordField(doc,null,10);
      JCheckBox jcb = new JCeckBox("switch");
      Blah(){
        super(BoxLayout.X_AXIS);
        jcb.addActionListner(new LayoutAction(this));
        this.invalidate(); //Makesure that doLayout is called (not verbosely necessary)
      @Overrides
      public void doLayout(){
        this.removeAll();
        /*This is the main function of the code */
        if(jcb.isSelected())this.add(jtf);
        else this.add(jpf);
        this.add(jcb);
        super.doLayout();
    } class LayoutAction implements ActionListner {
      JComponent owner;
      LayoutAction(JComponent owner){
        this.owner=owner;
      public void actionPerformed(ActionEvent e){
        this.owner.revalidate();
        this.owner.repaint();
    }

    Hey thanks... That helped out with another situation similar to this I was having trouble with... Turns out it's the revalidate() that makes requestFocus() usless thus I changed the code to have teh request focus in the overriden doLayout().... I'm sure this doesn't matter to you much more than you were being helpful.
    So thanks!!! :)

  • Error Message when trying to update a form

    Hello,
    I receive the following error message when I try to update a form:
    Error: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1129327645 (WWC-51000)
    The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1129327645 (WWC-51000)
    Insufficient privileges (WWV-12600)
    When I click on the Update button on my form, I call a dynamic page which calls a procedure to update the database and display a confirmation message to the user.
    The parameter I am having a problem with is the v_ins_1.
    This links does not work: http://XXX:####/servlet/page?v_prt_stck_1=CLIENT+PAPER&v_prt_stck_2=&v_prt_stck_3=&v_prt_stck_4=&v_env_stck=&v_ins_1=SS-002+Dollar+Cost+Averaging+%28PMID+%3D+40215%29&v_ins_2=&v_in s_3=&v_ins_4=&v_ins_5=&v_ins_6=&v_del_opt=&submit=Update&p_plan_id=01234&p_cust_id=INV&p_lot_type=MAIN&_pageid=59&_dad=portal30&_schema=PORTAL30&_mode=3&_type=site&_fsiteid=34&_fid =2543&_fnavbarid=1&_fnavbarsiteid=34&_fedit%3D0%26_fmode=2&_fdisplaymode=1&_fcalledfrom=1&_fdisplayurl=
    This link works: http://XXX:####/servlet/page?v_prt_stck_1=CLIENT+PAPER&v_prt_stck_2=&v_prt_stck_3=&v_prt_stck_4=&v_env_stck=&v_ins_1=*Custom+Inventory&v_ins_2=&v_ins_3=&v_ins_4=&v_ins_5=&v_ins_6=& v_del_opt=&submit=Update&p_plan_id=01234&p_cust_id=INV&p_lot_type=MAIN&_pageid=59&_dad=portal30&_schema=PORTAL30&_mode=3&_type=site&_fsiteid=34&_fid=2543&_fnavbarid=1&_fnavbarsitei d=34&_fedit%3D0%26_fmode=2&_fdisplaymode=1&_fcalledfrom=1&_fdisplayurl=
    Any suggestions?

    Also got a message "Acrobat failed to set up a workflow folder in the specified shared folder or hosted service"..?

  • How to automatically update InfoPath Form fields(Design) when a new Column is created in SharePoint list?

    Hi All , 
    We have a scenario to automatically update the Infopath form(List Form) fields(Field Name and Control) when ever a new Column is created in the SharePoint list. Is it possible to do this? any options or suggestions?
    Thanks and Regards,
    Nandini

    Hi Nandini,
    I am not very sure will this be going to help you. Ideally, it's not so easy to communicate with infopath using object model. But still you can give it a try using below link :
    http://social.msdn.microsoft.com/forums/sharepoint/en-US/00125fdc-2115-47ea-8e8b-1ca9e5942f83/update-infopath-form-field-in-event-receiver
    I think the above solution is trying to update the field. Addition to that you can try creating a field and control.
    Let me know if it helps  !!
    Thanks

  • [HELP] Problem when update 1 unicode form

    hi all,
    I got a problem when I update unicode form :(
    so, I have already tested my web application (Struts-ibatis-velocity-tiles) on my PC (tomcat 5.5.12, mysql 4.1 - utf8 default, JDK 5.0), everything was okie. I could update 1 unicode form (the form which contains unicode characters - firstname, lastname). I use 1 filter for output and input, below is my web.xml:
    <!-- Filter to set character encoding on each request -->
    <filter>
    <filter-name>Set Character Encoding</filter-name>
    <filter-class>filters.SetCharacterEncodingFilter</filter-class>
    <init-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </init-param>
    </filter>
    <!-- Define filter mappings for the defined filters -->
    <filter-mapping>
    <filter-name>Set Character Encoding</filter-name>
    <servlet-name>action</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>Set Character Encoding</filter-name>
    <servlet-name>velocity</servlet-name>
    </filter-mapping>
    but ... when I deploy and run it on eatj.com, mysql4.1 - utf8, jdk 5.0, I couldn't update unicode form, my last name and first name fields couldn't be saved with unicode characters (utf-8) ...
    what happened :( ... Is this problem of hosting or my web application ??? :(
    help me :(
    thanks in advance,
    bowlkhin

    You need to install the bc package. Apparently the script uses bc to calculate some integer values.
    Brian

  • "Use condition indicators" and "Print setting" errors when updating FM book

    I recently updated the designs of some templates used in our FM books. I created a sample manual using the new templates to test it out. When updating the book, I get the following errors. I have fixed errors before, but I've never seen these ones.

    Hi priya,
    Not sure: check syntax in your Update Roules, also at level of start routine.
    Ciao.
    Riccardo.

  • Conditionally disabling record updation after query

    Dear members
    I've a single record block and I wanna conditionaly disable records updation after query has fetched data. Problem is that if I disable the record updation in Post-Query trigger then it checks the condition for the very first fetched record and it the condition is true, then Updation is disabled for all the fetched records, even if the next records dont meet the condition. I'm using forms-10g. Can u give a better solution??? thanx.

    you have to use SET_ITEM_INSTANCE_PROPERTY to modify only one record:
    BEGIN
        IF ... <your_condition> THEN
            SET_ITEM_INSTANCE_PROPERTY('YOUR_BLOCK.YOUR_ITEM1', UPDATE_ALLOWED, PROPERTY_FALSE);
        ELSE
            SET_ITEM_INSTANCE_PROPERTY('YOUR_BLOCK.YOUR_ITEM1', UPDATE_ALLOWED, PROPERTY_TRUE);
        END IF;
    END;

  • Can I update multiple forms with the same dropdown at the same time

    I have 20+ forms that have a common dropdown.  Each form has between 1 and 15 instances of this dropdown.  The values in the dropdown are updated on a frequent basis.
    Currently I have an identical Document JavaScript named 'UpdateDropdowns' in each form.
    function update_dropdowns()
        var aList = ["  ", "A", "B", "C"];
        //Add any other dropdown choices in the var aList in the format shown
        getField("TradeNameDropdown1").setItems(aList);
        getField("TradeNameDropdown2").setItems(aList);
        // Add any other dropdowns added to the form in the format shown
        // Open Log Console (Ctrl-J), enter update_dropdowns()  (Ctrl-Enter)
    There are over 30 choices in my present iteration of var aList, but for brevity I've only listed the 3 examples to illustrate my JavaScript.
    Currently when I have to update the dropdown, I follow these steps
    Open form
    Open UpdateDropdowns Document JavaScript
    Add the additional value(s)
    Highlight and copy the updated var aList
    Close the Document JavaScript
    Update the form in the Log Console
    Repeat process for all forms (pasting in the new var aList to ensure conformity)
    Is there a way to update all of my forms at once without having to go through this form by form process?

    That sounds fantastic try67.  I have the most recent version of Acrobat Pro.
    I'm unfamiliar with the process.  Will 'Help' be able to walk me through it?
    I'm not in the office anymore, so not in front of the program.

  • Error when updating Service Request - 12.1.3

    eBus 12.1.3 - DB 11.2.0.1 - RHEL 4.8
    When updating a service request we receive the error as follows:
    ORA-01438: value larger than specified precision allowed for this column in Package CS_ServiceRequest_PVT Procedure Update_ServiceRequest.
    The notes input isn't all that long compared to ones in the past. If it is based on another field I can't identify which one it is.
    I enabled a trace during the process and this was the section after the updated was attempted.
    PARSE #125:c=1999,e=1131,p=0,cr=0,cu=0,mis=1,r=0,dep=1,og=1,plh=0,tim=1342466511527089
    EXEC #125:c=5999,e=5829,p=0,cr=1,cu=1,mis=1,r=0,dep=1,og=1,plh=3977838810,tim=1342466511533163
    ERROR #125:err=1438 tim=1342466511533218
    STAT #125 id=1 cnt=0 pid=0 pos=1 obj=0 op='UPDATE CS_INCIDENTS_ALL_B (cr=0 pr=0 pw=0 time=0 us)'
    STAT #125 id=2 cnt=1 pid=1 pos=1 obj=58779 op='TABLE ACCESS BY USER ROWID CS_INCIDENTS_ALL_B (cr=1 pr=0 pw=0 time=0 us cost=1 size=285 card=1)'
    CLOSE #125:c=0,e=42,dep=1,type=0,tim=1342466511533719
    =====================
    PARSING IN CURSOR #124 len=37 dep=1 uid=175 oct=45 lid=175 tim=1342466511533847 hv=1888065881 ad='0' sqlid='aahpwzps8m6at'
    ROLLBACK TO UPDATE_SERVICEREQUEST_PVT
    END OF STMT
    PARSE #124:c=0,e=30,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=0,plh=0,tim=1342466511533844
    EXEC #124:c=1000,e=17838,p=0,cr=0,cu=4,mis=0,r=0,dep=1,og=0,plh=0,tim=1342466511551774
    CLOSE #124:c=0,e=4,dep=1,type=3,tim=1342466511551833
    CLOSE #122:c=0,e=4,dep=1,type=3,tim=1342466511551876
    =====================
    I have compiled the forms for JTF, CS, CSC
    I also ran utlrp.sql to recompile invalid objects and still no luck.
    No luck in metalink thus far. Where would the next logical place be to look for the cause of this error? Thanks

    It appears to be attempting to update all the columns in the statement, I am not sure which ones have data vs which don't.
    <****----------------------STATEMENT---------------------------------------****>
    UPDATE CS_INCIDENTS_ALL_B SET INCIDENT_STATUS_ID = :B174 , INCIDENT_TYPE_ID =
    :B173 , INCIDENT_URGENCY_ID = :B172 , INCIDENT_SEVERITY_ID = :B171 ,
    INCIDENT_OWNER_ID = :B170 , RESOURCE_TYPE = :B169 , INVENTORY_ITEM_ID =
    :B168 , CUSTOMER_ID = :B167 , ACCOUNT_ID = :B166 , CURRENT_SERIAL_NUMBER =
    :B165 , EXPECTED_RESOLUTION_DATE = :B164 , ACTUAL_RESOLUTION_DATE = :B163 ,
    CUSTOMER_PRODUCT_ID = :B162 , BILL_TO_SITE_USE_ID = :B161 ,
    BILL_TO_CONTACT_ID = :B160 , SHIP_TO_SITE_USE_ID = :B159 ,
    SHIP_TO_CONTACT_ID = :B158 , INSTALL_SITE_USE_ID = :B157 ,
    INCIDENT_ATTRIBUTE_1 = :B156 , INCIDENT_ATTRIBUTE_2 = :B155 ,
    INCIDENT_ATTRIBUTE_3 = :B154 , INCIDENT_ATTRIBUTE_4 = :B153 ,
    INCIDENT_ATTRIBUTE_5 = :B152 , INCIDENT_ATTRIBUTE_6 = :B151 ,
    INCIDENT_ATTRIBUTE_7 = :B150 , INCIDENT_ATTRIBUTE_8 = :B149 ,
    INCIDENT_ATTRIBUTE_9 = :B148 , INCIDENT_ATTRIBUTE_10 = :B147 ,
    INCIDENT_ATTRIBUTE_11 = :B146 , INCIDENT_ATTRIBUTE_12 = :B145 ,
    INCIDENT_ATTRIBUTE_13 = :B144 , INCIDENT_ATTRIBUTE_14 = :B143 ,
    INCIDENT_ATTRIBUTE_15 = :B142 , INCIDENT_CONTEXT = :B141 ,
    EXTERNAL_ATTRIBUTE_1 = :B140 , EXTERNAL_ATTRIBUTE_2 = :B139 ,
    EXTERNAL_ATTRIBUTE_3 = :B138 , EXTERNAL_ATTRIBUTE_4 = :B137 ,
    EXTERNAL_ATTRIBUTE_5 = :B136 , EXTERNAL_ATTRIBUTE_6 = :B135 ,
    EXTERNAL_ATTRIBUTE_7 = :B134 , EXTERNAL_ATTRIBUTE_8 = :B133 ,
    EXTERNAL_ATTRIBUTE_9 = :B132 , EXTERNAL_ATTRIBUTE_10 = :B131 ,
    EXTERNAL_ATTRIBUTE_11 = :B130 , EXTERNAL_ATTRIBUTE_12 = :B129 ,
    EXTERNAL_ATTRIBUTE_13 = :B128 , EXTERNAL_ATTRIBUTE_14 = :B127 ,
    EXTERNAL_ATTRIBUTE_15 = :B126 , EXTERNAL_CONTEXT = :B125 , RESOLUTION_CODE =
    :B124 , PROBLEM_CODE = :B123 , ORIGINAL_ORDER_NUMBER = :B122 ,
    PURCHASE_ORDER_NUM = :B121 , CLOSE_DATE = :B120 , PUBLISH_FLAG = :B119 ,
    OBLIGATION_DATE = :B118 , QA_COLLECTION_ID = :B117 , CONTRACT_SERVICE_ID =
    :B116 , CONTRACT_ID = :B115 , CONTRACT_NUMBER = :B114 , PROJECT_NUMBER =
    :B113 , CUSTOMER_PO_NUMBER = :B112 , CUSTOMER_TICKET_NUMBER = :B111 ,
    TIME_ZONE_ID = :B110 , TIME_DIFFERENCE = :B109 , PLATFORM_ID = :B108 ,
    PLATFORM_VERSION = :B107 , PLATFORM_VERSION_ID = :B106 , DB_VERSION = :B105
    , CP_COMPONENT_ID = :B104 , CP_COMPONENT_VERSION_ID = :B103 ,
    CP_SUBCOMPONENT_ID = :B102 , CP_SUBCOMPONENT_VERSION_ID = :B101 ,
    CP_REVISION_ID = :B100 , INV_ITEM_REVISION = :B99 , INV_COMPONENT_ID = :B98
    , INV_COMPONENT_VERSION = :B97 , INV_SUBCOMPONENT_ID = :B96 ,
    INV_SUBCOMPONENT_VERSION = :B95 , SITE_ID = :B94 , CUSTOMER_SITE_ID = :B93 ,
    TERRITORY_ID = :B92 , CUST_PREF_LANG_ID = :B91 , COMM_PREF_CODE = :B90 ,
    CUST_PREF_LANG_CODE = :B89 , LAST_UPDATE_CHANNEL = :B88 , TIER = :B87 ,
    TIER_VERSION = :B86 , OPERATING_SYSTEM = :B85 , OPERATING_SYSTEM_VERSION =
    :B84 , DATABASE = :B83 , CATEGORY_ID = :B82 , GROUP_TYPE = :B81 ,
    OWNER_GROUP_ID = :B80 , GROUP_TERRITORY_ID = :B79 , OWNER_ASSIGNED_TIME =
    :B78 , OWNER_ASSIGNED_FLAG = :B77 , UNASSIGNED_INDICATOR = :B76 ,
    INV_PLATFORM_ORG_ID = :B75 , PRODUCT_REVISION = :B74 , COMPONENT_VERSION =
    :B73 , SUBCOMPONENT_VERSION = :B72 , CATEGORY_SET_ID = :B71 ,
    EXTERNAL_REFERENCE = :B70 , SYSTEM_ID = :B69 , ERROR_CODE = :B68 ,
    INCIDENT_OCCURRED_DATE = :B67 , INCIDENT_RESOLVED_DATE = :B66 ,
    INC_RESPONDED_BY_DATE = :B65 , INCIDENT_LOCATION_ID = :B64 ,
    INCIDENT_ADDRESS = :B63 , INCIDENT_CITY = :B62 , INCIDENT_STATE = :B61 ,
    INCIDENT_COUNTRY = :B60 , INCIDENT_PROVINCE = :B59 , INCIDENT_POSTAL_CODE =
    :B58 , INCIDENT_COUNTY = :B57 , SR_CREATION_CHANNEL = :B56 , COVERAGE_TYPE =
    :B55 , BILL_TO_ACCOUNT_ID = :B54 , SHIP_TO_ACCOUNT_ID = :B53 ,
    CUSTOMER_PHONE_ID = :B52 , CUSTOMER_EMAIL_ID = :B51 ,
    LAST_UPDATE_PROGRAM_CODE = :B50 , LAST_UPDATED_BY = :B49 ,
    LAST_UPDATE_LOGIN = :B48 , LAST_UPDATE_DATE = :B47 , BILL_TO_PARTY_ID =
    :B46 , SHIP_TO_PARTY_ID = :B45 , PROGRAM_ID = :B44 , PROGRAM_APPLICATION_ID
    = :B43 , REQUEST_ID = :B42 , PROGRAM_LOGIN_ID = :B41 , BILL_TO_SITE_ID =
    :B40 , SHIP_TO_SITE_ID = :B39 , STATUS_FLAG = :B38 , OBJECT_VERSION_NUMBER =
    :B37 +1, INCIDENT_POINT_OF_INTEREST=:B36 , INCIDENT_CROSS_STREET=:B35 ,
    INCIDENT_DIRECTION_QUALIFIER=:B34 , INCIDENT_DISTANCE_QUALIFIER=:B33 ,
    INCIDENT_DISTANCE_QUAL_UOM =:B32 , INCIDENT_ADDRESS2 =:B31 ,
    INCIDENT_ADDRESS3=:B30 , INCIDENT_ADDRESS4=:B29 , INCIDENT_ADDRESS_STYLE=
    :B28 , INCIDENT_ADDR_LINES_PHONETIC =:B27 , INCIDENT_PO_BOX_NUMBER =:B26 ,
    INCIDENT_HOUSE_NUMBER =:B25 , INCIDENT_STREET_SUFFIX =:B24 ,
    INCIDENT_STREET =:B23 , INCIDENT_STREET_NUMBER =:B22 , INCIDENT_FLOOR=:B21 ,
    INCIDENT_SUITE =:B20 , INCIDENT_POSTAL_PLUS4_CODE =:B19 ,
    INCIDENT_POSITION =:B18 , INCIDENT_LOCATION_DIRECTIONS=:B17 ,
    INCIDENT_LOCATION_DESCRIPTION =:B16 , INSTALL_SITE_ID =:B15 ,
    INV_ORGANIZATION_ID= :B14 , OWNING_DEPARTMENT_ID = :B13 ,
    INCIDENT_LOCATION_TYPE = :B12 , INCIDENT_LAST_MODIFIED_DATE = SYSDATE,
    MAINT_ORGANIZATION_ID = :B11 , INSTRUMENT_PAYMENT_USE_ID = :B10 ,
    SLA_DATE_1 = :B9 , SLA_DATE_2 = :B8 , SLA_DATE_3 = :B7 , SLA_DATE_4 = :B6 ,
    SLA_DATE_5 = :B5 , SLA_DATE_6 = :B4 , SLA_DURATION_1 = :B3 , SLA_DURATION_2
    = :B2
    WHERE
    ROWID = :B1
    <****----------------------END STATEMENT---------------------------------------****>
    After that statement this is what the tkprof generated reports shows
    <****------------------------------------TKPROF-----------------------------------------****>
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 1 1 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.00 0 1 1 0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 175 (recursive depth: 1)
    Rows Row Source Operation
    0 UPDATE CS_INCIDENTS_ALL_B (cr=0 pr=0 pw=0 time=0 us)
    1 TABLE ACCESS BY USER ROWID CS_INCIDENTS_ALL_B (cr=1 pr=0 pw=0 time=0 us cost=1 size=285 card=1)
    SQL ID: aahpwzps8m6at
    Plan Hash: 0
    ROLLBACK TO UPDATE_SERVICEREQUEST_PVT
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.01 0 0 4 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.01 0 0 4 0
    Misses in library cache during parse: 0
    0 UPDATE CS_INCIDENTS_ALL_B (cr=0 pr=0 pw=0 time=0 us)
    1 TABLE ACCESS BY USER ROWID CS_INCIDENTS_ALL_B (cr=1 pr=0 pw=0 time=0 us cost=1 size=285 card=1)
    SQL ID: aahpwzps8m6at
    Plan Hash: 0
    ROLLBACK TO UPDATE_SERVICEREQUEST_PVT
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.01 0 0 4 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 2 0.00 0.01 0 0 4 0
    Misses in library cache during parse: 0
    Parsing user id: 175 (recursive depth: 1)
    <****------------------------------------END TKPROF-----------------------------------------****>

  • How to update cost condition VPRS and Updation from VPRS to new cond ZVPR

    Hi All,
    How to do and is there any way to update the VPRS cost condition whenever vendor sends confirmation of material and cost after purchase order.
    After receiving the confirmation form the vendor,the VPRS cost condition should get updated in the system automatically.
    We have one cost condition type ZVPR which is same and consists of same properties of VPRS. How to update this ZVPR condition from VPRS Condition.
    Thanks in advance....
    Regards....Venkat
    Edited by: venkat t on Feb 16, 2009 11:57 AM

    Hi venkat
    Check the link
    [How to update cost condition VPRS and Updating from VPRS to new cond ZVPR;
    NOTE : Dont post in many forums
    Regards
    Srinath

  • Mail freezes when updating large RSS feed boxes

    This is something I encountered and how I have formulated a work around. I have discovered that Mail will freeze when updating large RSS feed boxes.
    A little history. After discovery RSS and how they work, I began building a collection of feeds. They included feeds from many major news providers. Over the years, the number articles form some of these sources went into the thousands.
    As my database of articles grew, I encountered more severe and more frequent freezes of the application Mail. I began to take the computer off-line in order to work in these files. But inevitably, a situation would arise that would lead to the Mail application freezing.
    Isolation of the issue with Mail and to the RSS boxes within Mail. The freeze would not occur when RSS feeds boxes where collapsed. Also, the freeze only affected the Mail application. Mac OS was not affected and I was able to alway close Mail from with in the Force Quit menu. Also, the Force Quit menu affirmed that Mail was indeed frozen by listing it as also "not responding."
    Work around. To resolve this issue, I first choose to remove the number of RSS feed that I had subscribed to but used very infrequently. Second, I choose to delete old feeds from "never" to "every two weeks" from within the Mail preference menu (RSS sub-menu).
    I think it took a while for Mail to fully delete messages older than two weeks. In fact, when I began deleting whole feeds, it took some time for those feeds to be removed from my mail box tree. Within the Activity Monitor application, I could see that a lot of disk use was occurring, even though the OS was allowing me to continue to use Mail and other applications.
    To assist this process, I took my computer off-line and stepped away from it. Upon my return, the disk use was down to normal, the number of article in many RSS boxes where greatly reduced, and my disk had recovered over a GB of space. Also, Mail seems to be behaving properly, with smooth and quick performance.
    If you found this article, I hope the information provided has been helpful! After a quick search in to previous posts, an entirely similar post was not found. However, others are finding the Mail application will freeze, but not necessary for the same reason.

    Since I don't want to download any attachments from RSS feeds in Mail.app, is there any way to turn off the attachment download once and for all? I also get the beach ball for minutes when an item has a big attachment, and I fear my HD is cluttered with files I don't use.

  • Pricing Conditions are not updating in pricing procedure

    Dear Experts,
    I have created new condition table to maintain prices & assinged the same to access sequence. I have ticked the exclusive option also. But this option is ticked for each & every key combinations. Now I have maintained price on new key combination but system is picking old value only.
    Pl. help me.
    Thanks

    hi
    this can be possibility
    The validity of OLD condition record is say from Jan 2010 to Dec 2999
    Sales order date is say Sep1, 2010
    New Condition record valididty is from August 2010 to Dec 2999
    now as for same condition, you maintaining condition record which is actually overlapping, so go to VK12, and try to delet the OLD condition record or try to make Deletion Indicator for Condition Item
    kindly let us know why you created new condition record when you can update the old with new prices
    go to VK12
    select combination and maintain new price and mark old 1 for deletion

  • Automatic update of form

    I have a problem with form. suppose there is a table. this table is related with stock exchange data. stock exchange data updates after every second or two seconds. Now i need when the data of this table become update the form should be update automatically. can it possible without timer
    thanks

    Well a timer is the simplest way and re-query the data - although a timer can involve additional network traffic that you might not want.
    There is a decent PJC that Frank wrote that you might be able to extend and use instead of a timer - this Pjc works as a seperate thread in jInitiator so ensures no network traffic.
    The PJC is the Timeout one available from the downloadable demos.
    Hope this helps
    Regards,
    Bren

Maybe you are looking for

  • Running a report from a pl/sql procedure

    I'm trying to execute a report from a oracle procedure using UTL_HTTP.request and I keep getting a 'User-Defined Exception' error. Can anyone see what I'm doing wrong or have any other suggestions what might be wrong? Using Reports6i and Oracle 8.1.7

  • Problems printing envelopes on an HP Officejet Pro 8500 Wireless

    I have had this printer for over a year and have lived in frustration with the primitive and really disfunctional way it tries to print envelopes.  The left or right side placement of a flap up number 10 envelope gets misaligned as it is pulled throu

  • Copy/paste does not work on my DROID ULTRA

    It is so aggravating when I copy text and go to the message center or text someone and what I copied does paste. What pastes is what I had in the memory before I copied what I want to paste. It is so frustrating

  • LSMW using BAPI

    why we have to create PARTNER PROFILE while using BAPI in LSMW , and what is the correct way to create that

  • Pismo screen flickers

    My pismo screen has developed an intermitten screen flicker. When it flickers, it is very sensitive to touch. I can move the screen and it goes black and then when I move it again it comes back on. It also seams effected by tipping the machine forwar