Area is protected from the update... why?

Forms [32 bit] Version 10.1.2.2.0 (Production)
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production

Hello I have the following problem with a form that I'm working on. I have an element of poplist 'control' with a number of different values. Associated with this list, I have a few boxes and an another poplist which are valid or not valid based on what value is chosen for the 'control' poplist.

What I was doing was using a trigger when-list-changed to call a procedure that sets the properties of other objects based on the value of the order poplist.

Download
IF :SUBMISSIONS.SUB_TYPE IN ('NC','LE','ISS') THEN
          :SUBMISSIONS.FIRST_ENTRY := 'FALSE';
          SET_ITEM_PROPERTY('SUBMISSIONS.FIRST_ENTRY',ENABLED,PROPERTY_FALSE);
          SET_ITEM_PROPERTY('SUBMISSIONS.FIRST_ENTRY',NAVIGABLE,PROPERTY_FALSE);
          :SUBMISSIONS.IC_REPORT := 'N/A';
          SET_ITEM_PROPERTY('SUBMISSIONS.IC_REPORT',ENABLED,PROPERTY_FALSE);
          SET_ITEM_PROPERTY('SUBMISSIONS.IC_REPORT',NAVIGABLE,PROPERTY_FALSE);
          :SUBMISSIONS.X_LICENSED_PROD := 'FALSE';
          SET_ITEM_PROPERTY('SUBMISSIONS.X_LICENSED_PROD',ENABLED,PROPERTY_FALSE);
          SET_ITEM_PROPERTY('SUBMISSIONS.X_LICENSED_PROD',NAVIGABLE,PROPERTY_FALSE);
          :SUBMISSIONS.NON_CANADIAN_REF := 'FALSE';
          SET_ITEM_PROPERTY('SUBMISSIONS.NON_CANADIAN_REF',ENABLED,PROPERTY_FALSE);
          SET_ITEM_PROPERTY('SUBMISSIONS.NON_CANADIAN_REF',NAVIGABLE,PROPERTY_FALSE);
          SET_ITEM_PROPERTY('SUBMISSIONS.CDR',ENABLED,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.CDR',NAVIGABLE,PROPERTY_TRUE);
     END IF;
     
     IF :SUBMISSIONS.SUB_TYPE = 'IC' THEN
          SET_ITEM_PROPERTY('SUBMISSIONS.FIRST_ENTRY',ENABLED,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.FIRST_ENTRY',NAVIGABLE,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.IC_REPORT',ENABLED,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.IC_REPORT',NAVIGABLE,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.X_LICENSED_PROD',ENABLED,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.X_LICENSED_PROD',NAVIGABLE,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.NON_CANADIAN_REF',ENABLED,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.NON_CANADIAN_REF',NAVIGABLE,PROPERTY_TRUE);
          :SUBMISSIONS.CDR := 'FALSE';
          SET_ITEM_PROPERTY('SUBMISSIONS.CDR',ENABLED,PROPERTY_FALSE);
          SET_ITEM_PROPERTY('SUBMISSIONS.CDR',NAVIGABLE,PROPERTY_FALSE);
     END IF;
the problem I have is that the first time I open the form I can check boxes very well if they are available (I call this procedure in a trigger to post so request) If, however, I pass the list item to something like IC where a box is enabled, a value where it is disabled, and switch, then back Although the box seems permitted once again, if I try to check it I get an error saying that the domain is protected against editing. Any ideas why this would be?

Published by: little Bunny on December 3, 2009 09:59

Hello

When you disable an item using set_item_property (...) ENABLED, PROPERTY_FALSE), during activation, you will also need to set the INSERT_ALLOWED, UPDATE_ALLOWED, and DELETE_ALLOWED properties

That is to say

IF :SUBMISSIONS.SUB_TYPE = 'IC' THEN
          SET_ITEM_PROPERTY('SUBMISSIONS.FIRST_ENTRY',ENABLED,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.FIRST_ENTRY',NAVIGABLE,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.FIRST_ENTRY',INSERT_ALLOWED,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.FIRST_ENTRY',UPDATE_ALLOWED,PROPERTY_TRUE);
          SET_ITEM_PROPERTY('SUBMISSIONS.FIRST_ENTRY',DELETE_ALLOWED,PROPERTY_TRUE);

Arun-

PS: If you use it to update only, setting update_allowed to true only may be sufficient

Tags: Oracle Development

Similar Questions

  • FRM 40200:Field is protected from the update in the form of seeds

    Hi all

    I'm trying to update a record with the type 'OIE_AUDIT_ACTIONS' of the research, but I get this message below to update (I'm trying to uncheck the checkbox)

    "40200:Field FRM is protected against the update".

    Do we not have any method for updating the code above search without customize the seeded form.

    Please visit the link below to display the form.

    http://imgur.com/c4MEGUZ http://i.imgur.com/c4MEGUZ.PNG

    I was able to make back-end by using a sub request, but I need to do front end (I mean by application)

    "update fnd_lookup_values set ENABLED_FLAG = 'n' where lookup_type = 'OIE_AUDIT_ACTIONS' and LOOKUP_CODE = 'DECLINE.

    Please suggest me the process.

    Thank you

    Pavan

    Hello.

    For wath I can see (correct me if I'm wrong), it is are seeded Payables Oracle Application registers. If you touch these recordings and there is no way to do unless you use the back-end, you may lose control of your data.

    What exactly are you trying to achieve?

    Octavio

  • selection of T-list which gives error "Fied is protected from the update.

    HII all,.
    I managed on the basis of search based charater, for this
    I admit 'user types-in' characters in a text element "vchar.

    That the user types into the characters, the t-list (vlist) point is filled with matching characters
    typed by the user.

    I test it on a block (jmaster) fields not db...

    Once I make the selection of the tlist, I want the 'vchar' field to contain the selected value/label in the
    t-list (vlist).

    the problem is when I click on enter and make the selection in the list t
    populated by items, navigate to the next field "tcode.
    "vchar" remains empty and the error... "The Fied is protected against editing" gets displayed on the status bar.

    Here are my triggers;
    PRE-FORM  at form-level
    SET_ITEM_PROPERTY('VLIST',DISPLAYED,PROPERTY_FALSE);
    
    WHEN-TIMER-EXPIRED at form-level
    If GET_APPLICATION_PROPERTY(TIMER_NAME) = 'COUNT_TIMER' Then
    
    SET_ITEM_PROPERTY('VLIST',DISPLAYED,PROPERTY_TRUE);
    :GLOBAL.M_SRCH := :VCHAR;
    
    declare
    v_char varchar2(200) := 'select VLIST,VLIST 
                             from JRNY_MASTER 
                             WHERE VLIST like '||'''%'||:GLOBAL.M_SRCH||'%''';
                             
    v_rg_id recordgroup;
    v_err NUMBER:= 0;
    BEGIN
    v_rg_id := create_group_from_query('recgrp1',v_char);
    v_err:= populate_group(v_rg_id);
    
    clear_list('JMASTER.VLIST');
    populate_list('JMASTER.VLIST',v_rg_id);
    DELETE_GROUP(v_rg_id);
    
    END;
    Synchronize; 
    
    End if ; 
    
    WHEN-NEW-ITEM-INSTANCE for field 'vchar'
    DECLARE
      timer_id Timer;
    BEGIN
      :GLOBAL.M_SRCH := :VCHAR;
      SET_ITEM_PROPERTY('VLIST',DISPLAYED,PROPERTY_TRUE);
      SET_ITEM_PROPERTY('VLIST',ENABLED,PROPERTY_TRUE);
      SET_ITEM_PROPERTY('VLIST',UPDATE_ALLOWED,PROPERTY_TRUE);
    
      timer_id := CREATE_TIMER('COUNT_TIMER', 500, REPEAT);
    END; 
    
    POST-TEXT-ITEM for field 'vchar'
    :vchar := :JMASTER.VLIST;
    Delete_Timer('COUNT_TIMER');
    SET_ITEM_PROPERTY('VLIST',DISPLAYED,PROPERTY_FALSE);
    
    WHEN-VALIDATE-ITEM for tlist item 'vlist'
    :vchar := :VLIST;
    Please if some1 have understood my problem, so please answer me
    What was wrong with my logic...

    TY

    A few assumptions:
    For the article of VLISt, you must also set INSERT_ALLOWED to true, as this is a new record.
    also for the article of VLIST, you should navigable mouse to false.

  • How to protect the land from the update

    Hi all

    I am using oracle 10 g forms,

    I created a form and the form has fields of 15 15 fields I need only 5 fields need to be updated by the user. All fields must be protected from the update.

    I put the update allowed the 'NO' in the property palette and I tried

    Set_item_property('BLK.) Field_Name ', Update_allowed, Property_false); for these trigger pre_block and also I tried when_new_block but it does not work, all can tell me how to do this.

    And one more question how do I move the cursor to the first record, when I get back a value and press the button of the field is questioned and new block opens with the data, but the cursor is in the last line that is a blank line, then it must be in the first line. I tried premier_enregistrement but it dosnt works.

    All can tell me how to do what you please.

    Thanks and greetings
    Srikkanth

    Hello

    Set_item_property('BLK.Field_name',Update_allowed,Property_false); for those item in pre_block trigger and also tried in when_new_block but it doesnt works, Can any tell me how to do this.
    

    trigger for pre-registration or time-new-record-instance
    write as

    if condition then
    Set_item_property('BLK.Field_name',insert_allowed,Property_false);
    Set_item_property('BLK.Field_name',Update_allowed,Property_false);
    else
    Set_item_property('BLK.Field_name',insert_allowed,Property_true);
    Set_item_property('BLK.Field_name',Update_allowed,Property_true); 
    
    And one more question How to bring the cursor to the first record, When i enter a value and press button the field is queried and new block opens with data, but the cursor is in the last line that is empty line, So it need to be in the first line.I have tried FIRST_RECORD but it dosnt works.
    

    can you show us the code?

  • Win Update has 35 'language' listed on my update package. How can I get these updates ON my machine. I NEVER want to add to my computer. I want this great list of languages removed from the update list. How to remove the.

    Win Update has 35 'language' listed on my update package.  How can I get these updates ON my machine.  I NEVER want to add to my computer.  I want this great list of languages removed from the update list.   How to remove the.

    Hello

    If they are not installed then right click on them and HIDE

    If they are installed - Control Panel - Windows Updates - down left - installed updated - uninstall

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • Windows Automation api. Setup error: cannot update your XP files because the language installed is different from the update.

    Installing Win AP Automation! 3.0 to accelerate VB Express 2010.

    Warning message:

    Update for MS Wim (KB971513) Setup error

    Setup cannot update your Windows XP files because the language installed on your system is different from the update language.

    My XP language is Norwegian. The rest of my 'stuff' MS is English.


    • What you have already tried to solve the problem

    Hello

    I suggest you to check the article mentioned below.

    Error message: Setup cannot update your Windows XP files

    http://support.Microsoft.com/kb/555042

    I suggest to select the language appropriate to the download page and check if you are able to install the update on the system or not. The update that you are trying to install on the system must be of the same language as installed.

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • I have download ESXi 3.5 VMware site, write on CD, but unable to boot from the CD, why? ESXi installation does not

    I have download ESXi 3.5 VMware site, write on CD, but unable to boot from the CD, why? ESXi installation does not occur.

    Please help on this issue.

    Since there is no integration PAM for ESXi, you cannot authenticate to ESXi itself using active directory.  -What are you talking about?  You can always have virtual machine with windows and active directory.

    -KjB

    VMware vExpert

  • While trying to upgrade to remote desktop I get the following error message: Setup cannot update your Windows XP files because the language installed on your system is different from the update language.

    KB952155 Setup Error.

    While trying to upgrade to remote desktop I get the following error message: Setup cannot update your Windows XP files because the language installed on your system is different from the update language. Now, that - what it means and how can I fix it? I have installed SP3

    Eivind Aakhus Hello,

    If you have the latest version of Office installed on your computer remotely, then you need to enable the Active X control.

    Follow these steps to activate the ActiveX module.

    a. open Internet Explorer by clicking the Start button, and then click Internet Explorer.

    b. click Tools, point to manage add-ons and then click Enable or disable add-ons.

    c. in the list view, click to view all ActiveX, ActiveX controls downloaded controls.

    d. choose the one you want to activate, and then select Enable.

  • I can't install the sp1 or sp2 from the difficulties why on windows xp?

    I can't install the sp1 or sp2 from the difficulties why on windows xp?

    Hi sjones1209,

    1. What happens when you try to install the service pack on the computer?
    2. You receive an error message?
    3. Did you the latest changes on the computer?
    4. How you install the service pack on the computer?

    How to obtain the latest Windows XP service pack

    http://support.Microsoft.com/kb/322389

    Your question does contain all the required information necessary for us to help you. Please provide more relevant information to continue troubleshooting as a result.

    How to ask a question

    http://support.Microsoft.com/kb/555375

  • I get this error code 646 when I try to download an update from the update of the window. __

    Update of security for Microsoft Office Outlook 2007 (KB972363)

    Download size: 11.0 MB

    You may have to restart your computer for this update is taken into account.

    Update type: Important

    A vulnerability of security in Microsoft Office Outlook 2007 that could allow arbitrary code to run when a malicious web page that is updated it is open. This update resolves this vulnerability.

    More information:
    http://support.Microsoft.com/kb/972363

    Help and Support:
    http://support.Microsoft.com/?ln=en-us

    Hello

    Try this 1st to see if it helps, and it should:

    Description of the Patch registration cleanup tool
    http://support.Microsoft.com/kb/976220/

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

    If necessary :

    Try this - Panel - Windows Updates - on every update that will not be installed - click on the important updates
    or the update itself - double click a view more information (or click top then discovers on the right)

    Those who will take you to a page where you can download the update.

    Or go here and the KBxxxxxx number to download it.

    Download Center - mount the KBxxxxxx.

    Microsoft Download Center
    http://www.Microsoft.com/downloads/en/default.aspx

    Download - SAVE - go to where you put them - click on - RUN AS ADMIN

    Then you can right click on the update in the updates Windows and HIDE.

    If you get an error Installer install this version:

    Windows install 4.5 Redistributable
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=5A58B56F-60B6-4412-95B9-54D056D6F9F4&displaylang=en

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

    Then run this:

    How to reset the Windows Update components? -a Mr Fixit
    http://support.Microsoft.com/kb/971058

    Description of the system for Windows Vista, Windows Server 2008, update tool and
    for Windows 7
    http://support.Microsoft.com/kb/947821

    ------------------------------------------------------------
    Because these are all Office updates you might get more information if necessary in the Agency of those groups that
    may have experienced the same problem.

    Office newsgroups
    http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspx

    Microsoft.public.office.misc discussions
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Office.misc&cat=en_us_01cb749f-c998-4762-8099-df71793c11c7&lang=en&CR=us

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

    If necessary you can incident free get reports however the above should take care of it for you.

    Windows updates - free Incident report

    Go here and click on-> Windows Update fails while searching, downloading or installation of updates
    http://support.Microsoft.com/GP/wusupport#tab3

    The security updates, you can get free support Incident report
    http://www.Microsoft.com/protect/resources/support.aspx

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • I deleted the history in the "Library/history" window, but the pages are still visible from the menu "history/restore closed tabs" item in Firefox 29, even if I restart.

    In previous versions, when I deleted a page in the window (separated) from "Library of history", it was no longer visible from the history options. Now, I delete a record in the (separate) window "/ the history of the library" and always visible element of menu 'story/restore closed tabs '. It is essential for me, because I share the same book with my two colleagues. Thank you very much for your answers in advance.

    There are much easier and more suitable methods.

  • Songs of my music are also deleted from the playlist.

    The new feature added to the playlists of songs are not added to my music is awesome. The only problem is that if you delete a song (or album that contains a song on a playlist), it is also deleted from the playlist.

    Everyone would like to have (at least the option) to keep the songs on a same so removed my music playlist?

    Sorry, you can not. Playlist is only a link to the current music file.

    If you pull the carpet (delete the file), the playlist will link dangling to nowhere.

  • using a macbook pro and IMAC (El Capitan) - work done and stored in iCloud are not accessible to the IMAC - why and what is the solution?

    I can access iCloud of both devices (1 x macbook pro & 1 x IMAC, the two OS X El Capitan)-work on the macbook pro is stored in iCloud, but I can't access it from the IMAC. There is no symbol of cloud dotted next to folders - why can I not access at work?

    What kind of work and how you went about saving the document to iCloud.

  • Windows Vista, suspended from the update

    Hello. I installed the updates last night. Woke up this morning to configure updates. Past stage 0 in step 3, and then is returned from stage 0 to stage 3.  Has been suspended in 100% of phase 3 now for at least 45 minutes. (I took a walk during that time, so don't know if it may be passed through the loop once.) Is it safe to turn off the computer and attempt to restart? The update process takes about 2 hours until this morning, not to mention the update before I go to bed last night.

    Sorry, I can't provide because I can't access my PC to check their.

    Ok. A took a risk and restarted (via the power button / stop) in safe mode, and then rebooted normally and it worked.

  • Automatic updates from the update configuration failure; Returns the configuration of previeous... Does anyone else have this problem? It started right after I uninstalled Norton anti-virus.

    I get the auto-mises to day ok; my machine tells me ' don't turn or turn off your computer, install the update 1 of 4' but when I can back up the next day I get the same message except that he says it configures windows updates... then after a while, said "failure to configure updates, return to the preveious configuration & rises."   That is what it is?

    Hello

    ·         You receive error messages?

    ·         This happens with all the updates?

    ·         What are the updates, those who are causing these question?

    Method 1:

    Try running this utility for troubleshooting and check if it works: Open the troubleshooting Windows Update tool http://windows.microsoft.com/en-US/windows7/Open-the-Windows-Update-troubleshooter

    Also try to reset the windows update components: How to reset the Windows Update components? http://support.Microsoft.com/kb/971058 (also applies to Windows 7)

    Method2:

    I suggest you put the system to boot and see if the problem still occurs. Follow the steps mentioned in the article mentioned below.

    How to troubleshoot a problem by performing a boot in Windows Vista or in Windows 7 http://support.Microsoft.com/kb/929135

    Note: when you are finished troubleshooting, follow step 7 to start the computer in normal startup.

    Method3:

    Also, try to follow the steps in the article next, if the above methods do not work:

    The update is not installed successfully, you receive a message, and the computer restarts when you try to install an update in Windows Vista and Windows 7 http://support.Microsoft.com/kb/949358

Maybe you are looking for

  • Cannot open any attatchements in my windows live

    Hello just got a new laptop.dell inspiron .for some reason that I can't open any attatchements do I have to specify a default program, or install a special program? TKS for any help :-)

  • wireless connection with the unidentified network

    Hello I have recently moved house and who to connect my computer to the wireless network that we installed. He works to connect said however that the network is 'unidentified' and I can't connect to the internet. I tried to diagnose the problem, but

  • Why Adobe Premier expire when I try to access a module?

    I have a module called overcome price Objections pre-assessment. It's a quiz component that I created in Adobe Captivate 9 (trial version). the module is located in my project called Copy3_Master Electronics sales philosophy class. For the last two b

  • License problem Photoshop CS6

    Hi, I have format my computer and now I have problem with my license number. When I write and then I click on next the program displays the message following (invalid license number). This license has been installed without problem before.

  • Parameter detection processor graphics card Nvidia GeForce video card

    I have a brand new Dell Windows 10 laptop.  It has a Nvidia GeForce 960 M 4 GB GDDR5 graphics in addition to the Intel video card, the computer comes with.  In the settings "Preferences / Performance" of Photoshop, it just says that the Intel HD Grap