How to undo update of checkbox after triggering when-new-record-instance

Hi,
I am using eBusiness Forms Personalization in 11.5.10 to alter the Receipts form in Purchasing. I want to prevent users checking the rcv_transaction checkbox if the destination is "Multiple" and, instead, click the "+" sign to explode the multiple record into it's many component records.
I can do this by invoking the when-new-record-instance trigger to make the "multiple" record fields unalterable and issue a warning message when the user selects such records. However, my problem is that - if the user clicks the checkbox as the first field in a "multiple" record, then this updates the checkbox to "Yes" BEFORE the trigger fires, which then locks the record for update.
What I need is a solution that either sets the checkbox to unalterable for "multiple" records BEFORE the user clicks into such records, OR a method of undoing the update of the checkbox after the record has been selected (I cannot do this by simply setting it to "No" by the trigger as this is still technically an update and locks the record).
Cheers
Graham

Hi Navnit,
Yes you are right, but it can work even we not plase quotation mark in it. But Yes I forget to place semi colon so now it is
IF :System.Cursor_Record = 1 THEN
   :Block.Col1 := '02:00';
ElsIF :System.Cursor_Record = 2 THEN
   :Block.Col1 := '07:00';
   ------and so on
END IF;Danish

Similar Messages

  • How to discover which field was clicked in when-new-record-instance

    Suppose: a multi-record block. The user is positioned on an existing record on field A
    Action: user clicks on empty (new) record on field B
    Question: how can I discoverer that the user clicked on field B in the when-new-record-instance? Already tried :system.current_item and :system.trigger_item. They both contain 'field A'.
    Edited by: user473811 on 26-aug-2010 4:56

    That should work. What version of forms are you running?
    I tested it out on Forms 9.0.4 just to make sure and :system.current_field, :system.current_item, :system.cursor_field, and :system.cursor_item all bring back field B when I run the form in debug mode. Is there logic in your when-new-record-instance trigger that is taking you back to field A before you look at the :system variables?
    I would run the form in debug mode if I was you and break on the first thing in the WNRI trigger and just step through it looking at those system variables so you can see what it happening, but it should work unless you have some bugged up version of forms or are doing a go_item in the trigger back to field A.

  • I'm new.  How do I update my feed after posting a new podcast?

    I'm sure this has been asked a bazillion times but i haven't found an answer.
    I just joined iTunes and received a confirmation email that my podcast feed has been accepted.  The email states,
    After adding a new episode, update your feed in the fastest possible manner with the ping service by visiting this URL:
    https://phobos.apple.com/WebObjects/MZFinance.woa/wa/pingPodcast?id=(ID REMOVED)
    But when I click the link it instead takes me to this link...
    http://itunes.apple.com/us/genre/ios/id36?mt=8&id=(IDREMOVED)
    And I cannot find any option to update my feed.  Please help and thanks!

    Once your feed has been accepted you are given the URL to the iTunes Store, which is presumably what the second link you have posted is.
    You don't have to interact with the Store any further. Just add a new episode to the podcast and re-upload the feed. Subscribers will see the new episode immediately, but it usually takes the Store a day or two, occasionally longer, to catch up.
    Incidentally I don't know where you saw the instruction to ping the Store, but that facility was removed over a year ago. (Not that it ever did much good anyway). The Store will update when it gets round to your feed.

  • How to populate automatically in a when-new-record-instance trigger?

    I have a form which displays around ten rows with about 5 columns. Whenever i will create a new record, i would like to place an initial value on the first column of every record. How do I do this? If I place the value in the properties of the item, it would be replicated on all the rows. What I want is to put a different value for each row created. But the problem is there is only one item property that i can put a value on (displayed 10 times). How do i put different initial values for each record created without creating new items for each record. is this possible? Thanks a lot

    Hi Navnit,
    Yes you are right, but it can work even we not plase quotation mark in it. But Yes I forget to place semi colon so now it is
    IF :System.Cursor_Record = 1 THEN
       :Block.Col1 := '02:00';
    ElsIF :System.Cursor_Record = 2 THEN
       :Block.Col1 := '07:00';
       ------and so on
    END IF;Danish

  • How can i change the code in when new form instance trigger using JDAPI

    Hi all,
    Can anyone tell me how can i use JDAPI to modify the when-new-form-instance trigger in all my forms,coz we have around 500 FMB's ,if this is possible by using jdapi it will be better for us..
    Thanks in advance..
    Najeeb

    Hi Najeeb,
    The code I've given you should cover the basic steps - you will need to have a basic knowledge of Java if you want to use the JDAPI, there's no way around that unless you go and buy one of the off-the-shelf products for this kind of thing (I think there's one called orcltoolbox..?)
    I've written an application that does all kinds of things to Forms specific to our needs, so it's a bit tricky to just pull out the code you need, but again, the basics will be:
    String formName="C:\some_dir\some_form.fmb";
    FormModule mForm=FormModule.open(formName);
    Trigger myWNFITrig=Trigger.find(mForm,"WHEN-NEW-FORM-INSTANCE");
    String myText=myWNFITrig.getTriggerText();
    And there you have your trigger text, to do with what you please. You could put this code in the main() method of one class if you want to keep things really simple - but see how you get on, if you have any more specific questions, do come back.
    Eric - that's a very good point about using Regular Expressions. I haven't used them in my JDAPI app because I wanted to keep all my .fmbs 6i-compatible for the short-term, and a posting I saw somewhere recommended sticking to Java 1.3. Which rules out the regex facility, which only appeared in Java 1.4. Now, though, I think I needn't have worried - it surely shouldn't matter which version of Java I use to make the changes to the .fmbs. My stupid!
    James

  • How do I update my ipod touch with my  new email address for my  itunes account?

    How do I update my ipod touch with my new email address for my itunes account?  I recently changed my email address and updated it on my itunes account but now my ipod keeps asking me for the password associated with my old email address.

    I did this and I still get a error message about either the
    password or the email account is incorrect!

  • I updated the iTunes, after that when I conect to PC it say insert the SIM. I have SIM in.

    Dear
    Fisrtly, I would like to explain about my problem. I updated the iTunes after that, when I connect with USB. It is saying, there is no SIM card installed the iPhone you are attempting to active.
    And next message says, please disconnect and insert a SIM card in the iPhone, but I tried by different SIM cards.
    The slit is ok as well; I think something wrong with this iTunes I updated, because this is not my first time.
    I would like you give me some information about it, what should I do?
    Best Regards
    J.M.E.R

    Authorized reseller or not, it's a gray market phone that must have been bought in the US and shipped to Saudi Arabia. Are you sure it was an authorized iPhone reseller, or was it a general Apple reseller who is not authorized to sell iPhones? Whatever it was, they are violating their agreement with Apple, and, as the phone has FaceTime on it, they are violating KSA law.
    However, the good news is that it will work if you remove the Verizon SIM and insert a local SIM - unless they phone is actually a used phone that is locked to some other former owner. But that will be obvious as soon as you try to activate it. You can check its history at: Apple - Support - Check Your Service and Support Coverage

  • HT4623 How do I update my iphone 5 to the new ios7 software using itunes on my computer?

    How do I update my iphone 5 to the new ios7 software using itunes on my computer?

    Just for clarity, do you have iTunes 11.1 now on your computer?  If yes, when you connect your iPhone via your USB / Lightning cable is your iTunes opening with a small box near the top right of screen that shows your iPhone connected?  If yes then you can click through the various views of your iPhones content areas, such as Music, Photos, etc.  You will eventually get to a screen that is Status.  On that screen you should see the iOS Update option. 

  • How can I update my ipad 2 to the new OS system when I can't find the software

    how can I update my ipad 2 with the new operating system?  I am in 4.3.5 version

    iOS- How to update your iPhone, iPad, or iPod touch

  • Guys i have a problem, I used to download apps from one of my friends apple id, now i created my new account, but when i was about to update my apps its asks for my friends id and password. now how could i update my old apps from my new apple id?

    Guys i have a problem, I used to download apps from one of my friends apple id, now i created my new account, but when i was about to update my apps its asks for my friends id and password. now how could i update my old apps from my new apple id?

    The_Tonmoy wrote:
    I have no communication with my that friend :/ So it means i need to delete those apps? There's no other solution to update those apps?
    No.  purchases are forever tied to the apple ID used to buy them.  Delete them and buy your own copies.

  • Question: How do I open CS5.5 after migrating to new laptop w/ Mac OS 10.8.4?

    question: How do I open CS5.5 after migrating to new laptop w/ Mac OS 10.8.4? I received a dialogue box stating I needed to run Java SE runtime (or something to that effect), when I ok'd it, and try to open cs5.5 Indesign, the program quits on startup. If I uninstall program & reinstall, will my documents be unscathed, or are they toast? Help!

    Hi Art Bunny Rabbit,
    Migration from one machine to other causes problem most of the time. So I recommend you to reinstall the software. Done worry none of your documents will be effected.
    Regards,
    Romit Sinha

  • HT4623 how can i update my 1st gen ipad when its running at 5.1, i do the update scan and it just says ipad is up to date? why will it not update to 7.1???

    how can i update my 1st gen ipad when its running at 5.1, i do the update scan and it just says ipad is up to date? why will it not update to 7.1???

    iPad 1's can only be updated to IOS 5.1.1. The iPad 1 doesn't have the processing power to handle any higher.

  • How do i retreve my bookmarks after buying a new computer

    how do i retrieve my bookmarks after buying a new computer

    For other information stored in the Profile folder on your old computer.
    See: [http://support.mozilla.com/en-US/kb/Profiles#How_to_find_your_profile How to find your profile] and [http://kb.mozillazine.org/Show_hidden_files_and_folders Show hidden files and folders]
    When copying data from your OLD profile to your NEW profile, copy individual FILES (some require more than 1 FILE). DO NOT copy the entire OLD PROFILE folder; it will not work.
    See: [[Recovering important data from an old profile]]

  • How to detect when new record is created?

    How can I detect when new record is created in PA30? For example, a newly create record for infotype 6 (address).
    Can I get the information in PCL4?

    Hi Irene,
    the field PAnnnn-AEDTM, nnnn is the infotype number, will give you the date when the record was last changed.
    Not sure if you can precisely get the date when the infotype was created. I dont feel the need to read cluster form the same.
    Regards,
    Pulkit

  • How to update agent list after triggering workflow?

    Hi Guys,
               Is there any function module to update the agent list after triggering the workflow? i mean after triggering workflow, the user is maintaining some approving officers in their table and they are expecting the workflow should route the workitem to  those newly maintained approving officers. So can any one help me to solve this issue.
    Regards,
    Safiq

    if any agent maintained in the customized table, how can I update
    those agent with existing available agent list.
    It sounds like updating the existing workitem container with the new updated values. right? You mean to say initially workflow is triggered and the agent list is populated in the workflow container. But after the workflow is triggered if the table is updated with some new entries, then these new entries must alos be included in the agent list container element in the workflow container.
    If this is the case the you have to modify the multiline container element of the workitem container. You can make use of the standard function module SAP_WAPI_WRITE_CONTAINER but this function module needs to be called each time when evenr a new entry is created and you have to check what are all the workitems that you want to update ,
    I think its a bit difficult to update all the workitems which are with reagrd to this scenario.. so you have to check out some other simple way. But on a whole what I can say is you can update an existing workitem container by using the FM mentioned above...

Maybe you are looking for

  • Can't login to Business Rules

    Hi there. I just cant see the business rules EAS Console. I mean when I click on Business Rules....the error is "Error logging in to Business Rules. The repository has not been configured or you are not authorized to use Business Rules.". Detailes er

  • Flash Media Encoder for video files streaming.

    Is there a free Encoder to play video files instead of Live video feed? Thank you.

  • How do i transfer songs from ipod to library

    how do i transfer songs from ipod to library

  • Creating Empty/Blank .mp3 with AIR

    Hello, Is it possible to create a blank or empty .mp3 file having specific duration using Adobe AIR? If it is possible, can any share the documentation and or code for the same. Thanks in advance.

  • Need help changing phone language

    My current phone language is french, I dont know any french at all and cant navigate through menus. I've been trying to switch languages but just cant figure it out. I'm using a nokia 500.