Restrict insertion of records for the second time.

I have a Form with header and Details Block.I make an entry for the first time in both header and details block with some three field combination such as Item code,item category and region
Records are Inserted in the respective tables.Now when i am going to enter in the form with that same three fiel;d combination, INSERT and DELETE should be Restricted.How to Implement the same.

hi Amatulla,
As u said i tried ur condition in "When create record".But that fails.
So i tried the same in "When new Block instance".Getting 50% of my Desired Results.
Here's the Condition i gave
IF CNT > 0 THEN
SET_BLOCK_PROPERTY('TI_PPS_DETAILS_V',INSERT_ALLOWED, PROPERTY_FALSE);
SET_BLOCK_PROPERTY('TI_PPS_DETAILS_V',DELETE_ALLOWED, PROPERTY_FALSE);
ELSE
SET_BLOCK_PROPERTY('TI_PPS_DETAILS_V',INSERT_ALLOWED, PROPERTY_TRUE);
SET_BLOCK_PROPERTY('TI_PPS_DETAILS_V',DELETE_ALLOWED, PROPERTY_TRUE);
END IF;
END ;
after this condition is given, i am unable to update the already Entered Record.
The condition is i can update my already entered Record for a given combination.
Can anyone help pls....

Similar Messages

  • After Photoshop Elements quit working for the second time in three months, I uninstalled it and now cannot get it to reinstall from the disc. Nothing happens when I insert the disc. All I can do is look at the folders and files and see nothing that tells

    After Photoshop Elements quit working for the second time in three months, I uninstalled it and now cannot get it to reinstall from the disc. Nothing happens when I insert the disc. All I can do is look at the folders and files and see nothing that tells me how to start the installation. Clicking "open with Auto play" gives me irrelevant options, view photos, share, etc. I'm running Windows 8. This program has worked, although buggy, for the past year.

    reinstall by clicking setup on your disk or downloading and installing,
    Downloads available:
    Suites and Programs:  CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Problem while refreshing the data for the second time using excel services in sharepoint 2013...

    Hi,
    I have migrated my Sharepoint from 2010 to 2013.I am able to get the data at the first time of refresh when I click on refresh for the second time I am getting the empty the sheet.
    below find the flow of refresh
    First Refresh
    On Click of refresh open the workbook with excel services and return the session id.
    Using that session I am invoking RefrehAsync method of excel services
    After refresh completed I am setting the calculation of workbook as automatic(to calculate the formulas) using the same session id
    After setting the calculation as Automatic I am setting the calculation type as full(recalculate) using the same session id.
    Now I am able to see the data
    Second Refresh
    After clicking on refresh instead of opening the workbook I am using the session id(already opened workbook) and setting the calculation type as manual
    I am following the same process from refresh(RefreshAsync) as I have followed in first refresh.
    This time my formulas are not getting calculated because of that I am not able to see the data.
    Could you please let me know that am I missing anything here?
    Is this know issue in Sharepoint2013 excel services as same code is working fine with Sharepoint2010.
    If I close the workbook(session id null) and opens(new session id) for all the refreshes it is working and I am able to see the data.
    Thanks,
    Meenakshi Nagpal
    N.Meenakshi

    I am able to see the data for the second refresh  if I change the data source.If I use the same data source which is used in the first refresh I am not getting the data.Excel services will contact the cubes and calculate the formulas in my workbook.
    Could you please let me know what could be the problem at second refresh while contacting the same data source with same session id?
    Please help me asap.
    Thanks,
    Meenakshi Nagpal
    N.Meenakshi

  • For the second time (I've been to the Genius Bar once already) my WiFi isn't working on my iPhone 4S. This is really infuriating and costly!!! I see others have the same issues.  Can't Apple do anything about this?  It's obviously a hardware problem!

    For the second time (I've been to the Genius Bar already once with this) my Wifi isn't working.  They gave me a new iphone last time, but the new one has the same issue as the old one, I'm guessing.  I've tried resetting the network but that doesn't work.
    I see others have this issue too.
    If this is a hardware problem why doesn't Apple fix it?  Or do I just have to wait another year for another upgrade?
    Currently it's not costing me anything - yet - because I've got the Apple Warranty but this is totally frustating!!! I bought the original phone (which has been replaced in July 2012.  The new phone (without working Wifi) is a month old.
    Will try Restore via ITunes before (I will invariably) have to return to the Genius Bar for another Iphone 4S unless someone has an ingenius solution here?..?

    sematson wrote:
    If this is a hardware problem why doesn't Apple fix it?  Or do I just have to wait another year for another upgrade?
    For what reason, other than making yourself look foolish, would you ask questions that we users could not possibly answer as we're NOT Apple?
    Basics from the manual are restart, reset, restore from backup, restore as NEW.  Nothing more "ingenius" to suggest than these steps that Apple has outlined in the manual.  If these steps don't work, then go back to the Apple store.

  • 2009 MBP can't see internal hard drive - for the second time!

    Well, my 2009 13" MBP is at Applecare for the second time because it cannot recognize _any_ internal hard drive.
    The first repair came at 9 months (purchased new), now 16 months later I have the same issue.
    Swap in a known good drive, it can't see it, boot from DVD, and run Disk Utility, it can't see it either (optical drive shows up fine)
    My first repair only said they replaced the original hard drive, has anyone else had the issue of losing access to your internal hard drive?
    Ugh, I will be out of the 3 year Applecare next summer, and don't want to get stuck with another iBook G3, if you know what I mean.
    Thanks for any feedback!

    Hi
    I have the same issue, I have a Vodafone branded Huawei HG556a with an external drive connected. I have found that it isn't possible to connect via Finder and that SMB doesn't work either. The only way I could connect to it was via FTP using Cyberduck (or Filezilla), but no use as I can't add my media files from the drive to iTunes, so unfortunately disappointing. I'm still looking, but here's the document I was referred too from another forum.
    broadband.vodafone.ie/download/files/storage_mac.pdf
    Although not an answer to your question, hopefully this will give you an idea why you are getting the password and username errors when you know they are correct. In the end when I entered the FTP details into Cyberduck I was able to connect.
    I know this doesn't help solve the problem (as I'm still looking too), but at leas you know why (ish).
    Cheers
    Topes

  • Will someone tell me what happen to my play list and how I can restore or get it back!  Apparently, apple for the second time to screw up and delete all my music again!!!

    Will some explain why apple for the second time manage to screw up and delete "all my play lists and music again"!   How can I restore it or get my music back...  If I can't get my music back the way it was the last time I used itunes I will sale both my ipod touches!!!

    Just what were you doing when it happened?
    Just sync it from your iTunes library.
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Need to show popup when the Submit button is clicked for the second time ..

    Hi guys,
    I have a requirement where i need to show a popup or alert when the submit button is clicked twice . When it is clicked for the first time one method is been called and its process starts. When the user clicks the submit button for the second time they should be shown a popup stating "Submit button already been clicked, please clicked OK to continue".
    Can anyone help with this please , its really urgent requirement ?
    Thanks in advance

    Hi,
    I dont have any sample code to give you now. For quick reference, I can advice some psuedo steps to achieve your requirement. I dont have access to JDEV to test this. If any syntax errors then pls correct yourself.
    1. Extend Controller since it is standard page ( Refer Anil Passi site for steps to extend seeded ontroller)
    2. Write below logic in your Process Request method
    super.processRequest(oaPageContext, oaWebBean);
    pageContext.putSessionValue("status", "notInitiated");
    3. Include below logic in your PFR method
    if(pageContext.getSessionValue("status")!=null){
    if("notInitiated".equals(pageContext.getSessionValue("status")))
    super.processFormRequest(oapagecontext, oawebbean);
    pageContext.putSessionValue("status", "initiated");
    else
    String message = "Display error message as required";
    throw new OAException(message, OAException.ERROR);
    You may need to import required packages ( Related to OAException).
    Remeber, to sumbit the request, user need to refresh the page again so that "status" variable will be refreshed.
    Hope it helps.
    Thanks
    venkat

  • ITunes 10.5.2.11 doesn't launch for the second time on Windows 7, 64 bit.

    I have iTunes 10.5.2.11(The latest as of now) on a WIndows 7, 64 bit PC. iTunes launches itself properly for the first time after my system boots, but, when I close iTunes and try to open it once again(without booting again), it's like the computer didn't get my instruction, the iTunes icon only clicks, but, it doesn't open. When I check the running programs with the Task Manager, iTunes isn't there. But, in processes, iTunes *32 is listed(This is after I tried launching it for the second time). If I end this process(and also the process tree), and then try to open iTunes, the window of iTunes appears, but, it just sits there like a brick!
    Can somebody please help me. Thank you.

    I have iTunes 10.5.2.11(The latest as of now) on a WIndows 7, 64 bit PC. iTunes launches itself properly for the first time after my system boots, but, when I close iTunes and try to open it once again(without booting again), it's like the computer didn't get my instruction, the iTunes icon only clicks, but, it doesn't open. When I check the running programs with the Task Manager, iTunes isn't there. But, in processes, iTunes *32 is listed(This is after I tried launching it for the second time). If I end this process(and also the process tree), and then try to open iTunes, the window of iTunes appears, but, it just sits there like a brick!
    Can somebody please help me. Thank you.

  • TS3694 my phone has switched off for the second time this week, however when connecting to itunes the restore process wont complete. the error is 2006 however i have tried a number of USB cords, and none seem to be working.

    my phone has switched off for the second time this week, however when connecting to itunes the restore process wont complete. the error is 2006 however i have tried a number of USB cords, and none seem to be working.
    I am in the noerthern [parts of australia and accessing an apple store is not possiable for another month. this is my only soucrce or telecommunication. please help

    This is what it says about error 2006
    Error 2000-2009 (2001, 2002, 2005, 2006, 2009, and so on)
    If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore. If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore. If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604 above. If the issue persists, it may be related to conflicting security software. If the errors persist on another computer and known-good USB cable, the device may need service.

  • HT201412 I have restored my iphone 5 for the second time now, and it keeps crushing after 1hour of having completely restored it through iTunes. What am I supposed to do?

    I have restored my iphone 5 for the second time today, and it keeps crushing after 1hour of having completely restored it through iTunes. What am I supposed to do? I deleted some apps I had recently installed, even changed the background refresh. What else?

    Well... it said iPhone Recovery Mode, and I pressed 'Restore iPhone' after which it asked me if I am sure that I want to restore the phone to factory settings, I pressed 'yes'. After 20-30min it eventually came to the 'Hello' page where I had to sign in with my Apple ID, and then saw the icons of each of my apps. which one by one turned from grey to their full colour as they downloaded one by one. After 1-2 hours of having completed all the app downloads, I found the phone shut and could not turn it on with the normal way. And this happened after 2 restore sessions. Is there something I need to do, or I need to request a replacement. I have had the phone for 11months, and crushing problems begun on the 13 of Nov, which was a few days after I updated to iOS7. But today is already 48hours since I have not been able to use my iPhone properly.

  • Why charged me twice for the same item? They have withdrew money from my bank account for the second time about half an hour later after the transaction was completed leaving me overdrawn.

    Why charged me twice for the same item? They have withdrew money from my bank account for the second time about half an hour later after the transaction was completed leaving me overdrawn.

    Hi Benjamins,
    I've checked your account—you have two ExportPDF subscriptions. One placed on October 20 2013, and the other placed on October 11 of this year. So, you were probably charged the auto renewal for the subscription placed in 2013, and then the new charge for this year's order.
    Please Contact Customer Care so that an agent can help get things situated for you. There's no reason to have two subscriptions to the same service, so an agent can help you cancel one, if you'd like.
    Best,
    Sara

  • Scroller not appearing in the popup when opened for the second time

    Hi,
    I have a popup window which has three tabs A, B, and C. My tab A has BorderContainer > Scroller > Vgroup
    When opened for the first time, I can see the scroller. But , when opened for the second time, the scroller does not appear and the content in th Border container seems truncated.
    Please help.

    No answers, but I may be seeing something similar.
    I'm converting a project from Flex 3 to 4. In a popup (Spark TitleWindow) I have a some TabNavigators. On subsequent openings of the popup, the contents of the navigator children don't always render. After some changing of various Halo components to their Spark equivalents, I thought the problem had gone away. But the problem seems to have come back.
    In my case, I'm not sure if the "subsequent opening" is the key issue. Sometimes, the contents of nested TabNaviagtor children don't render on the first opening. although the first child content always renders. But the problem seems to increase in subsequent openings. (I.e. more children of TabNavigators don't render.)
    Perhaps not connected, but I notice when this happens, the outside borders of dataGrid components don't render in components outside of TabNavigators. I suspect there's a simple thing I need to to do to fix this, but I haven't found it. Any hints or insights would be welcomed.

  • Installing CE for the second time doesn't work ?

    Hi
    Recently my CE 7.1SR3 expired and I have installed it successfully for the second time, but the node server0 is not running  (yellow colored) after installation and is showing starting apps forever.
    Any clues what's going wrong..
    Can't I install the software again in the same system ?
    Thanks in advance
    ASR

    Folks
    Problem solved. Java server node started after couple of restarting the node only and it took around 40 mins to start with 2 GB memory !!!.
    Thanks

  • IPod 6th gen deletes everything off itself out of blue, for the second time

    Hello,
    I have a June 2008-bought 6 gen 80 Gb iPod classic and, knock on wood, it's the first one I've had that didn't die on me within a year. However, I am experiencing an annoying problem with it. This happened for the second time: iTunes freezes at the point I'm adding songs to the iPod and the moment it unfreezes, there's nothing on my iPod and I have to start over. Does anyone have an idea what is wrong and how should I prevent this, as it's obviously annoying?

    So, I did all that and started filling the iPod. At some point when it was 1/4 full, iTunes froze and started "verifying" it. I plugged it out, but too late, it said there was no music on it.
    However, when I plug it in, it shows that the amount of space I used is actually taken...but not by music. This is getting odd.
    Is the problem any clearer now?

  • For the second time this week the sound on my iPad 2 doesn't work. Who has the solution for this problemen?

    For the second time this week i don't get any sound from my iPad 2. Who has the solution for this problem?

    Check your settings. The iPads have a small switch on the right edge. It can be used as a rotation lock to keep the screen from automatically reorienting itself as you move around, but you need to have the tablet’s settings configured properly. That same switch, right above the volume buttons, can also be set to function instead as a mute button to silence certain types of audio.
    If the switch is set to work as a mute button, you can change its purpose to “screen-rotation lock” by tapping the Settings icon on the home screen. On the Settings screen, tap General on the left side, and on the right side of the screen flick down to “Use Side Switch to.” Tap to select Lock Rotation or Mute to set the button’s function. Even if you set the side switch for your preferred use, you can still mute the Mini or lock the screen. Just double-click the Home button, and when the panel of apps appears along the bottom edge of the screen, flick the row from left to right with your finger. Tap the icon on the far left side of the row to either lock the iPad’s screen or mute the iPad’s alerts, notifications and sound effects. Music, podcasts and video are not muted unless you turn the volume all the way down.
    http://www.atreks.com/app-no-sound-on-ipad-4-%E2%80%93-what-to-do/
     Cheers, Tom

Maybe you are looking for

  • Open Purchase Order report

    Hello All, Anyone know how I can get the list of Open Purchase orders? Currently we are pulling all those POs with the following characteristics: PO item where         all schedules have received qty zero. Open Schedules (EKET) - Don’t want fully or

  • My ipod mini won't update the songs anymore.

    After updating the software per a prompt when I plugged in, my ipod won't transfer the songs over form itunes. I have done a lot to try to fix this problem. What was happening is that when I connected the ipod (with the same USB that had always worke

  • Veritas volume manager for solaris 10

    Hi All which version veritas volume manager will support solaris 10 06/06. can you just update a link for reference Regards RPS

  • Internal pdf links not working in chrome and firefox

    I have some PDF files that I am adding links to additional PDF files that are located in the same folder on our webserver using Acrobat Pro XI. The links work fine in IE and the other PDF files open up and display well in the IE browser, but the link

  • Need to find 4.1 for 2nd gen Touch

    I'm posting this for a friend who is stuck on Tiger and cannot upgrade to iTunes 10, which apparently is required to run IOS 4.2. For whatever reason, she had not upgraded her IOS since version 2.something. Now the only option available to her when s