Lose the morning after the Transaction.rollback)

I have a strange problem which arises after I performed a restore via a Cancel button.  I have a poplist triggering a PPR which calls the setter attributes VO method that calls one of the methods of the AM to provide a default value for another attribute.  This works fine until the user undoes a change and then try to change the value of poplist.  At this time the same method is executed as before and AM is very well, but when on the AM method is called again, it fails with the following error is displayed in the page.

Deviation of line 2 - Set method for the attribute \"DiscrepancyTypeCode\" in XxmclApInvoiceDiscrepanciesVO1 cannot be resolved

I followed until the method call on the AM.  Here is the VO code where the failure occurs.  Again, this code works fine until I had to restore because the user choosing to cancel.

Here is the code in the t that is run by the PPR on the poplist.

public void setDiscrepancyTypeCode (String value) {}
setAttributeInternal (DISCREPANCYTYPECODE, value);
System.out.println ("setDiscrepancyTypeCode 1");
If (value == null: value.equals("")) {}
setQuantity (null);
setCost (null);
setAccount("");
setCostCenter("");
setDivision("");
setAccountRequired ("no");
}
else {}
System.out.println ("setDiscrepancyTypeCode 2");
XxmclApAuditAMImpl am = (XxmclApAuditAMImpl) getApplicationModule ();
System.out.println ("setDiscrepancyTypeCode 3 value is" + value); value is correct (a string)
System.out.println ("am.class is" + am.getClass ()); class is correct
Account string = am.discTypeCodeAccount (value); THIS DOES NOT WORK AFTER PRESSING CANCEL!
System.out.println ("setDiscrepancyTypeCode 5");
If (account! = null) {}
setAccount (account);
}
else {}
setAccount("");
}
String costCenter = am.discTypeCodeCostCenter (value);
If (costCenter! = null) {}
setCostCenter (costCenter);
}
else {}
setCostCenter("");
}
Division line = am.invoiceDivision ();
If (division! = null) {}
setDivision (division);
}
else {}
setDivision("");
}
setAccountRequired ("yes");
}
}

Any ideas?

Thank you

I perform an on the VVO executeQuery and the page works as expected.  I still wonder why a call Transaction.rollback () removed the lines of the VVO.

All along I learned that the debugger OAF can get a little crazy sometimes and stops without any error.  "I also learned that OFA message, Set method for the \"DiscrepancyTypeCode\ attribute ' in XxmclApInvoiceDiscrepanciesVO1 cannot be resolved, isn't really mean the setter for the DiscrepancyTypeCode can be solved, but some call within the method cannot be resolved.

Tags: Oracle Applications

Similar Questions

  • How to stop the transaction rollback

    Hello

    I created a bpel process that will make the PB data insertion, but I get the below error while inserting data. can someone please resolve this problem:

    Error log:

    faultName: {{http://schemas.oracle.com/bpel/extension} remoteFault} messageType: parts of {{http://schemas.oracle.com/bpel/extension} RuntimeFaultMessage}: {{summary = < summary > Exception is is produced when the link has been invoked. Exception occurred during invocation of the JCA binding: "JCA binding run reference"insert"operations have to: DBWriteInteractionSpec Execute Failed Exception." insertion failed. The descriptor name: [AddMoreBikes.Bikes]. Caused by java.sql.SQLException: cannot call Connection.commit in the distributed transaction. Transaction manager will commit the resource manager when the distributed transaction is committed... Check the logs for the record output full DBAdapter before this exception. This exception is considered as reproducible, probably due to a communication failure. To be classified as not reproducible instead, add property nonRetriableErrorCodes with the value '0' for the deployment descriptor (i.e. weblogic - RA.Xml). Auto retry a reproducible fault set composite.xml for this invoke these properties: jca.retry.interval, jca.retry.count and jca.retry.backoff. All properties are integers. ". The called JCA adapter threw an exception of resource. Please review the error message above carefully to determine a resolution. < / Summary >, detail = < detail > cannot call Connection.commit in the distributed transaction. Transaction manager will commit the resource manager when the distributed transaction is posted. {< / detail >, code = < code > < code > 0}

    Published by: Ajay8706 on February 19, 2013 22:44

    Hello

    To resolve this issue, go to the deployments on the weblogic console and open DBAdapter. Go to the Connection - Pool of outbound connections where the jndi is configured to talk to the jdbc data source.
    Expand the javax.resource.cci.ConnectionFactory, and then select the case of connection.
    There you can see that the name of data source is configured in the dataSourceName row while it must be configured in the xaDataSourceName line. This is because the data source, you must have defined as XA (confirmed by going on the transaction tab in jdbc configuration)

    Thank you
    Durga

    -It is considered good etiquette to the answerers rewards with points (as "useful" - 5 pts - or 'correct' - 10pts).

  • Firefox is acting as it comes to install every morning when I wake up. He loses the privacy settings, home page and shows the start-up firfox and firefox home.

    He also loses the addons, like personas. I tried to reset firefox and deleting the prefs.js. There is none of the other files mentioned in the article on how fix firefox does not save the settings. Every day that it starts with the Welcome to Firefox and Mozilla Firefox Start Page my homepage EVEN instead after I created my homepage and he remembers.

    Once I saved the settings they are stored for the rest of the day, but when I wake up in the next day, POOF!, firefox forget what I did. I remember stuff like my bookmarks, history and tabs pinned, but he doesn't remember my privacy settings for him is not to suggest stuff on the address of my history and bookmarks toolbar.

    As of the time of this message, I did not my settings for troubleshooting information are the status of firefox is in when I open it first from a morning. What the hell is happening?

    What security (firewall, antivirus) software do you have?

    Some security software has virtualization or sandbox features that can cause problems to protect and restore files in the Firefox profile folder.

    Create a new profile as a test to see if your profile is the source of the problems.

    See "create a profile":

    If the new profile works then you can transfer files from a profile in the new profile, but make sure not to copy corrupted files.

  • NB550D - 10G - do I lose the warranty after change of HARD drive?

    I would like to change the HARD drive in my Toshiba NB550D - 10G for one SSD drive.
    Could someone tell me if I lose my warranty after doing this? I would also like to know evolves from 1 GB ram to 2 GB would indeed lose the warranty?

    Thanks for the help!

    No, I think that you that the warranty would be unaffected if you remove and replace the HARD drive.
    The HARD drive and memory are parts extensible user and replace this part will not void the warranty.

  • GSM7224v2 loses the configuration after power failure

    As the topic title says - this device (new for me but flea market) loses its configuration after power off.

    I don't see any button cell within the unit for volatile memory backup. Surely the configuration lives in non-volatile storage?

    I am being dumb and I'm missing something?

    Hi neidlo

    Welcome to the community!

    Yes configuration lives in a non-volatile memory, when it is saved. Until it is saved, it is in RAM.

    When configuring the switch, it is not automatically saved. Using Web Interface (GUI)? A "Save" button should do.

    Please let us know whether or not this was the burden

    Kind regards

  • Lose the ability to access Internet after Windows updates published in the last 24 hours

    I lose the internet connection if I install the Windows updates published in the last 24 hours.  I have had access to the internet after restoring to a restore point.   I was able to recreate this problem be reinstall them again.

    Update the example is KB2121546

    Manually install a - alone.
    Reset.
     
    Still have Internet?
     
    Manually install the next one, one.
    Reset.
     
    Still have Internet?
     
    Repeat this until you lose Internet or have installed all updates - what comes first.  If you lose Internet - uninstall that one and install all others (using the same one at a time - at the most method you will have 8-9 for this cycle) then come here and let everyone know what update was kill your Internet connection.
     
    Why?  An update of the example is of no help.  There are 9 updates you could possibly have * if * you were aware through yesterday.  Knowing the SPECIFIC update that is causing your problem would be better for you and those who help you.

    --
    Martin Stanley
    MS - MVP
    --
    How to ask Questions the Smart way
    http://www.CatB.org/~ESR/FAQs/smart-questions.html
  • lose the connection to the net after system restore

    I used the system restore and restart the pc after it but I lose the connection to net it gives zero transmission and recived it is a lock on the connection icon and when I try to use repair it gives the error message (windows could not finish repiring the problem because it is impossible to perform the folloing action not to conduct not query tcp/io of the canoe connection parameter)

    There is no problem with the connection that the net works with other PC not mine

    When first I used the net all the me I connect the Caron and its automatic execution

    so why it dosent run now the files make me lose the file how to fix

    When you did the system restore you have lost the connection to the network.

    Create a new connection

    Dale may

  • Credential Manager loses the password stored after a certain time

    Hey Microsoft Community.

    I have a small problem with the Manager of credentials Windows under Windows 7, Windows 8 RP, RTM of Windows 8 (have a version of Dreamsparks) and Windows Home Server 2011. When I store connections in the manager like for example to connect to network between machines shares, the manager loses these passwords after a certain time (2-3 days or more). At first I thought that this happens when the computer is rebooted or started because the machines are usually have hibernated in my house - but even when they are not given running loose connections.

    What should I do to fix this? I need the connections, for example for automatic nightly backups.

    Hi StefanSchm,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    TechNet Forum

    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

     

    I hope this helps.

  • VMware ESXi 5.5 and HP ML310e gen8 v2 lose the license and the password after restart

    I've updated my HP Proliant server with the latest drivers and I have the BIOS version is here: VMware Compatibility Guide: search system

    but after I entered my license in vSphere and adding a virtual machine to the host, where I am restart I lose the license, the password to connect to the host (his game empty) and all virtual machines (I have to add them manually and fix the network, because it is also reset to the default setting).

    Any ideas why is this happing? I'm doing something wrong?

    Other info: I have 2 hard drives put in a logical drive (Raid 1) and VmWare log does not work without saying anything...

    Hello

    is it a stand alone esx host? If yes try asking another key on the wmare site

    hp custom image you used to install the esxi?  If not download the latest version of the hp site or vmware and perform a new installation or level and keep the data store.

    also update the firmware of the hp for the later levels site

  • Office loses datebook categories after export &amp; import the file dba.

    Hello

    After reading a lot of posts, I can't find any that have reported a similar problem, so here it is.  Office loses datebook categories after export & import of a file of dba.  I use Palm Desktop by Access v6.2.2 and a Verizon Centro.  This problem has nothing to do with the synchronization.  I just exported my calendar of events in a DBA file, import the same file and all event categories have been set to "unclassified".  Is this a known bug, or perhaps, the s/n file includes no category information?

    I'm really curious to know if the dba file (archive date?) contains information catergory.

    Thanks in advance,

    CentroIllinois.

    Hello!

    A bit of a limitation of Palm Desktop.  Before you import the file s/n, manually add the category nanes via change categories and then try again to import the file dba.  Due the category names must be exactly the same spelling and spacing as before when they were exported.

  • I use Lr5 on a PC, working on the Nikon RAW files. Without even touching the images, they lose their shine after a few seconds. Why and how can I keep the liveliness to the origin?

    I use Lr5 on a PC, working on the Nikon RAW files. Without even touching the images, they lose their shine after a few seconds. Why and how can I keep the liveliness to the origin?

    Step 1: Adjust an image in Lightroom, until you are satisfied with its appearance

    Step 2: Use develop-> new preset, select all selections in the new preset dialog box (note: I always uncheck the exhibition here, who should probably be adjusted picture, I'm mostly interested by contrast, vibrance and camera calibration settings)

    Step 3: In the import dialog box, on the right, under appliquer apply when importing, select the preset desired beside development parameters

  • After the launch and the release of Cisco close Windows loses the functionality of micro.

    If I run the Cisco close Windows application, I lose the microphone feature. I understand from the client accesses the pair with the SX camera microphone.

    But if I left out the functionality of client micro does not. I need to restart my computer for the features come back.

    No reason as to why this is happening?

    This looks like a driver problem. First of all, try to see if you can find a newer audio driver, may also update drivers for related equipment such as the dock and the chipset.

    If this does not help, you can try to see if disabling exclusive mode. If off exclusive mode help the issue, but makes it impossible for you to connect to the codec, check all the settings recording. You may have to disable all effects microphone such as the cancellation of the echo for your card to work without exclusive mode.

    Comments on how you price and information about what hardware you use, would be great if we can help others in your situation as well as possible.

  • the message of success/failure on screen after DB transaction

    I use jdev 11.1.1.6

    I use link to update my form in database.

    < af:commandButton actionListener = "#{bindings.Commit.execute} '"

    Text = "Register" id = "cb2" / >

    Once validation has been completed, I am always on the page and want to see if the transaction has been approved.

    How do I get there?

    write a method in your actionListener to the bean

    public String invokeCommit()

    {

    BindingContainer links is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

    OperationBinding operationBinding = bindings.getOperationBinding ("Commit");

    Object result = operationBinding.execute ();

    FacesContext facesContext = FacesContext.getCurrentInstance();

    facesContext.addMessage("NoRecordsFound",

                           newFacesMessage(FacesMessage.SEVERITY_INFO,

                                            "Transaction successful",

                                            "Transaction successful"));

    facesContext.renderResponse();

    be sure to handle errors here.

    If (! operationBinding.getErrors () .isEmpty ())

    {

    FacesContext facesContext = FacesContext.getCurrentInstance();

    facesContext.addMessage("NoRecordsFound",

                           newFacesMessage(FacesMessage.SEVERITY_INFO,

                                            "Transaction fail",

                                            "Transaction fail"));

    facesContext.renderResponse();

    }

    Returns a null value.

    }

  • The inserted lines lose their order after multiple inserts

    Hello

    I created a table with a single column, in which I insert the following results. When I have only a single insertion, all right. When I have several insertions, something goes wrong and I lose the order, the table is pretty simple:

    -Create table
    create table Test_table
    (
    line VARCHAR2 (200)
    )
    tablespace TEST
    PCTFREE 10
    INITRANS 1
    maxtrans 255
    storage
    (
    initial 206M
    According to 1 M
    MINEXTENTS 1
    MAXEXTENTS unlimited
    );
    -Grant/Revoke object privileges
    Grant select, insert, update, delete, references, alter, index on Test_table to the PUBLIC;

    Cases where there is only a single insertion. All the lines in their correct order.
    BOF
    <LINE 1>
    <LINE 2>
    <LINE 3>
    <LINE 4>
    <LINE 5>
    <LINE 6>
    <LINE 7>
    <LINE 8>
    <LINE 9>
    <LINE 10>
    EOF
    Cases where there are 5 inserts. < line 1 > and < direct10 > changed place.
    BOF
    <LINE 1>
    <LINE 2>
    <LINE 3>
    <LINE 4>
    <LINE 5>
    <LINE 6>
    <LINE 7>
    <LINE 8>
    <LINE 9>
    <LINE 1> +---line 1 from the last insertion misplaced into the previous one+
    EOF
    
    BOF
    <LINE 10> +---line 10 from the previous insertion misplaced into the last one+
    <LINE 2>
    <LINE 3>
    <LINE 4>
    <LINE 5>
    <LINE 6>
    <LINE 7>
    <LINE 8>
    <LINE 9>
    <LINE 10>
    EOF
    Any ideas how can I avoid this?

    Published by: user13415143 on December 16, 2010 02:33

    The order of the results returned by a query that is not an ORDER BY is indeterminate. It could change from day to day, patch fix, version to another. If you care about the order of the results, you must specify an ORDER BY. This would certainly require that you add an additional column to the table to store the order (probably a sequence generated primary key) and you STOPPED BY this new column in your query.

    Justin

  • Restore the transaction committed

    I am trying to execute the procedure in Oracle 12 c using SQL Developer

    create table Parent
    (
    ID number(5),
    Name Varchar2(50)
    );
    create table Child
    (
    ID number(5),
    Name Varchar2(50)
    );
    Procedure ParentProc
    begin
    //Doing the Transactions
    insert into Parent values(1,'Parent');
    //calling child proc
    ChildProc;
    rollback;
    end ParentProc;
    
    
    
    
    Procedure ChildProc
    begin
    //Doing the Transactions
    insert into child values(1,'Child');
    commit;
    end ParentProc;
    


    The value in the child table persists even after that the restoration is used in the parent process.

    There is a solution where the validation of the procedure of the child can be eliminated, but as child procedure is called by other sources also directly, if validation is necessary here.

    And also, I don't want to use a variable to separate he was called by any other process, or if called directly.

    I just want to know if I use the valid approach, I am submitting commit or rollback of the calling program

    that I learned from this https://blogs.oracle.com/dev2dev/entry/write_recovery_code_with_transaction

    This article shows everything we said.

    1. the DML is run by the customer

    2. then the command also committed by the customer if the DML succeeded

    Just a question will be the oracle database GET two calls from the calling program

    (1) the first Call When I Sumit the query.

    (2) second call when I submit Commit / Rollback.

    Yes - there are two statements and each of them will be sent to the server separately.

    During this period the uncommitted transaction will be lock on the tables that are in the DML statements. or it is a hidden life?

    Yes - No validated DML may have line and/or table locks. These locks will not come UNTIL the end of transactions - that is, until a commit or rollback is performed.

Maybe you are looking for

  • With the help of 2 external hard drives

    I want to connect 2 external hard drives (OWC Mercury Elite Pro) to my iMac.  I use one for the pictures and the other for the safeguarding of the iMac.  The two hard drives come with FireWire, USB 3 cable also.  Is it possible to connect the two lea

  • Satellite 1410 - NTLDR missing

    My brother gave me his notebook to watch as it will not start. Although initially, it came with XP Home, it has since been upgraded to Professional and has worked well for about 12 months. Cannot do a lot with the laptop because it constantly gives m

  • Portege P7220: Question about C:\windows\system32\drivers\symevent

    I have a Portege P7220, bought in 2001 with Win2000. I tried to switch to XP, using the PCMCIA CD player I bought at Toshiba with the computer. 1. in the first steps of the installation, he told me that I didn't have a CD player, with some info on "S

  • Impossible to download LabVIEW OR SoftMotion Module 2011 SP1

    LabVIEW OR SoftMotion Module 2011 SP1 http://Joule.NI.com/nidu/CDs/view/p/ID/2776/lang/en/rating/1 Any link on this page you can download a downloader, and the Downloader can only download it self.

  • Example of auto-generated SEQ

    Hey everybody, I took a LabVIEW course and there was this example treated on a Toolbox (or maybe it was just an example) who took a Wizard dialog box input and generated the queue only Globals functional element with get and set functions. Nobody kno