Form Change it status from Query to others without any reason

Hello,
I have two forms(develper 10g R2) first one works fine if I call that form via menu and want to exit without any modification or insertion it will not ask for saving or cancelation but the second form ask every time for saving and cencellation when I call that form, without any modification/insertion the problematic form have three blocks first block is Control block(database block =NO) and when I called form the cursor moves directly in to the Control block and if I want to exit without touching anything it ask for saving/cancelling,
on exit I wrote code like this
IF :SYSTEM.FORM_STATUS <> 'QUERY' THEN
ELSE
exit_form(no_validate, full_rollback);
end if;
some one have idea why.
Thanks and Regards, Khawar.

Hi SIS,
I ran form in debug mode and continuesly monitor form status, it start with Status of NEW(is it normal??), since the status is new it ask for saving/cancel, I have another form(which behave normal) I did same with it, it also start with NEW status but when I assign a value to an item resides in Control block in WHEN NEW BLOCK INSTANCE trigger the form status changes to QUERY, so I applied same here and assign dummy value to dummy item, and it works fine.
Thanks, Khawar

Similar Messages

  • Is it possible to change the status from Bid Rejected to Bid submitted?

    Hi there.
    We are working in SRM 4.0.
    One user rejected a bid, but it was a mistake. Is it possible to change the status from Bid Rejected to Bid submitted?
    We would like to modify the status from Bid Rejected to Bid submitted or Awaiting Approval to Bid submitted in order to solve errors.
    Thanks and regards.
    Raúl Moncada.

    Hi ,
    Use Function Module : BBP_PD_BID_STATUS_CHANGE
    Supply Activity = 'QOSU' .
    Regards,
    Sachin S M

  • Change Build Status From PL/SQL

    Apex 3.2
    Please see my previous thread
    Change Build Status From PL/SQL
    We tried this code
    CREATE OR REPLACE procedure APEX_030200.pr_sup_unfreeze_apex
    as
    begin
      for l_app in (select id
                          ,security_group_id
                    from APEX_030200.wwv_flows
      loop
        wwv_flow_api.set_security_group_id(l_app.security_group_id);
        wwv_flow_api.set_flow_status (p_flow_id     => l_app.id
                                     ,p_flow_status => 'AVAILABLE'
      end loop;
      commit;
    exception when others then
      dbms_output.put_line (sqlcode);
      dbms_output.put_line (substr(sqlerrm,1,250));
      dbms_output.put_line (substr(sqlerrm,250,250));
      rollback;
      raise;
    end;but recieved error
    BEGIN APEX_030200.pr_sup_freeze_apex; END;
    Error at line 1
    ORA-20001: Package variable g_security_group_id must be set.
    ORA-06512: at "APEX_030200.PR_SUP_FREEZE_APEX", line 51
    ORA-06512: at line 1
    Any ideas ?
    If I just run
    select id,security_group_id
    from APEX_030200.wwv_flows
    ID SECURITY_GROUP_ID
    4000 10
    4050 10
    4155 10
    4300 10
    4350 10
    4400 10
    4411 10
    4500 10
    4550 10
    4700 10
    125 1.07701203277056E15
    1000 1.08971536719791E15
    1010 1.08971536719791E15
    114 1.41432144152464E15
    123 1.43440509319107E15
    160 2.25192481868561E15
    190 2.41432896355852E15
    100 3.93632559648557E15
    103 3.93632559648557E15
    130 5.9543257997941E15
    140 5.95501879180405E15
    Edited by: Gus C on Nov 8, 2012 5:43 AM
    Edited by: Gus C on Nov 8, 2012 5:50 AM

    Hi Gus,
    as Rod already mentioned, wwv_flow_api.set_flow_status would be the way to go. It's no officially documented or supported API but it will do what you want. Just be prepared that it might be removed in the future. The API is defined as following:
    procedure set_flow_status (
        p_flow_id                   in number,
        p_flow_status               in varchar2,
        p_flow_status_message       in varchar2 default null,
        p_restrict_to_user_list     in varchar2 default null )Example code to make all applications unavailable (has to be executed as APEX_040200).
    begin
        for l_app in ( select id,
                              security_group_id
                         from wwv_flows )
        loop
            wwv_flow_api.set_security_group_id(l_app.security_group_id);
            wwv_flow_api.set_flow_status (
                p_flow_id     => l_app.id,
                p_flow_status => 'UNAVAILABLE' );
        end loop;
        commit;
    end;Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Cannot Change Item Status from Active to Inactive

    Dear All
    Cannot Change Item Status from Active to Inactive on Item master screen. can any one provide the steps.
    Best Regards
    Arifuddin

    Check on below link under "Defining Item Status Codes"
    http://docs.oracle.com/cd/E18727_01/doc.121/e13450/T291651T291798.htm#I_t_ditstatus
    thanks

  • API for Work Order status from Released to Unreleased or any user defined s

    Dear All
    Is there any API for to change work order status from Released to Unreleased or any user defined status.
    Take care
    Aamir

    Hi Ben,
    As query is resolved, you should close the Thread after rewarding to the Concerned
    Thanks,
    Manish

  • I purchased my iPad in your London store on 20th May 2012, serial no. DM*******J8T. I have been purchasing apps from the London store,  without any problems.

    e-mail:         iTunes store uk
    date:                  170813                 
    subject:         iPad Problem
    Sirs,
    I purchased my iPad in your London store on 20th May 2012, serial no. DM*******J8T. I have been purchasing apps from the London store, without any problems. Last week, however, receiving a prompt that updates were available, I logged on hoping to update, which resulted in the following window:
    >Account not in this Store.
    Your account is not valid for use in the US Store.
    You must switch to the UK Store before purchasing.<
    I have done nothing to facilitate this change in stores and have  no way of knowing how to switch back to the UK store.
    This is a recent development, I have not had any problems connecting to the UK store before, in fact it happened automatically. Can the fact that I am not actually in the UK now but spend most of my time in Indonesia? This has not effected my purchases from the UK store before, however.
    Please help.
    Best regards,
    Maarten Timmer
    <Personal Information Edited by Host>

    Change back to the UK App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3. Tap on your Apple ID
    4.Tap "View Apple ID"
    5. Enter your user name and password.
    6. Tap "Country/Region."
    7. Tap "Change Country/Region"
    8. Select the region where you are located.
    9. Tap "Done".

  • Why our game removed from sale without any reasons??

    Our game golden miner is forced to be removed from sale without any reasons.
    Does other developers has similiar problem? How do you solve it?
    Thank you.

    If colorme will please forgive me, I have a quick question for you, KT...
    I'm simply trying to compute the cube of an integer, which I thought would be an easy job in Obj-C. But when I code:
    NSLog(@"20^3=%d", 20^3);
    The result in the log is 23. What's with that? Someone said something about using pow. Hello?? Is this a math program or a Batman app? Someone else asked if I could hum four bars of it. I don't think anyone is taking the time to read my question, and I'd prefer a simple answer without all the tUde!! Do you see what's going on in this case?
    - Ray

  • After updating my software from snow leapord to mountain lion my  MacBook   Pro suddenly keeps shutting down without any reason no warning suddenly just restarts... Can someone help

    After updating my software from snow leapord to mountain lion my  MacBook   Pro suddenly keeps shutting down without any reason no warning suddenly just restarts... Can someone hel

    Note the date and time the problem occurred, then go to Applications/Utilities/Console and copy the log starting at the time of the crash. Paste the log in a reply. Please do not use a screen shot as they can be hard to read. If there are repeated runs of the same messages, please post only one run. Be selective about what you post and don’t  post huge amounts. Make sure there is no personal data visible. Information learned from Linc Davis.

  • I get calls from N or NNNN without any numeric numbers so I can't block these calls.  What can I do?

    I get calls from N or NNNN without any numeric numbers so I can't block these calls.  What can I do?

        tdesomma1,
    That is definitely odd! Are these calls telemarketing calls? Have you answered and requested that they remove you from thier calling list?
    SandyS_VZW
    Follow us on Twitter @VZWSupport

  • Sharepoint Designer - Two step List Workflow task item is not changing the status from not started to Complete

    Hi 
    Using SPD i am creating list workflow.
    Scenario: Employee submits a request . Task assign to manager. Manager can either approve/ reject. If approve then change the state column to "done". If rejected the state column to "Rejected".
    Problem is "Assign a to do item" is assigning the task to manager. But after manager approves the status in the task list not changed to "Completed". Still it is showing "Not started". I dont want to manually complete the task.
    Please help me for automatic process. 
    What i should do to change the status to "Complete" automatically after manager approval
    Regards
    Jhanani
    Janani.R

    Hi Janani,
    From your description, you would like to create an approval workflow for a list. When an employee submit a request to the list, an approval task should be assigned to manager, then manager could approve or reject the request. From the request list,
    we should be able to see the Approval task’s status.
    Not understand the reason of designing the workflow to two steps, an approval action should be enough from my understanding. For producing, I create a list named Request list, then customize it in InfoPath form to add a Request field for stating request
    content. Then add a workflow to list named Approval task, add the action of Start an approval process with administrator and make the workflow automatically start when item is added.
    The image below shows the status of Adding items, Approving and Rejecting. Please check if it could meet your requirement.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Change Report Status from "completed / passed" to "Completed"?

    With Captivate 5, is it possible to change the Report Status from "completed / passed" to "Completed"? The "completed / passed" given is causing issues with my LMS thus need "Completed" only. Is this possible with version 5 or even version 6?
    Thank you in advance for any help!

    Hi There,
    Thank you for reaching Adobe Community.
    You can select the below settings from Edit > Preferences >  Quiz > Reporting panel. You can change the Status representation to Incomplete > Complete.
    Here is the screen shot frm ScormCloud LMS:
    Thanks!

  • Change work status from Excel interfase directly

    Hi,
    Anyone knows if there is a way to change the work status directly from the Excel interfase? I mean, with vba code or some function instead of using the web interfase?
    Thanks.
    Regards

    Hi.
    I have the same need in MS. I would like to change work status directly from Excel but don´t know how to do it.
    Can you please clarify about the program UJW_WS_TEST? I don´t know what is this (it probably is different in BPC MS 7.5?)
    Thanks.

  • MIGO : CHANGE FIELD STATUS FROM DISPLAY TO EDIT FOR BATCH

    DEAR GURU
    I HAVE CONFIGURED SHELF LIFE FOR OUR PLANTS. WHEN A PLANT USER CREATING RESERVATION FOR SHELF LIFE ITEM , SYSTEM IS ASKING FOR BATCH NUMBER & THEY ARE SELECTING ANY  BATCH FROM F4 LIST.
    AFTER THAT WHEN STORE USER IS CREATING ISSUE SLIP  AGAINST THAT RESERVATION, BATCH NO IS SHOWING IN DISPLAY MODE . COULD WE CHANGE THIS FIELD FROM DISPLAY TO EDIT MODE, SO THAT IF PLANT USER ENTERED WRONG BATCH ,STORE USER CAN CHANGE IT DURING ISSUE SLIP.
    REGARDS
    RAJ

    hi..
    Please check.
    MSC2N or MSC5N....

  • Change my account from country to other ..

    i want to Change my account from us to my country  ..
    in itune its force me to spend my money ..

    If you are no longer in the US then you can try contacting iTunes support via this page and ask them if they can remove the balance from your account :http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Change System Status of SO item dynamically based on Reason for Rejection

    Hi ppl,
    Our SAP user has raised a requirement as described below:
    In sales order (in creation mode (VA01) or change mode (VA02)), if at the item level, the reason for rejection is mentioned, then the system status for that item should be automatically set to Technically Complete SET (TECO); and if the user removes the reason for rejection for the item, then the system status Technically Complete should be RESET automatically.
    We are looking for any user-exit or BADI available which would be allow this dynamic change of system status based on the reason for rejection field. (No manual interaction for setting or resetting the system status).
    Technically, the functionality is based on the below fields:
    Reason for Rejection: VBAP-ABGRU
    System Status: JEST-STAT
    Please provide suitable inputs.
    Thanks,
    Dawood
    Edited by: Dawood.S.Ghasletwala on Jun 29, 2009 3:14 PM

    program: SAPMV45A
    User exit: USEREXIT_SAVE_DOCUMENT_PREPARE.
    loop at xvbap where updkz NE 'D'.
      if not xvbap-abgru is initital.
        "set your system state here.
      else.
       "reset your system state here.
      endif.
    endloop.
    hmmm you can as well try if you got all you need to know already in userexit: USEREXIT_CHECK_VBAP.
    Edited by: Florian Kemmer on Jun 29, 2009 11:53 AM

Maybe you are looking for