Problem with update of Forms 6i to Forms 10 g migration - Data

Hello world.

I have the following problem: I have a form that generates withdrawal slips. To do this, there is a button. When clicked, there is a slider with a query "SELECT" and "for update" that looks for the picking of sheets lines entered by the user. For each line, update the column "numberOfPickingSlip" with the appropriate number of picking slip (generated before the update loop).

The strange thing is that the form works with Forms 6i, but it does not at all with 10g form, although I recompiled just the form (no need for Webutil run this form)... Only the last line of the form collection is updated. The code of the procedure is the same for BOTH versions... Nothing has changed. So, it isn't a problem of query. Even more interesting, if I run the form directly from Oracle Forms Builder and then clicking on the "Generate" button, it works but just once... And the worst case: after running the form directly from the Forms Builder, loading of another form (accessible from a menu above), of closing that form and then clicking on the "Generate" button, it doesn't work at all and only the last line is updated...

I checked the contents of cursor and it contains all the lines that need to be updated, but for some reason, only the last is updated...

How is that possible? Is there something special I need to do?

Thanks for any help :)

I had a similar problem with the help of update in a for loop. I know, it shouldn't be a problem, but you can try to use the rowid to update (at least to see if the problem goes away):

procedure gen_pickingSlip is

  p_year VarChar2(4);
  p_numPickS number;
  p_line number := 0;

  cursor recup_maj is
    select ROWID,* from prepa
     where numPickingSlip is null
     for update of numPickingSlip nowait;
  recPickSlip prepa%rowtype;

begin

  -- Retrieving the new picking slip number
  retrieve_num_pickingSlip(p_numPickS);
  -- Year of the picking slip
  p_year = to_char(sysdate,'YYYY')

  open recup_maj;
  loop
    fetch recup_maj into recPickSlip;
    exit when recup_maj%notfound;

    -- Position in the picking slip
    p_line := p_line + 1;

    --*This is the part where it seems only one update is done*
    update prepa
    set year=p_year, numPickingSlip=p_numPickS, line=p_line
    where ROWID=recPickSlip.ROWID;
  end loop;

  close recup_maj;

  if p_line > 0 then
    commit_form;
  end if;

  synchronize;

end;

Tags: Oracle Development

Similar Questions

  • Problems with a contact form of Muse in a plesk (windows) Godaddy hosting account

    Hello

    I have problems with a contact form of Muse in a plesk (windows) Godaddy hosting account. It is not send. It is as if the input image verification is not valid.

    I tried BusinessCatalyst and it works fine. I also tried a similar form on another site hosted on c-Panel (linux) to Godaddy and it works as well.

    Help!

    Thank you.

    Hi Marianne,.

    Please check with your host for assistance with the same provider.

    Kind regards

    Akshay

  • Problems with the contact form

    Good day to you all,.

    im a total newbie-muse.

    That said: I have some problems with a contact form I've tried to insert into my homepage.

    When I try to download it via ftp to our server muse tells me that there are some problems with the configuration of PHP.

    In addition to the contact form, the site works very well.

    I tried to change the version of php on our server at 5.6, but it still doesn't work.


    Any ideas?

    Thanks in advance and greetings from the Germany.

    You can consult this document: Troubleshooting Muse form Widgets used on the third... | Adobe Community

  • My customer is having a serious problem with the Contact form Widget

    My Client is to have a serious problem with the Contact form Widget that I can't seem to figure out how to fix.

    I created a website for a client and inserted a widget of Contact form on the "Contact us" page Whenever someone uses the form, e-mail receive my client shows my e-mail address as the sender. So when they "meet" the email, the response is sent to me and not the person who sent the original message. This creates a major problem in that I get flooded with answers e-mail while my client's potential customers go without a response.

    When I look at ' Site Manager > email system > Workflow information > e-mail address on the site administration Console, it displays my e-mail information. This is what needs to be changed?  If this is the case, what needs to be placed in this field for the email address of my client receives presents information email senders in the field "from".  My client wants to be able to click on reply and the message sent to the right side. They would be very angry if should be cut and past shippers Correo electronico of the body text on all the contacts they receive.

    Their feeling is that if I can't find a way to make the contact form works as it should, then there is no need for them.

    Can someone help me understand this? I really don't want to disappoint my first client.

    Congratulations for your first customer! =>

    Looks like you can have your email in places where your customers email should be.

    Here are the places you need to change your e-mail address.

    First adjust the answering of your web form is your customer email. Screenshot: http://screencast.com/t/YWiZZ30E0jE and http://screencast.com/t/u4t69anTLR

    Second set Emails to come your clients e-mail system. Site management > system email > set default "from" e-mail. Screenshot: http://screencast.com/t/EAr2sfXk

    I always go through each email system and check the e-mail address after you set the default value. I found that it doesn't always change them for some reason any. Note: If you are on a lower to webCommerce plan your list can be shorter than what is shown.

    Make sure that the email you the list of customers is also an email they want in public.

    Also provide information on the TSA that thetrickster888 is good information.

    I hope this helps.

    Lynda

  • problems with update iOS 9.3 car bluetooth

    problems with update iOS 9.3 car bluetooth. break and cannot hear the caller voice calls.

    In what seems to be the same problem, this AM. iPhone 6, iOS 9.3, its stock of 2012 Honda Odyssey system. Worked well with iOS 9.1. With iOS 9.2 bluetooth would be occasionally disconnect, then reconnect about 5-10 seconds later. Reset all the settings bluetooth both phone and car with no improvement.

    IOS installed 9.3 last night. Phone connects, but the audio is unintelligible. Sound cut about every quarter of second, then reductions for about a quarter of a second, ad nauseam. Reset the phone without effect. Will try other things later today, but the phone is unusable with bluetooth, as is.

  • Problems with updating creative cloud to desktop. (error code: 2)

    Problems with updating creative cloud to desktop. (error code: 2)

    Hi Mike,.

    You can follow the article: error: "unable to install". Creative Cloud Desktop that will help you get your number sets.

    Alternatively, you can follow the thread: Creative Cloud desktop could not be updated. () Error code: 2) where this issue is already addressed.

    Let us know if it works or not.

    Thank you

    Yann Arora

  • Problem with update of Photoshop, Illustrator and Indesign CS6

    Hi all. I have problem with update of Photoshop, Illustrator and Indesign on OSx 10.8.4 CS6. Application are OK but update (bug fixies) does not work. Update failed. (U44M1P7)Screen Shot 2013-07-30 at 16.11.09.png

    Hi El Gondo,

    The following could explain and help solve the problem...

    U44M1P7 - updates:

    http://helpx.Adobe.com/Creative-Suite/KB/error-u44m1p7-installing-upda tes-HYPERLINK

    U44M1P7, U44M2P7 - CC help / cannot apply the extensions 6.0.2 update manager | Mac OS:

    http://helpx.Adobe.com/Creative-Suite/KB/unable-apply-extension-manage r - update.html

    Thank you!

    Ankit

  • problems of updating the form.

    I've been racking my brain trying to figure out how to get something to work with a form.

    It's the form that will be used...

    < action = "Insert.cfm cfform" name = "Create" target = "_blank" > "

    This should open the insert.cfm as I have a report to open the end of manual page. It works very well.

    < cfreport format = "pdf" template = "Detail_Printable.cfm" query = "Qdetail" > "
    < / cfreport >

    But I have a problem with the form. I need to update because I don't want the user to have the option to submit the form again, with the new data.

    Hope that makes sense.

    Thank you

    James

    OK, let's start first: it is not Java.  This is JavaScript.  They are two totally different things and independent (despite the similarity of name).

    http://en.Wikipedia.org/wiki/Java_%28programming_language%29

    http://en.Wikipedia.org/wiki/JavaScript

    Second, google "javascript onsubmit handler.  There are piles of information & tutorials & guidance out there already, so there's no point repeating here.

    Once you get your brain autour how managers onsubmit works, google 'onsubmit javascript open new window' and read some of the tips on how to do it.  All the info you need is already here.  Indeed, there is exactly the answer you need on the first page of results.

    If you get to the point to write code and need help with it, then after return.  But you should be able to solve everything with Google and roll the sleeves ;-)

    --

    Adam

  • Problem with LOV in form

    Hi friends,
    I have a particular problem with the LOVs in forms.

    I have two blocks A and B. Block A, I have a couple of items I1 and I2 who LOVS and the two elements are required. When we choose I1 I2 is met as well. The value in the I2 is perfectly valid. Both have the property of "Validate elements in the list" No..

    However when I go to the next block B after selecting the value of I2 I1 is removed (I1 is not deleted) and the cursor returns to I2 since it is mandatory. I select the value of I2 again, and then when I get back to block B it works. There are only two values that get populated I1 and I2.

    I'm working on Oracle Forms 10g. Version of the suite ebiz is 12.1.3

    Can someone help how to solve this problem.

    Thank you

    Hello

    First thing, you have two block A and B and four other field.

    In the affirmative.

    Second thing, if it is a parameter dependent for example if you select provider of L1 and L2 Supplier site name is filled...

    Third thing, you need to check how much LOV you created for this four Fields.If, you two created his evil. Create four different LOV and attach to the fields and check if it works now.

    Thank you & best regards
    Srikkanth.M

  • Problem with Simple Contact form fields do not come into the home.

    Hello

    The form of a Simple Contact on our site is not letting users enter their names and e-mail addresses.  The other fields for cell phone and Message are working well.

    I though this might be a problem with the hosting, but the site is hosted on Business Catalyst (badfishy.businesscatalyst.com).

    I created other test sites and insert the Simple Contact form which worked perfectly, so I'm not sure what I did to the main site to cause this problem.

    Any help would be appreciated muchly.

    See you soon

    Ben

    Hi Ben

    I checked the site and it seems that the frame of the accordion is extended to the covering page so 2 fields in form because of which fields are not active because they are behind the plot of the accordion.

    Please reduce the accordion framework such as the fields of the form are not behind the frame and then it should work.

    Thank you

    Sanjit

  • Problem with update of a column by using the procedure of database and refreshing or put in value programmatically

    Dear all,

    I am a beginner in the ADF and am under Jdeveloper Studio Edition Version 12.2.1.0.0.

    I have a page that consists of two taskflows.

    First workflow has a fragment which is to have a table based on view object salespersons (not editable)

    Second task flow contains a form of ADF from the same view object Salespersons.

    As the user selecting a line in the table of the same record is displayed as no problem.

    Now, I have added two buttons Activate and Deactivate that is to change the status of the sales.

    I tried to use two ways an updated using the procedure of database and then put in value by programming and I have different questions with two of them:

    Now, here's the code of the Java bean for activation:

    Option A - the problem with this is the value of the column in the list (the first task rate displayed) is not synchronized

    and Activate and Deactivate buttons are not disabled and active properly.

    {} public void confirmActivation (DialogEvent dialogEvent)

    If (dialogEvent.getOutcome () == DialogEvent.Outcome.yes) {}

    DBSequence vId;

    vId = dcId.getValue ((DBSequence));

    Links BindingContainer = getBindings();

    OperationBinding operationBinding;

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

    operationBinding.getParamsMap () .put ("pId", vId.getValue ());

    operationBinding.getParamsMap () .put ("pStatus", "A");

    Object result = operationBinding.execute ();

    dcStatus.setValue ("A");

    } else {}

    return;

    }

    }

    Option B - the problem with this is that the value of input for status text appears in the Active form for all records in form regardless of its database.

    {} public void confirmActivation (DialogEvent dialogEvent)

    If (dialogEvent.getOutcome () == DialogEvent.Outcome.yes) {}

    -no doubt this two lines are not needed here

    DBSequence vId;

    vId = dcId.getValue ((DBSequence));

    dcStatus.setValue ("A");

    BindingContainer links = getBindings();

    OperationBinding operationBinding;

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

    Object result = operationBinding.execute ();

    } else {}

    return;

    }

    }

    Here's the code from the Fragment of shape for used buttons.

    "< af:button text = 'Activate' id ="bActivate' icon="/icons/activate.png ' iconPosition = 'top '.

    partialTriggers = "Bcreer bSaveInsert bCancelInsert dDeactivate dActivate".

    Binding = "#{pageFlowScope.salespersonsForm.buttonActivate} '"

    Disabled = ' #{bindings. " Status.inputValue! {= ' n '} ">"

    < af:showPopupBehavior popupId = "pActivate" / >

    < / af:button >

    "< af:button text = 'Disable' id = 'bDeactivate' icon="/icons/deactivate.png ' iconPosition = 'top '.

    partialTriggers = "Bcreer bSaveInsert bCancelInsert dDeactivate dActivate".

    Binding = "#{pageFlowScope.salespersonsForm.buttonDeactivate} '"

    Disabled = ' #{bindings. " Status.inputValue! {= 'A'} ">"

    < af:showPopupBehavior popupId = "pDeactivate" / >

    < / af:button >

    Here's matching Popups for each of the buttons Activate and Deactivate.

    < childCreation = "deferred" autoCancel af:popup = "disabled" id = "pActivate" >

    < af:dialog id = "dActivate" type = "YesNo" title = 'Status of salespersons' closeIconVisible = 'false '.

    affirmativeTextAndAccessKey = "& amp; Yes"cancelTextAndAccessKey ="& amp; (Cancel)

    noTextAndAccessKey = "& amp; No '.

    dialogListener = "#{pageFlowScope.salespersonsForm.confirmActivation}" >

    < f: facet = 'buttonBar' name / >

    < af:outputLabel value = "Are you sure you want to enable the seller?" id = "ol1" / >

    < / af:dialog >

    < / af:popup >

    < childCreation = "deferred" autoCancel af:popup = "disabled" id = "pDeactivate" >

    < af:dialog id = "dDeactivate" type = "YesNo" title = 'Status of salespersons' closeIconVisible = 'false '.

    affirmativeTextAndAccessKey = "& amp; Yes"cancelTextAndAccessKey ="& amp; (Cancel)

    noTextAndAccessKey = "& amp; No '.

    dialogListener = "#{pageFlowScope.salespersonsForm.confirmDeactivation}" >

    < f: facet = 'buttonBar' name / >

    < af:outputLabel value = "Are you sure you want to disable the seller?" id = "ol2" / >

    < / af:dialog >

    < / af:popup >

    Thanks in advance.

    Best regards

    Arif Khadas

    If you bind components to a range of flow page bean. You must complete that it saves the State of the component longer than the life of the component.

    To change the value of the GET value of the component of the link layer and change it.

    In this way the changes are captured by the framework and you should see them.

    Timo

  • problem with update of applications

    Hello, I had a problem to update my applications this screenshot above is always like that there not is finished. Can someone help me with this problem?

    Sign out of your Apple ID: settings > iTunes and App Store > Apple ID

    Force reboot

    Reconnect

  • Problem with update iOS 9.3!

    When I try to upgrade to iOS 9.3 he always tells me that I am not connected to the Internet, even though I am if it fails? What is happening with this download, never had this problem before?

    Many users have encountered problems to update their devices, their activation or signing into their account after updating iOS 9.3. Apple is aware of the problem and working on a fix.

    Take a look at these articles for additional information on the issue or adapt:

    If you are unable to activate your iPhone, iPad or iPod touch after installing iOS 9.3 - Apple Support

    If you are unable to activate your iPad 2 (GSM model) update to iOS 9.3If you cannot activate your iPad 2 (GSM model) updated to iOS 9.3

    Apple stops updates iOS 9.3 for iDevices older due to Activation Server Lock growing problems.

  • Problem with update Internet Explore 80242006-Vista error

    Hello world!!

    I had problems with the update and that run internet explore. It's been a while since I can't watch videos on it is to say, even if I've never had such problems with any other browser. And now I can't update my system and more specifically the internet Explorer. I get an error message whenever I have try and all microsoft proposed solutions were not useful.

    The error message is 80242006 and is defined as an unknown error.

    Any ideas? Something might work! Help, please!

    my [NOD32] subscription had expired two weeks before I desided to install MSE [and] my panda subscription had expired [NOD32 has been installed]

    See...

    I can't install Microsoft Security Essentials to clean my already infected computer?
         http://social.answers.Microsoft.com/forums/en-us/msescan/thread/87058857-D181-4019-a723-efd9a49d9275

    Cleaning a compromised system
         http://TechNet.Microsoft.com/en-us/library/cc700813.aspx

    Personal data backup (which none should be considered 100% reliable at this point) then format the HARD disk and do a clean install of Windows. Please note that a repair installation (upgrade AKA on-site) will NOT fix it!

    HOW to do a clean install of Vista: section "If you want to reinstall Windows Vista by running a new installation...". "ofhttp://windows.microsoft.com/en-us/windows-vista/Installing-and-reinstalling-Windows-Vista

    After the new installation, you will have the equivalent of a "new computer" in order to take care of EVERYTHING on the next page before connecting the machine to the internet or one local network (i.e. other computers) AND BEFORE to plug in a flash, SD card, or any other external drive to the computer otherwise:

    4 steps to help protect your new computer before going online
         http://www.Microsoft.com/security/pypc.aspx

    Tip: After completing the computer fully patched, download/install KB971029 manually before connecting any player external to the computer:http://support.microsoft.com/kb/971029

    NB: No matter what Norton or McAfee free trial which is preinstalled on the computer when you bought will be reinstalled (but invalid) when Windows is reinstalled. You MUST uninstall the trial for free AND download/run the removal tool appropriate prior to installing the updates, Windows Service Packs or IE upgrades AND BEFORE installing your new anti-virus application.

    Norton Removal Tool
         FTP://ftp.Symantec.com/public/english_us_canada/removal_tools/Norton_Removal_Tool.exe

    McAfee Consumer product removal tool
         http://download.McAfee.com/Products/Licensed/cust_support_patches/MCPR.exe

    See also:

    Risks & benefits of P2P file sharing
    http://www.Microsoft.com/protect/data/downloadfileshare/filesharing.aspx
    http://blogs.technet.com/MMPC/archive/2008/10/06/the-cost-of-free-software.aspx

    Measures to help prevent spyware
    http://www.Microsoft.com/security/spyware/prevent.aspx

    Measures to help prevent computer worms
    http://www.Microsoft.com/security/worms/prevent.aspx

    Avoid fake security software!
    http://www.Microsoft.com/security/antivirus/rogue.aspx

    If you need additional assistance with the clean install, please start a new thread in this forum: http://social.answers.microsoft.com/Forums/en-US/vistarepair/threads

    If these procedures look too complex - and there is no shame in admitting this isn't your cup of tea - take the machine to a local, good reputation and stand-alone computer (that is, not BigBoxStoreUSA or Geek Squad) repair facility.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Windows 7, problem with update

    I am facing the problem with the release of windows 7, it shows the error code 80070570 and 800 b 0100.
    I can't find a solution, how to address this issue.

    Hello

    How to fix update error 800b0100 Vista (and Windows 7)
    http://www.SimpleHelp.NET/2008/07/06/how-to-resolve-Windows-Vista-update-error-800b0100/

    Error Code 800b0100 in Windows Update
    http://www.instantvista.com/800B0100.html

    Error message when you try to use Microsoft Update or Windows Update Web sites to install
    updates: "0x800B0100.
    http://support.Microsoft.com/kb/956702
    How to reset the Windows Update components? -a Mr Fixit
    http://support.Microsoft.com/kb/971058

    Description of the system for Windows Vista, Windows Server 2008, update tool and
    for Windows 7
    http://support.Microsoft.com/kb/947821

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

Maybe you are looking for