Double entries are updated.

Hi,
I am using Jdev 11.1.2.1.0
My table is getting updated twice on running this below code :-
1.  Once for the default values and form values with ID as null.
2.  second time with default values and only ID . Form field values are null for the second time.
Below is the action listener code :-
IDViewImpl VO = (IDViewImpl)this.getIDView1();
           NameValuePairs nvp;
           nvp = new NameValuePairs();
           CallableStatement cs=null;
                     no = 12;      
               try{
                       System.out.println("Inside try");
               String stmt =  "begin ? := ID_RET(?); end;";  
               cs=getDBTransaction().createCallableStatement(stmt,0);
               cs.registerOutParameter(1, Types.NUMERIC);
               cs.setString(2, no);
               cs.executeUpdate();
               cs.getInt(1);
               System.out.println(cs.getInt(1));
               nvp.setAttribute("ID",cs.getInt(1));
               IDViewRowImpl row = (IDViewRowImpl)VO.createAndInitRow(nvp);
               VO.insertRow(row);
       catch(JboException e){
             throw new JboException(e);
              } catch (SQLException e) {
               throw new JboException(e);
        finally {
                   if (cs != null) {
                       try {
                           Close the statement
                           cs.close();
                       } catch (SQLException e) {
           this.getDBTransaction().commit();
Please help.

Hi,
How can I get the custom create method of the view Row to do my calculation ? To overwrite, my method name should also match with the custom method name.
How can I generate custom methods in the ViewRowImpl.java class?
I have checked the ViewRowImpl.java and found accessors for the VO fields and
protected Object getAttrInvokeAccessor(int index, AttributeDefImpl attrDef) throws Exception {
if ((index >= AttributesEnum.firstIndex()) && (index < AttributesEnum.count())) {
return AttributesEnum.staticValues()[index - AttributesEnum.firstIndex()].get(this);
return super.getAttrInvokeAccessor(index, attrDef);
* setAttrInvokeAccessor: generated method. Do not modify.
* @param index the index identifying the attribute
* @param value the value to assign to the attribute
* @param attrDef the attribute
* @throws Exception
protected void setAttrInvokeAccessor(int index, Object value, AttributeDefImpl attrDef) throws Exception {
if ((index >= AttributesEnum.firstIndex()) && (index < AttributesEnum.count())) {
AttributesEnum.staticValues()[index - AttributesEnum.firstIndex()].put(this, value);
return;
super.setAttrInvokeAccessor(index, value, attrDef);
Regards,

Similar Messages

  • I updated my iPhone 4 to iOS5 and let it sync with my Macbook and now all my iPhone iCal entries are gone. How can I get my iCal events back on my iPhone?

    I updated my iPhone 4 to iOS5 and let it sync with my Macbook (running Lion) and now all my iPhone iCal entries are gone. How can I get my iCal events back on my iPhone?

    Me too!  Help anyone?

  • HT4489 Ever since the last update IOS5.1.1, calendar entries are not saved on Icloud, and would not sync on all I clould devices

    After the last update of IOS5.1.1, all caledar entries are not saved on Icloud and thus not synced on all my Icloud devices, even though, spreadsheets are synced, photostream is working and contacts is syncing, only calendar items.  Anybody has the same problem? Or a solution to this kind or problem?

    Welcome to the Apple Community.
    First check that all your settings are correct, that calendar syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the calendars you are using are in your 'iCloud' account and not an 'On My Mac', 'On My Phone' or other non iCloud account (you can do this by clicking/tapping the calendar button in the top left corner of the application ), non iCloud calendars will not sync.
    If you are sure that everything is set up correctly and your calendars are in the iCloud account, you might try unchecking calendar syncing in the iCloud settings, restarting your device and then re-enabling calendar syncing settings.

  • Blog entries are broken with latest iWeb update

    I received an update to iWeb within the past couple days, apparently related to the changes for MobileMe. Now the publish command is "Publish to MobileMe".
    I published new blog entries since the program update. Now all the links to the blog entries are shown as $link$ and none of them work.
    I cannot find how to send an email to Apple Support about this. The MobileMe support page shows Chat which is not active and pointers to all kinds of sources except a source that will allow me to communicate the problem directly to Apple in a simple way.
    Does anyone know what is going on? This MobileMe transition is nothing but problems for me so far when I am just trying to use the same stuff in iWeb that I've been using fine for a long time.

    Thank you very much for your post.
    Good news: Publish All solved the problem.
    Bad news: This is clearly a case where basic testing was sorely lacking and the new service was rushed out. The solution is draconian and not really acceptable for large amounts of content.
    I had thought about doing Publish All but knew it would take probably a couple hours to complete for the multiple gigabytes of content that I had. After I saw the post then I started the Publish All before I went to bed. I check in the morning and it had worked.

  • [Request] SQL Ledger - double entry accounting system

    Hi, has anyone tried a package for this?
    SQL-Ledger is a double entry accounting system. Accounting data is stored in a SQL database server, for the display any text or GUI browser can be used. The entire system is linked through a chart of accounts. Each item in inventory is linked to income, expense, inventory and tax accounts. When items are sold and purchased the accounts are automatically updated.
    With the assembly feature you can build manufactured goods from parts, services, labor units and assemblies. When the assembly is sold all the accounts linked to the individual parts, services, labor units and assemblies are updated and stock levels adjusted accordingly.
    Invoices, Packing List, Income Statement, Balance Sheet, Sales, Work and Purchase Order, Statements, Receipts and Checks are generated from templates and can be changed to suit your needs. Templates are provided in html, tex and text format. The tex templates are processed with latex to produce postscript and PDF documents. Documents can be sent to a printer, file or fax, displayed with a PDF viewer or sent by email...
    More info at: www.sql-ledger.org
    Thanks.

    You're making me feel very reckless here. You don't package because you don't know C? I don't even know bash (not very well anyway), let alone C, perl, python, or anything else. I do know how to cog from other PKGBUILDs though, which accounts for all 14 of my AUR submissions, and a few strays that didn't meet the guidelines (they're around here somewhere...).
    If you reckon ledger is OK, I'll AUR it - not being an accountant myself, I wouldn't know.
    Re the programming comp, I appreciate the invite, but bearing in mind my lack of ability (see above), I plan to "nod along" for most of it - if I pick something up, that's a bonus.

  • Why do I get double entries when synching calendar with Google calendar?

    Since I have different iCloud passwords on my iPad 2 and iPhone 4s, I synch the calendars with Google calendar.  It works - to a point.  The problem I'm getting double entries in my IOS calendars.  Any suggestions?

    I too was having this issue recently.  I decided to look into it and discovered that www.google.com and all of the search results accessed through using a google search engine toolbar were currupt.  I believe I solved this problem by updating my firmware of my router. 
    Type in your IP address in your Address Bar (search using Yahoo what your default IP router address is if you haven't changed it since you got it.)  You'll then need to navigate to your router's website (ex: I search Cisco and Linksys and found mine).
    Most logins to the router are
    Name: admin
    Password: password
    You will then download a .bin file and go to your administrator page in your router's control panel and go to Firmware Upgrade.  Click the "find file" (or whatever it says) and click upgrade.  This worked for me.
    If this doesn't solve it, reset the router to it's default settings by either using it's control panel or holding the reset button on the back of it in for several seconds.  This will reset any port forwarding you may have set up as well as your Wifi password.
    Hope this helps,
    Seaspider1

  • How do I get rid of double entries in my Contacts?

    I sync a 3rd party software, DejaOffice, from my iPad to my PC via Outlook. (DejaOffice is an integrated program with Calendar, Contacts, To-do List, and other features.) DejaOffice allows for syncing to Apple Calendar & Contacts. (Synicing to Contacts is especially important on my iPhone so it recognizes incoming calls in call display.) When I sync to Apple Calendar & Contacts, I often get double entries in both the Apple software, and DejaOffice. So, I have turned off syncing to Apple Contacts and Calendar from DejaOffice. I have just spent an hour deleting the double/triple entries in Contacts in my iCloud from my PC, and want to push the corrected list to my iPad & iPhone 5. I can't see how to delete the contacts in iPad or iPhone (which still have double & triple entries). If I turn on iCloud Contacts and Calendar in either device, it tells me it will merge the data, and I don't want the double entries any more, so I'd like to delete all contacts on iPad & iPhone, and then push the corrected iCloud list to both devices so they are all on the same page. I can't seem to figure out how to delete my Contacts or Calendar entries on iPad or iPhone so the merge only contains the corrected list from the iCloud. Can anyone help me with this?

    First, export your contact from iCloud.com and save them on your computer in a safe spot some where (like you desktop).  Use this to help you do this: http://support.apple.com/kb/PH3606
    Next, on both of your devices, go to Settings > iCloud and turn on contacts and select Merge. Then turn off contacts and select 'Delete form my [device]' when prompted.
    Now go back to iCloud.com and select a contact (yes they will all be messed up again) and select Command+A on a Mac or Control+A on a PC to select all of the contacts.  Tap the delete key on your keyboard (or right click /control click a contact and select delete).
    You iPhone, iPad and iCloud.com should not be empty for contacts.
    Go back to Settings > iCloud on both devices and turn on contacts again (you should not see merge this time).
    Next, go back to iCloud.com and import your contacts (those exported .vcards).  You can either drag and drop them into the empty contacts list in your web browser, or you can use the gear icon to import.
    You cleaned up contacts should import correctly into iCloud.com and sync to both of your devices.
    Good luck.

  • Mail OS Snow Leopard: Double entry of email-address in column "sender"

    I just downloaded my mails from my google imap-account.
    In the column "sender" certain mails appear with a double entry in the following way:
    <[email protected]> <[email protected]>
    This behavior occurs for certain mails, independent if the senders are in the address book.
    Surprisingly, if you open the mail you find only one entry in the header. For those senders listed in the address book the name is listed correctly.
    Please let me know if you have an idea how to make the program only show the sender once.
    I hope that one of you can help me with this problem, thanks.

    Hi,
    hope it works that way:
    *Return-Path: <[email protected]>*
    *From: <[email protected]>*
    *To: <[email protected]>*
    *Subject: =?iso-8859-1?Q?Schl=FCsselbestellung?=*
    *Date: Thu, 27 Nov 2008 14:58:08 +0100*
    *Message-ID: <002a01c95098$3c894550$[email protected]>*
    *MIME-Version: 1.0*
    *Content-Type: multipart/mixed;*
    * boundary="----=NextPart_000_002701C950A0.8F6E26C0"*
    *X-Mailer: Microsoft Outlook Express 6.00.2800.1506*
    *X-GMX-Antispam: -2 (not scanned, spam filter disabled)*
    *Thread-Index: AclQmDyt8JNE3pZJSoWCwDb05OmyHQ==*
    *X-Flags: 0000*
    *X-GMX-UID: spUdfYwhX1VoBiAQNGByJY13SDc4NMx8*
    *X-GMX-Antivirus: 0 (no virus found)*
    *X-OlkEid: 2D643A205454AB0E3C1E844BA67D6A4989DF42D5*
    *X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506*
    *X-MS-TNEF-Correlator: <002a01c95098$3c894550$[email protected]>*
    *This is a multi-part message in MIME format.*
    ------=NextPart_000_002701C950A0.8F6E26C0
    *Content-Type: text/plain;*
    * charset="iso-8859-1"*
    *Content-Transfer-Encoding: 8bit*
    *Sehr geehrter Herr xxx,*
    (Text Start)
    (Text End)
    Thanks, Mathias

  • MI07,Physical Inventry posting can hit dual G/L or Double Entry posting

    HI Experts,
    At the time of Physical Inventry posting, we are using Tcode-MI07. After that normally two documents are generated. One is accounting document and another is material posting document. Then we hit two G/L in Accounting document, one is Inventry and  another is Offsetting Entry. After that can we do posting in Increment/Expense G/L , separately or at the time of MI07 posting we need to customized that thing. Mean we have to enter double entry system in SAP. If it is possible in SAP standard then can anyone share the configaration of that?
    Edited by: Babai82 on Aug 9, 2011 4:20 PM
    Edited by: Babai82 on Aug 9, 2011 4:23 PM

    Dear Praveen,
    Could u pl let me know why a Machine should itself Stop a Manual Entry when there is a no Logical Instruction given to it?
    SAP does provide contols for Entry like
    - Document Principle which allows u to generate  Acc Doc only if DR=CR
    -Posting Keys which take you to  G/L ranges or Account Types
    -Validations where Logical Validations can be  provided to check the Entry.
    On the lighter side if there will be no error what will our Auditors DO?
    HNY 2007,
    Sudhanshu
    Pl assign my  points
    Message was edited by:
            Sudhanshu Shekhar Tiwary

  • F110 and ff_5 double entry

    hi,
    1) may i know what is the double entry posting when executing f110?
    dr creditor cr bank clearing?
    2) when do bank recon ff_5 the double entry is
    dr bank clearing cr main bank?
    please help to clarify.
    thanks

    1. when we pay the vendor thru f110 the entries are:
    Dr Vendor
    Cr Check clearing a/c
    but vendor can encash the check at any time untill then the above entry will b open. when the vendor encashes the check then the entries r:
    Dr Check clearing a/c
    Cr Bank
    Now the check clearing a/c will clear automatically
    Please remember that clearing a/c shld always b maintained as an open item manage.

  • Entry in ical like -1 effects double entries on other devices after sync through icloud

    Entry in ical like -1 effects double entries on other devices after sync through icloud

    First check that all your settings are correct, that calendar syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the calendars you are using are in your 'iCloud' account and not an 'On My Mac', 'On My Phone' or other non iCloud account (you can do this by clicking/tapping the calendar button in the top left corner of the application ), non iCloud calendars will not sync.
    If you are sure that everything is set up correctly and your calendars are in the iCloud account, you might try unchecking calendar syncing in the iCloud settings, restarting your device and then re-enabling calendar syncing settings.

  • ACL does not correctly order the permissions when they are updated

    Outlook Connector sjab32.dll 7.1.228.0 sjms32.dll 7.1.228.0 sjui32.dll 7.1.228.0 sjtp32.dll 7.1.228.0
    Problem: We have identifed an issue with editing calendar permissions using the Outlook Connector. Basically the calendar ACEs are evaluated on a first match basic. Outlook Connector does not correctly order the permissions when they are updated. A brief example is below. Editing permissions via UWC works fine and will in fact fix any out of order ACE entries.
    Basic calendar permission:
    1.aces=@@o^a^rsf^g;@@o^p^rw^g;@@o^c^wdeic^g;@^a^sf^g;@^c^^g;@^p^r^g^
    after adding user mab, Ace has now been re-ordered so that the everyone permissions are now before the owner permissions:
    2.aces=mab^p^r^g;mab^c^rwd^g;mab^a^rsf^g;@^c^rwd^d;@^c^^g;@^p^r^g;@^a^sf^g;@@o^c^wdeic^g;@@o^p^rw^g;@@o^a^rsf^g
    any suggestion as to why this re-ordering is happening when updated through OC and any supporting doucuments for ACL

    Hi,
    This issue is most likely related to bug #6471869 (Outlook Connector allows invites to users with restricted permissions). This has been fixed in the latest Outlook Connector 7.1_233 (aka 122018-09). I recommend logging a Sun support case to get a copy of this new release.
    Regards,
    Shane.

  • Problems in CS4: Double entries while indexing

    How to prevent double entries from occuring while indexing in CS4, please comment
    Audacity
         Audacityabout  8
         Audacityalign tool  116, 118
         Audacityamplify effect  160-162
    How to prevent the double entries of Audacity
    Thanks

    If the cursor is the only problem, my guess is that you haven't updated your video card drivers.

  • Doubled entries after transport

    Hi,
    We decided to make some modification in DEV (delete and recreate new KPIs, delete and recreate new metrics sets).
    After Transport to QUAL, Some entries are doubled (twice the same KPIs linked to a objective, metric sets doubled...). We checked in DEV and everything is OK. We did again a transport deleting QUAL database before but same results.
    Is there any cache or something to delete before transporting ?
    The former transport finished correctly. The only difference is that we noticed that users in QUAL are all doubled (2 same entries for each users !!!).
    Thanks
    Matt

    Hello,
    I saw in the support case text that you had imported data previously and did not get duplicate metric sets until this last recent import.
    After the successful import had any thing changed with user assignments or group changes at all?
    One thing to test is to send your Zip file to Support and ask them to import it into a clean test system and see if they see duplicate metric set entries.  That would tell us if the 'duplicate' entries are in the export file or not.
    That's probably easier then worrying about deleting and backing up data. 
    Are all metrics sets duplicated or only new ones that were loaded from the other system?
    It's always a good idea to open a new browser session and clear the IE cache, then login to SSM just to be sure the duplicates are not some cached entries.
    If you have 'preserve favorites website  data' selected and you have SSM urls saved as favorites, please turn this off.
    Thanks,
    Bill

  • Double Entry Alert Massage

    Hi Experts......
                 I need some help in Invoicing. Actully when user is entring the purchase invoice first time then
    it works properly but to avoid double entry of same invoice is there any solution?
                 Or is there any way how to get atleast an alert massage that 'you have already created this invoice
    do you want to continue?'
    Thanks & Regards,
    Rahul.........

    Hi Rahul,
    Use Drag & Relate functionality.Drag the Customer/Vendor code and relate to the Invoice it shows the
    list of invoices are booked in particular customer/vendor.in that list use filter options with the posting date.
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

Maybe you are looking for

  • Multiple instances of same portlet on same page

    Dead horse, I know, but I am afraid I still don't get it: I use ONE JSP to extract data as XML, parse the data using XSL, render it. A portlet has some variables that may vary between instances of the same portlet on the same page. I am familiar with

  • Returning an array type from a local method in Web Dynpro Java application

    Hi, In my project, we have a requirement to display 18 rolling months along with the year, starting from current month. How I am going to approach is that I will get the system date and get the current month and send the month and year value to a loc

  • Inclusive free goods sale without item generation

    Dear All, I have done successfully free goods sale exclusive with item generation but facing problems with inclusive & inclusive without item generation, in VBN1  for NA00 I have maintained following. material code - Min Qty - 5 - from - 10 PC - are

  • Customer or Vendor address in SAPSCRIPT

    Hi , From where  the address data from customer and vendor are pulled ? Common data or from the international address screen? i.e which table and how thanks

  • BW & ORDER MANAGEMENT

    Hi!!! Im new in BW and im going to work in a proyect with order management module, some one can help me with info about the business proces about Operation Management module and standard stractors, reports, datasources, sources systems, infosources,