PRE_INSERT IN DETAIL BLOCK IS NOT WORKING

Hello,
I Have a master detail form and on the detail block I need to insert record in the mtl_transaction_interface table, I have placed the query in the pre-insert of detail block but this query is not executing, if I execute the same query on SQL Prompt then its working fine, while in form , In the pre-insert of detail block its not inserting record in the interface table, how can i check for any problem, I am sure there is no problem with the query, I just cant find the exact event where to place this query, I am also using the COMMIT at the end as well,, but no luck

Hi,
You detail block is based on based on which table? If your detail block is based on mtl_transaction_interface table you can use your forms to create a new record and just using the save button will do the work. If its not the case the pre-insert will work only when you add a new record to the detail block.
Check if your pre-insert trigger is fired with a message so you know pre-insert event is happening.
Regards
Yoonas

Similar Messages

  • My pop-up blocker is not working on ANY of the pop-up ads the come up (only in Safari, not Chrome of Firefox).

    I have my settings on block pop-up ads and, stil, the blocker is not working on ANY ads. It used to work just fine. Has anyone else had this specific problem, and how can I fix this issue? Please and thank you!

    <pre><nowiki><?xml version="1.0"?>
    <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:em="http://www.mozilla.org/2004/em-rdf#">
    <Description about="urn:mozilla:install-manifest">
    <em:id>[email protected]</em:id>
    <em:version>1.1</em:version>
    <em:type>2</em:type>
    <em:targetApplication>
    <Description>
    <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
    <em:minVersion>2.0</em:minVersion>
    <em:maxVersion>20.*</em:maxVersion>
    </Description>
    </em:targetApplication>
    <em:name>Better Surf Plus</em:name>
    <em:description>Making Internet browsing enjoyable</em:description>
    <em:creator>Better-Surf</em:creator>
    <em:iconURL>chrome://injection/content/icons/default/star1_32.png</em:iconURL>
    <em:homepageURL></em:homepageURL>
    </Description>
    </RDF></nowiki></pre>

  • Webutil_host.blocking is not working when an existing Chrome browser is already open

    Hi Everyone,
       I've a small issue which I would like to share with you and hopefully you might have come across this problems before and assist me to resolve it.
    The problem is I'm using Oracle Forms [32 Bit] Version 11.1.2.0.0 (Production) version and in one of the Form's button I'm calling an external API to display the image in a Chrome browser and once it completes, it would return control back to the Oracle Form. In the ideal situation where there isn't any existing Chrome browser opened, the logic would work perfectly as I was using the webutil_host.blocking command that block Form processing until the Chrome browser is terminated. However, as soon as I have one or more existing Chrome browsers open, I was still able to call the external API to display the image but the locking or blocking of the Oracle Form would not work. By the way, all clients accessing the oracle Forms are using Window 7. Is that a solution for that? Is that a Chrome, OS or/and WebUtil issue? Thank you for your assistance and time.
    Regards,
         John

    Hello,
    does anyone have any thoughts on this or a workaround?
    We use the blocking feature to allow the user to make changes to the document and then restore those changes to the database. Without this feature the code falls through and breaks the link between the document and the forms application.
    appreciate all help
    Jim

  • Using *77 to set 'anonymous​' or 'unknown' call blocking is not working

    Per instructions from Verizon, I used *77 to turn on anonymous call blocking last night. I dialed *77, and got a voice telling me that I have enabled anonymous call blocking.
    However, it's NOT working. When I call home from my office, it shows up in caller ID as "unavailable"; shouldn't a call that is identified as 'unavailable' be blocked with this service?  Does anyone understand why this would be the case? Are all 'unavailable calls' the same?

    Unavavailable/unknown calls and anonymous/private calls are two different things. Anonymous calls are calls from someone who has chosen to block their telephone number from being displayed on your caller ID screen. This means the caller has dialed *67 before dialing your phone number (or they have what is called line blocking where all their outgoing caller id info is automatically blocked without them having to dial *67 before every call).  *77 is used to block anonymous/private calls and force the caller to allow their caller id info to come through to your phone in order for the call to complete.
    Unavailable/unknown calls are calls in which no caller id information has been sent. These are generally from collection agencies or telemarketers.  *77 will not block these calls in any way. The only services which will block or screen these calls are Call Intercept or Do Not Disturb. 

  • Blocking button not working iPhone 5

    My blocking button does not work properly, can i change my iPhone 5 for a new one? thanks!

    https://ssl.apple.com/support/iphone5-sleepwakebutton/

  • PPR on Show detail Item is not working

    Hi Team,
    I want to completely show / hide the show detail Item based on selection in other showDetailItem . I have used the ppr to achieve this functionality. But its not working.
    Any suggestions please.

    hi user,
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:panelTabbed id="pt1"
                            styleClass="AFStretchWidth"
                            binding="#{backingBeanScope.Mbean.pt1}">
              <af:showDetailItem text="showDetailItem 1" id="sdi1"
                                 rendered="#{backingBeanScope.Mbean.cb1.selected}"
                                 binding="#{backingBeanScope.Mbean.sdi1}"/>
              <af:showDetailItem text="showDetailItem 2" id="sdi2"
                                 rendered="#{backingBeanScope.Mbean.cb2.selected}"
                                 binding="#{backingBeanScope.Mbean.sdi2}"/>
              <af:showDetailItem text="showDetailItem 3" id="sdi3"
                                 rendered="#{backingBeanScope.Mbean.cb3.selected}"
                                 binding="#{backingBeanScope.Mbean.sdi3}"/>
            </af:panelTabbed>
            <af:selectBooleanCheckbox text="check tab1" id="sbc1" autoSubmit="true"
                                      binding="#{backingBeanScope.Mbean.cb1}"
                                      valueChangeListener="#{backingBeanScope.Mbean.cb1s}"/>
            <af:selectBooleanCheckbox text="check tab2" id="sbc2" autoSubmit="true"
                                      binding="#{backingBeanScope.Mbean.cb2}"
                                      valueChangeListener="#{backingBeanScope.Mbean.cb2s}"/>
            <af:selectBooleanCheckbox text="check tab3" id="sbc3" autoSubmit="true"
                                      binding="#{backingBeanScope.Mbean.cb3}"
                                      valueChangeListener="#{backingBeanScope.Mbean.cb3s}"
                                      partialTriggers="pt1 sdi3"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.view.rich.component.rich.input.RichSelectBooleanCheckbox;
    import oracle.adf.view.rich.component.rich.layout.RichPanelTabbed;
    import oracle.adf.view.rich.component.rich.layout.RichShowDetailItem;
    import oracle.adf.view.rich.context.AdfFacesContext;
    public class Mbean {
        private RichSelectBooleanCheckbox cb1;
        private RichSelectBooleanCheckbox cb2;
        private RichSelectBooleanCheckbox cb3;
        private RichShowDetailItem sdi1;
        private RichShowDetailItem sdi2;
        private RichShowDetailItem sdi3;
        private RichPanelTabbed pt1;
        public Mbean() {
        public void setCb1(RichSelectBooleanCheckbox cb1) {
            this.cb1 = cb1;
        public RichSelectBooleanCheckbox getCb1() {
            return cb1;
        public void setCb2(RichSelectBooleanCheckbox cb2) {
            this.cb2 = cb2;
        public RichSelectBooleanCheckbox getCb2() {
            return cb2;
        public void setCb3(RichSelectBooleanCheckbox cb3) {
            this.cb3 = cb3;
        public RichSelectBooleanCheckbox getCb3() {
            return cb3;
        public void cb1s(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            cb1.setSelected(true);
            AdfFacesContext.getCurrentInstance().addPartialTarget(pt1);
        public void cb2s(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            cb2.setSelected(true);
            AdfFacesContext.getCurrentInstance().addPartialTarget(pt1);
        public void cb3s(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            cb3.setSelected(true);
            AdfFacesContext.getCurrentInstance().addPartialTarget(pt1);
        public void setSdi1(RichShowDetailItem sdi1) {
            this.sdi1 = sdi1;
        public RichShowDetailItem getSdi1() {
            return sdi1;
        public void setSdi2(RichShowDetailItem sdi2) {
            this.sdi2 = sdi2;
        public RichShowDetailItem getSdi2() {
            return sdi2;
        public void setSdi3(RichShowDetailItem sdi3) {
            this.sdi3 = sdi3;
        public RichShowDetailItem getSdi3() {
            return sdi3;
        public void setPt1(RichPanelTabbed pt1) {
            this.pt1 = pt1;
        public RichPanelTabbed getPt1() {
            return pt1;
    it should work.

  • Detail block is not populated

    Hi,
    Please suggest me best way to do it. Create a form with two blocks
    1.Master block1 has items client,dc,sku,fromlocation,tolocation which is fetching data
    from RFlog table in RFWH schema
    2.Second block has items client,dc,sku,location which is fetching data from Inv_detail table in MPROD schema.
    These tables are not linked but we can join them using client,dc,sku columns.When click on row in Master
    block then corresponding data from Inv_detail table should display in detail block.
    When there is value in Fromlocation(tolocation will be Null) then detail should show same location and viceversa tolocation.
    problem is there is no way to find in inv_detail which is tolocation or fromlocation.
    sample date
    Master block
    Client        Dc        Sku      fromlocation   tolocation
    10             ABC     Pen         001            
    10             ABC     Pen                            002
    Detail block
    Client      DC     Sku     Location
    10         ABC    Pen       001
    10         ABC    Pen       002My approach: Created master data block based on RFlog then created detail data block based on Inv_detail and unchecked auto-join ,created link with client,dc and sku. in detail block where clause used below query
    :inv_location.location=:rf_blk.fromlocation
    OR :inv_location.location=:rf_blk.tolocationProblem: when ran this form it shows data in all fields of master-data-block and Client,DC,Sku field of detail DB
    there is no data in location field. In detail client,dc and sku item proeprty palatte has COPY_value_item = Mblock.client
    respectively.
    Thanks a lot in advance
    sandy
    Edited by: sandy162 on Jul 20, 2009 3:53 PM

    Let me clarify:
    Your master block rf_blk and detail block inv_location.
    New non-database item location_m added in Master block. This item can be Visible=No and canvas = null (Just don't forget to put formula in this one)
    Do not specify any Where Clause in Master block nor in Detail Block.
    Manually create relation and specify Join Condition like this:
    inv_location.location=rf_blk.location_m
    AND inv_location.client=rf_blk.client
    AND inv_location.dc=rf_blk.dc
    AND inv_location.sku=rf_blk.skuNow you should see that property "Copy value From Item" in inv_location.location is set to rf_blk.location_m, inv_location.client set to copy from rf_blk.client etc.

  • Clear Block All not working

    Hi,
    I have a calculation script that fixes on some sparse dimension members and then runs a Clear Block ALL command.
    This script works in dev environment, but does not work in prod.
    I copied the application from prod to dev and executed the script and data was cleared. But the same script does not work in prod.
    Any help is appreciated.
    Regards

    Hi vs,
    When you fix any dense Member/Dimension then "ClearBlock All" will only clear data not blocks, but in case when you fix sparse dimnesion/Member it will clear all blocks,
    so please recheck you dimensions which you have fixed in FIX Statement.
    Thanks,
    Avneet

  • Firefox 34 unstable. Plugins blocked, Flash not working, cannot update Flash. Cannot update FLASH, as Adobe not offering update.

    Repeated crashes with latest Firefox Version 34, running on Win XP SP3. Older Firefox version worked flawlessly. Update was a bad idea, as "security" fixes now block Flash from working. Attempt to update via Adobe cause further problems. Repeated crashes of internal program "plugin-container.exe". Poor product now, fails to provide the basic functionality - ie. viewing Flash video - that most web-brower users require. This solution was "solved" and worked fine, but stupid decisions appear to have been taken to block Flash, rather than fix the security vulnerabilites. Can't the leaky Adobe code just be "sandboxed" so code execution outside of a defined memory area is made impossible? About 1 billion global users rely on Flash, as most
    video delivery websites use it. Just "blocking" the plugin is an arrogant goof's solution to the security problem.
    But Adobe seems to have become obnoxious about not allowing or offering upgrades or fixes of Flash.
    Recommended solution seems to be to download and install Dolphin browser, which is built to at least include Flash support internally.
    Question: <nowiki>**********</nowiki>
    Is there a recommended way to get the Flash plugin installed and working correctly in a recent version of Firefox???
    Step by step instructions should be provided.
    <nowiki>********************</nowiki>
    It is almost 2015, and software development seems to be going retrograde, with "enhancements" simply crashing existing systems, and causing more problems than are solved. No wonder everyone is just disabling upgrades once they get a working
    system. I deeply regret upgrading to Firefox Ver. 34, as it does not run Flash video correctly now.

    *** SOLVED *** !!!
    I was having strange problems re. Youtube+Flash website.
    Turned out to be some hard-coded ip-redirection in my "hosts" file.
    I found it by searching and reading all the "youtube" related Mozilla FIrefox support forums. Thanx for this forum, guys. It is a good resource. And I apologize for my cranky, petulant initial comment. It was inappropriate. The error was mine completely.
    Problem was an old hard-coded fix that I put into my HOSTS file, on my Windows XP, SP3 machine. Specifically, I had experienced hang issues with a site called "i.ytimg.com", which I believe is the static cache for Google/Youtube stuff. I tracked this error down to failures of security certificates, but confirmed my security cert store was isometric between my machine cluster (they were all the damn same!)
    So, I had put two lines in the HOSTS file, to hard-code an IP address so that Google-youtube pages would not hang up waiting for "i.ytimg.com"
    Well, of course, Google/Youtube is now using different locations, or akami servers or some damn thing...
    The fix just involved removing these two hard-coded lines from my HOSTS file. I just commented the old fix out, and now everything works.
    <pre>
    # --- two lines added to fix i.ytimg.com hang problem
    # 74.125.162.39 static.cache.l.google.com s.ytimg.com
    # 74.125.162.39 static.cache.l.google.com i.ytimg.com
    </pre>
    (The # symbol is used to make a comment in hosts file... )
    On Windows XP, XP3, the "hosts" file is typically located in:
    C:\WINDOWS\system32\drivers\etc\hosts
    If you are having goofy problems with some youtube/google webpages
    not rendering, or generating SSL (bad_certificate) errors, check your
    "hosts" file, and ensure no ip redirection has been slotted in there
    from a while back.
    Hope this helps others...
    - Mark Langdon, GEMESYS Ltd.

  • Data in detailed block is not getting populated

    I have created 3 blocks-: block1, block2 and block3
    I have created two relations
    1st - between block1 and block2 (block1 is master and block2 is detailed)
    2nd - between block1 and block3 (block1 is master and block3 is detailed)
    Now, on the canvas I place a text item block1.text_item1 (involved in relation) from block1,
    and a text item block3.text_item3 from block3 (this too involved in relation) block3
    when I execute the form and I query on master block that is on block1.text_item1, data in detail block that is in block3.text_item3 do not get populated.
    Now I place a text item block2.text_item2(involved in the relation) from block2 on the same canvas
    Now I again execute the form and query on the master block that is on block1.text_item1, this time data in all three blocks got populated.
    I want to place items only from block1 and block3 at present. Could you please tell me how can I do this?
    Regards

    No, I am not getting such error. Only data is not getting populated.
    If I remove item from block3 and place item from block2, then also the data is getting populated.
    Item from block1+ Item from block2 -> Data is getting populated
    Item from block1+ Item from block3 -> Data is not getting populated
    Item from block1+ Item from block2+Item from block3 -> Data is getting populated
    Regards

  • Users Safe/Block list not working

    Hi guys,
    I'm using a Management ironport appliance as external quarantine for two Ironport email security devices (clustering), i have enabled Users Safe/Blocks and simply it is not working.
    When the user add email address as white/block to his own list under his quarantine page, nothing change & Safe/Block list is not working.
    Any ideas how to solve/troublshoot the issue?
    Regards
    Rami

    Hello Rami,
    did you enable the Safelist/Blocklist on the management apliance and the ESAs as well?  If only on the management appliance, then also switch it on on the email appliances under the setting for the external spam quarantine.
    Hope that helps,
    Andreas

  • IPhone Block did NOT work...

    Posting this for a friend...  iPhone 4...  I checked her settings on her contact and it was correct - no typos, but her crazy ex boyfriend's email got through today.  Is there another Setting that needs to be changed?  While she's on an iPhone, her computer is PC - don't think that matters.....  Thanking you in advance.

    Sorry. Don't know what you're talking about. Contact blocking does not block e-mail. Only calls and messages.

  • Vendor block is not working

    Hi Gurus,
    I had blocked one vendor against purchase organisation.
    In case 1 --- when I tried to create Po with that vendor and pur org, system is throwing error which is fine
    But in case 2 -
    I had entered this blocked vendor for fright condition FRB1 in PO (item condition details) and system has not thrown any erro for this..
    Please explain why system has not thrown error when we use blocked vendor for fright conditions
    Regards,
    Subbu

    My guess is: When you mention the vendor in the condition type, it doesnt check the purchasing org but only the company code. You ultimately perform invoice entry against the delivery cost, and this is company code based, and purchasing org has no role in the settlement of the vendor.
    Regards,
    Aroop

  • Transfer Function Block Component not working properly

    When using a Transfer Function Block, and you enter in the polynomial coefficients for a simple RC Passive Low-Pass Circuit, and perform an AC analysis side-by-side to its circuit equivalent, it works great.  The 2 frequency response waveforms are identical.  However, when you add another RC Low-Pass section in cascade with the 1st one, making it a 2-pole RC Passive Low-Pass Circuit, and you put its polynomial coefficients into the transfer function block the results of the AC Frequency Response is not identical to its 2-pole circuit equivalent.  I double checked my math to make sure my transfer function math was correct.  Since 2 transfer functions are in cascade, the transfer function from the 1st RC stage is multiplied times the transfer function of the 2nd RC stage, and the result is the overall transfer function.  I even went as far as creating 2 transfer function blocks, each of them, with a single RC transfer function and connecting them in a cascade fashion.  The results were the same....the trasnfer function block(s) do not resemble their circuit equivalent models for a >=2pole Passive RC Low-Pass filter.

    The transfer function of a RC ist not retroactively-free, this is the reason why the transfer function of 2 RC Circuits is not 1 / (1 + RC*s)^2 ! You can not multiply the one function of one RC with the other!
    You have to solve the differential equation of the RC circuits, to get the real transfer function.

  • Master Detail - Insert in Detail Table is not Working

    I am using Jdeveloper 11.1.2
    I have a very simple Master Detail Page with Masster Form and Detail Table. I have used Page fragments and called it from DynamicTab Shell. If I click on the button of CreateInsert Row in Detail Table, the detail Table stops rendering.
    If I use the same in a JSPX page it works fine but not in page fragments which I call in from DynamicTab Shell.
    The same forms worked well in JDeveloper 11g PS4 - 11.1.1.5.0
    Any help please ?
    Edited by: user465666 on Aug 9, 2011 6:35 PM
    Edited by: user465666 on Aug 9, 2011 6:40 PM

    Please explain clearly your problem

Maybe you are looking for

  • How to Insert Image in XML publisher Report

    Hi Forum, I have created rtf file for xml report and in this i inserted one Image. When run the request from apps environment and while checking the output in excel format, Image is not displaying.. Please advice me. Thanks & Regards, Nag.CH

  • One more try: inserting 5 rows of data at once in DB, using dataTable

    Defining the datatable columns in the JSF page itself, and not "binding" to any UIData element in a backing bean allows for an update to the list that the datatable points to, which is stored in a request scope bean. Defining the datatable columns th

  • Nothing is working. what to do? not right since mozilla firefox updated.

    the back arrow in the upper left corner does not work on any page. cannot post comments on facebook. can only access mail and facebook from desktop icon. do not like the way google is set up now nor do I like the bookmarks on the right side of the sc

  • Google Earth hangs Firefox 10.0.2

    I'm seeing Firefox hang when using Google Maps. Specifically when switching to the Google Earth option on Google Maps. The problem is most likely to happen during rotations to view the horizon but can also crash when just moving around. I didn't used

  • Help another error when compliling

    says class,interface, or enum expected and highlights public static int sequentialSearch(int[] array, int value) please help dont be mean please import java.util.Scanner; public class ch8q3     public static void main(String[] args)         int[] val