I am getting frm :40737 because go_block

Hello World,
I have a form with master block and details , the detail block as a tabular.
I want the detail block to track the changes on the master , like if the user updated on a particular item on the master the detail keep the username and date.
i put the below code as a POST-TEXT-ITEM trigger on the item on the master
DECLARE
V_TOT_RECORD NUMBER := 1;
V_COUNT NUMBER := 1;
BEGIN
V_TOT_RECORD := GET_BLOCK_PROPERTY('BLK2', QUERY_HITS);
GO_BLOCK('BLK2');
FIRST_RECORD;
WHILE V_COUNT <= V_TOT_RECORD LOOP
IF :BLK2.CFT_PROC_STATUS IS NULL THEN
     :blk2.cft_serial:=V_COUNT;
     :BLK2.CFT_PROC_STATUS:=:BLK1.CFU_STATUS;
     :BLK2.CFT_USER_ID:=:BLK1.CFU_USER_ID;
     :BLK2.CFT_DATE:=:BLK1.CFU_DATE;
END IF ;
IF V_COUNT = V_TOT_RECORD THEN
EXIT;
END IF;
IF V_COUNT = V_TOT_RECORD THEN
EXIT;
ELSE
NEXT_RECORD;
END IF;
V_COUNT := V_COUNT + 1;
END LOOP;
END;
but i am getting this error
FRM:40737 illegal restricted procedure GO_BLOCK in POST-TEXT-ITEM trigger.
Help please

but i am getting this errorFRM:40737 illegal restricted procedure GO_BLOCK in POST-TEXT-ITEM trigger.>
Take a look at the Forms Help on the Post-Text-Item trigger to see which built-ins are allowed. Calling a Restricted built-in like GO_BLOCK in certain triggers could cause endless loops and other adverse side-affects. You could use a Zero (0) millisecond Timer to execute the restricted built-in(s) as this is a common work-around, but I would recommend you look into other alternatives to tracking these changes that don't required you to navigate between blocks.
Why do you need to have the Detail block keep track of changes in the Master block? Also, it is always helpful to at least include your Forms version when asking a question. :)
Craig...

Similar Messages

  • FRM-40737 Error, While using COMMIT_FORM

    Hi,
    Please guide for the following:
    In a form, I have two data blocks,namely master and detail.
    In PRE-INSERT trigger of master block, I am using GO_BLOCK('detail').
    The form has a SAVE_BTN also, in save_btn i am using COMMIT_FORM.
    When user clicks save-btn , FRM-40737 error is generating.
    Please help.
    Regards,

    You can't use go_block in a pre-insert trigger - it is a restricted built-in.
    When you commit, the Form will save all the changes regardless of which block they are in.
    Steve

  • In R12.1.3 we get FRM-40735: ON-ERROR trigger raised unhandled exception.

    Hello,
    after we upgrade to R12.1.3 users are getting FRM-40735: ON-ERROR trigger raised unhandled exception ORA-01001, can you please help to resolve this issue immediately.

    Can you provide the list of patches you have applied?
    In addition to the log files mentioned above, please confirm that you have no invalid objects in the database.
    Loading the System Administrator Forms Responibility Produces Error FRM-40735,ORA-06508 (Doc ID 271652.1)
    Oracle Application Return The following Error FRM-40735: ON-ERROR trigger raised unhandled exception ORA-6508 (Doc ID 797293.1)
    After Migrating To Linux, Users Are Seeing FRM-40735 When Trying To Access Forms. (Doc ID 1282488.1)
    Thanks,
    Hussein

  • I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u

    I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u

    Try
    https://iforgot.apple.com

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

  • We are trying to do a Quick payment from payment workbench and getting 'FRM-41830: List of values contains no entries' error for payment document column/field. Payment document setup looks good. Not sure what the issue is.

    We are trying to do a Quick payment from payment workbench and getting 'FRM-41830: List of values contains no entries' error for payment document column/field. Payment document setup looks good. Not sure what the issue is.

    Already gone through following three notes but didn't found resolution.
    APXPAWKB: FRM-41830 When Clicking on Payment Document LOV (Doc ID 1081305.1)
    R12: APXPAWKB: Payment Document Lov Is Empty When Entering A Payment (Doc ID 857587.1)
    R12: Payment Workbench Error: FRM-41830 List Of Values Contains No Entries (APXPAWKB.FMB) (Doc ID 1323875.1)

  • I keep getting this message : Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled.

    I keep getting this mesage : Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled.
    I need to charge my phone but it's not letting me!! Please help!

    Solution may be found if you search in the "More Like This" section over in the right column and in the article - http://support.apple.com/kb/HT1151. 

  • Getting FRM-40010 Error While opening new form  .fmx

    Hi,
    Oracle apps : 11.5.10.2
    Forms : Forms 6.0
    I'm creating a custom form by using one oracle apps table.I created a basic form by using template.fmb and then saved it to directory "/dir1" and run this form by connecting to oracle apps database.
    When I try to open .fmx from this directory ('/dir1') I'm getting FRM-40010 error.When I checked FORM60_PATH = It's showing /u01...../au/11.5.0/resource.I don't see "/dir1" in that path?
    Do I need to modify forms60_path ?
    Do I need to register this form before running as it's using table from Oracle apps schema?
    Thanks,
    Kiran

    When I try to open .fmx from this directory ('/dir1') I'm getting FRM-40010 error.When I checked FORM60_PATH = It's showing /u01...../au/11.5.0/resource.I don't see "/dir1" in that path?You need to set FORMS60_PATH and include /dir1 in this path.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=FRM-40010+&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Do I need to modify forms60_path ?Yes.
    $ export FORMS60_PATH=$FORMS60_PATH:/dir1
    Do I need to register this form before running as it's using table from Oracle apps schema?Yes.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Register+AND+Custom+AND+Form&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Custom+AND+Form&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • I had purchased an audio book from itunes on my iPad and when I synced my iPad with my computer, my audiobook disappeared. I have already purchased this audiobook, so now I just need to know how to get it back because it is not on iPad anymore.

    I had purchased an audio book from itunes on my iPad and when I synced my iPad with my computer, my audiobook disappeared. I have already purchased this audiobook, so now I just need to know how to get it back because it is not on iPad anymore. I don't think the audiobook was backed up to icloud but I have the receipt to prove I purchased it. Is there anyway I can get it back?

    "If I purchase an audio book in iTunes on my iPad why can't I listen to it on my Mac? "
    You can.  Why do you think you cannot?
    If you purchased it on your ipad, then you would have to transfer it to your computer. File>Devices>Transfer Purchases.
    You can then listen to it on your computer.

  • Getting FRM-40105 in the sales order form when applying sales credits

    Hi,
    i'm trying to apply sales credits at the line level.
    1.I get FRM-40105 unable to resolve reference to item SALES_CREDITS while trying to save the data in the sales credits window of the sales order form-OEXOEORD(this happens only if i say save and proceed).
    2.If i simply say 'ok' in the sales credits window the data entered in the salesrep field and quota and percentage gets saved but the data i entered in the 'ADDITIONAL SALES CREDIT INFORMATION' flexfield
    doesn't get saved.If i query the order number and if i go back to the sales credits window i'm not able to see the data i entered in the flexfield popup.
    Any idea of why this is happening so? we are in vision 11.5.5.
    Regards,
    Nithya

    Hi All,
    Does any1 have any suggestion for my question...
    Thanks,
    Lp

  • I have an iphone 3G 16GB 4.2.1 - i moved back to canada and got telus mobile service. they cant get phone working because cellular data network tab/button is not on my phone. How do i get it on there

    i have an iphone 3G 16GB 4.2.1 - i moved back to canada and got telus mobile service. they cant get phone working because cellular data network tab/button is not on my phone. How do i get it on there

    OK. T-Mobile is NOT owned by AT&T... yet... The deal hasn't gone through yet. T-Mobie's US network is not compatible with the iPhone. Lots of things don't work right. There is not, and never has been an unlocked 3G sold in the US. Don't know where the phone originated, but more than likely it was in the US. If that's the case, the phone has been hacked/jailbroken to get it to work.
    Have you tried doing a restore or restoring the phone as new? I have to warn you, if you do so and the phone is hacked/jailbroken, it will re-lock to AT&T and will become unusalbe.  I think your best bet right now might be to save yourself a lot of grief and just upgrade to new phone from a legitimate source.
    I would never even consider buying an iPhone on ebay. 99% or more are hacked, jailbroken and/or stolen.

  • Unable to open any form in R12 after getting FRM 92050 error

    Hi gurus,
    i have some problem opening form
    i can switch between responsibilites but one trying to open it doesnt show any change
    ex: system adminstrator -->concurrent request
    no change
    earlier i was getting FRM-92050 error for which i followed this doc
    form loading error
    here are os and application details
    os:rhel4
    ebs:R12.1.1
    db:11.1.0.7
    please help
    Edited by: 868452 on 01-Oct-2012 00:17

    Hi,
    i came up with solution
    am currently using IE8 explorer
    i uninstalled both java 6 update 17 and j2se 5 update 10
    installed fresh jre-7-windows-i586.exe and oaj2se.exe (j2se 5 update 10)
    now its working fine with this but...
    its taking too much time
    when i start same form(system administrator -- concurrent request) with chrome its giving error
    FRM-92120 REGISTRY FILE: \ORACLE\FORMS\REGISTRY\REGISTRY.DAT IS MISSING
    please update
    thanks
    zavi
    am facing the same problem today
    when navigating to form there is no change
    can any one help
    thanks
    Edited by: 868452 on 02-Oct-2012 21:57

  • Halfway through the OS X Yosemite update it says I am not connected to the internet (when I know I am because I can search through the app store). How can I fix this? I cannot get on Safari because it requires an update to Mac OS X 10.9 or later.

    Halfway through the OS X Yosemite update it says I am not connected to the internet (when I know I am because I can search through the app store). How can I fix this? I cannot get on Safari because it requires an update to Mac OS X 10.9 or later.

    Just to be clear. You have downloaded the Yosemite installer. However you say while it's updating you get the error you are not online. This is confusing since you shouldn't be able to use your computer in the process of updating.
    Exactly where do you see you need to 10.9 to get on Safari?

  • My Ipod touch says disabled connect to itunes I try and it says cannot connect it has a passcode that needs to be entered to connect but thats why I have to get into itunes because I can't get in my Ipod what do I do?

    My Ipod touch says disabled connect to itunes I try and it says cannot connect it has a passcode that needs to be entered to connect but thats why I have to get into itunes because I can't get in my Ipod what do I do?

    Place the iPod in Recovery mode and then connect to your computer and restore via iTunes.

  • HT5622 i moved from Egypt to Canada, changed my info on app and still can't get some app because " item not available in the Egyptian store"

    i moved from country to another, changed my info in app ID and still can't get some apps because  item not available in the home country's store? any idea?

    It is working now. I no longer get the message about the item not being available in the US and I can access the store.

Maybe you are looking for

  • File -- IDOC scenario using XI 3.0

    Hi    I tried out a simple flat file to IDOC scenario using XI as the middleware and tried to post documents of type CREMAS03 on the backend R/3 system. Now, I see that there is an IDOC number generated in the XI layer by the IDOC adapter. This IDOC

  • Numbers functions - please help

    Hi, I am a new Numbers user (I used to use excel). In excel I had it so that I could input an equation in a cell the key in [control]R or [control]D to make the equation apply itself to the cells to the right of it or below it. For example, I want to

  • Macbook pro disc drive

    Hi guys,I just bought a new macbook pro 13 inch 2.4ghz model,all is good but I do have a question,when I put a disc in the drive it reads it fine,but lets say if I move my macbook a little on my lap I can hear the disc in the drive make a scratching

  • IPhoto 6 Unable to Zoom in Full Screen Mode when using projector

    When in full screen mode in iPhoto 6 I am able to zoom quite nicely but when I attach a projector I lose the slide for zooming. How do I zoom in full screen mode when using a projector? Mac Book   Mac OS X (10.4.9)  

  • Center an Iframe in a page

    Dear sirs I'd like to center an Iframe in a page. this is my examole IFrame code: <iframe src="bla.htm" name="MyFrame" width="250" height="400" align="center" id="MyFrame">This message is only visible to older browsers. Replace this with meaningful c