If Condition get spent during execution, even when the data Condition fails

Hi gurus,

We came back to condition in the procedure below


/ * Condition in a procedure * /.

If i.effective_end_date > p_end_date and i.effective_start_date < = p_end_date

then

Start

If l_future_rec_flag then

-Call API with update insertion mode

l_datetrack_mode: = hr_api.g_update_change_insert;

on the other

-Call API with Update Mode

l_datetrack_mode: = hr_api.g_update;

end if;

-api call

end;

end if;

/ * Condition in a procedure * /.

data sent to this if condition during execution is as below, I printed it using fnd_file.put_line (fnd_file.log).

i.effective_end_date > p_end_date and i.effective_start_date < = p_end_date

31 December 12 > 31 March 13 and 1 January 13 < = 31 March 13

, my doubt is that the above data made it clear the if condition fails with past data. but during the execution, the condition happened and will block to start and run the api and get api error.

Error occurred during the assignment process. Check the log file for more details. ORA-20001: unable to change the update of insert mode when there is no future lines

Cause: The insert DateTrack change update mode can be done if there is no future lines after the current date.

Action: Perform an update operation DateTrack or erase your changes.

Error occurred during the assignment process. Check the log file for more details. ORA-20001: unable to change the update of insert mode when there is no future lines

Can anyone help on this.

Thanks in advance

Hi gurus,

Now, it has been resolved, we used the to_date for date comparison function and now it works perfectly.

Tags: Oracle Applications

Similar Questions

  • Lowered target Version 9.0 or later form and now the validation messages are appearing, even when the Show Messages dialog box is set to "do not display any message boxes at all."

    Hi all:

    I went a form target version of "10.0 and higher" to "9.0 or more ' and now I get messages from automatic validation of Adobe to appear, even when the Validation of the form of the document is set on"don't show all the message boxes at all."

    Any thoughts?  I have listed some other form to 9.0 and higher and the same setting form Validation works "do not want to display all message boxes".

    The only thing I can think is the decommissioning of 10.0 to 9.0 or more did something?

    Thanks in advance,

    Brian

    without knowing what the errors are, it is difficult to say what the problem is. Forms are usually not popups unless you use FormCalc. Then, the software is displayed a FormCalc error.

  • My Airport Express will randomly start flashing orange and I have to unplug it to make it back to the green.  Wifi continues to operate even when the light is orange flashing.  Anyone know why this is happening?

    My Airport Express will randomly start flashing orange and I have to unplug it to make it back to the green. Wifi continues to operate even when the light is orange flashing. Anyone know why this is happening?

    The next time you see the flashing light amber...

    Open Finder > Applications > utilities > AirPort Utility

    Click on the image of the AirPort Express

    If you see a button update, click on update the firmware on the airport

    Otherwise, find status and click on the little orange dot it. A message will appear to say why the airport complained and suggest a remedy for the issue.

  • Fan of the cuts even when the machine is cool - Satellite P10 504

    Hello

    On my laptop cooling fan seems to cut in every minute or so, even when the machine is cool and not busy. It is not the quietest fan in the world, which is quite annoying!

    Does anyone else have any experience of this?

    Thank you very much

    Claire

    Hello
    have you checked the parameters energy saver? Normally, you can change the 'method of cooling' quiet.

    Good bye

  • AC/battery lights - should they be lit even when the device is off?

    Hello
    Recently taken a U300. Can someone please help... are the AC / battery charge lights supposed to stay on blue all the time... even when the lid is closed and the unit is turned off (but still plugged?)
    Would appreciate any help
    Thank you

    Yes. If the laptop is turned off but connected to the power supply the two LEDs will be all the TIME.
    When you disconnect the power supply both will be OFF.

  • I cannot download my purchase, even when the album said that has already been paid, what can I do?

    I cannot download my purchase, even when the album said that has already been paid, what can I do?

    What happens when you try to download it? And you try to download from the purchased for example section if using iTunes on your computer, click on your name / icon to the top right of iTunes then click purchased on the popup.

    If it does not show there then check if you have hidden it: mask and unmask purchases iTunes or iBooks on your Mac or PC - Apple support

  • My reading shows the HDMI as a default device, but the sound is yet to come of the computer laptop, even when the volume is turned off on it

    Original title: HDMI sound

    I know that many have had problems, but I did not mine specifically. My HDMI connection was working fine with my laptop HP and m HD tv. I didn't use it for a while, now it is just the video, no audio on the TV. My reading shows the HDMI as a default device, but the sound is yet to come of the computer laptop, even when the volume is turned off on it. Ive read all the reviews and updates of pilot who was old. I don't know what else to do!

    Hello

    System Restore does not have this long period of time.

    You may want to refer to the suggestions in the thread below link and check.

    No sound via HDMI output portable computer connecting to TV

    I hope this helps.

  • I get an error message when the computer starts, "failed to prepare the critical file! Engine out of Chameleon.

    I have a laptop Asus N53Jq, 16 GB, 224 GB ssd, I get an error message when the computer starts, "failed to prepare the critical file! Engine out of Chameleon"when I click the computer works fine, but it seems that she was taking more resources without doing me anything. Do know how to solve this problem.

    Original title: Chameleon engine

    I uninstalled ASUS Splendid Video Enhancement Technology to my computer and it solved the problem!

  • Creative cloud does not start starting system even when the option to do so.

    Creative cloud does not start starting system even when the option to do so.

    This is an open forum, not Adobe support... Click below to contact Adobe staff for help

    While the forums are open 24/7 you can't contact Adobe support at any time

    Chat support: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • View zoom "fit visible" default definition does not work because it changes during scroll even if the "fit visible" option is checked. How to solve this problem?

    View zoom "fit visible" default definition does not work because it changes during scroll even if the "fit visible" option is checked. How to solve this problem?

    Hi andrik14218037,

    Once you have set to "Fit Visible" it won't change the zoom, scrolling.

    * Make sure that you did not press the Ctrl key while scrolling the page.

    Open Acrobat Reader DC, go to the Help menu & repair the installation, make sure also that it is updated Release Notes | Adobe Acrobat, Reader.

    Let me know if it solves your problem.

    Kind regards

    Nicos

  • I can't update the cloud even when the firewall is disabled

    I can't update the cloud even when the firewall is disabled

    Please read https://forums.adobe.com/thread/1499014

    -try some steps such as changing browsers and disable your firewall

    -also clear the cache of your browser if you start with a fresh browser

    http://myleniumerrors.com/installation-and-licensing-problems/creative-cloud-error-codes-w ip.

    http://helpx.Adobe.com/creative-cloud/KB/failed-install-creative-cloud-desktop.html

    or

    A chat session where an agent can remotely look inside your computer can help

    Cloud creative support chat (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • Can I customize the size of the field on a field of choice.  I want to get 10 everywhere and even with the label 1, 2, 3, etc.

    Can I customize the size of the field on the unique choice fields.  I want to get 10 everywhere and even with the label being small, i.e. 1, 2, 3, etc. I can't get to fit on a single line.

    Hi restorechiropractic,

    You can resize a single choice form field by dragging the right side of the form field item. However, even by doing this I was able to get eight choices by line. I don't think that there is no way to work around the limitation of the size of the form.

    Please let us know if you have any additional questions.

    Best,

    Sara

  • How can I get audio to not start when the button is clicked?

    I am new to adding audio to slides, buttons, click boxes.  Import the recorded voice on the overall slide of files sounds easy enough.  However, there are several buttons that display a legend I want audio to not start when the button is clicked.  I added audio just for this button, but it starts when the slide begins.

    How can I get audio to not start when the button is clicked?

    Hello

    Audio playback when the assigned object with the audio appears. That's why hear you when the button appears.

    Try to assign audio instead to the object that is displayed when you click the button. Perhaps the legend.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Problems with duplicate DATA when the data file was added after the backup completes

    Hello

    I am facing a problem when running of duplicate database with the command of database duplicate RMAN on a 10 g database. If I have the duplication from a full backup that is missing a data file that has been added to the database after the full backup of preforms, I get the following error message:
    Starting restore at 10-10-2009 18:00:38
    
    released channel: t1
    released channel: t2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/10/2009 18:00:39
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 43
    Redo log which was Pond at the time of the creation of 43 of the data file is also available in the backups. It seems that RMAN cannot use the log information archived redo to restore the content of the data file 43. I guess that because failure is already reported in the RESTORATION and not in the RECOVERY phase, so again the archived logs are not available yet. I get the same message even if I do another backup of the data file 43 (so a backup that is not in the same backupset as the backup to all the other data files).
    The script, the command duplicate product, I guess that RMAN reads the contents of the source database controlfile and trying to get a backup that contains all the data files to restore the database Assistant - if such a backup is not found, it fails.


    Of course, if I try to perform a restore/recovery of the source database, it works without problem:
    RMAN> restore database;
    
    Starting restore at 13.10.09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    
    creating datafile fno=43 name=F:\ORA10\ORADATA\SOVDEV\SOMEDATAFILE01.DBF
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to F:\ORA10\ORADATA\SOVDEV\SYSTEM01.DBF
    .....
    The 43 data file is re-created and then redo is applied to the course.

    So, does anyone know if the duplicate database can use archived redo logs to recreate the contents of a data file, as does a normal restore/recovery? If this is the case, then it is necessary to perform a full backup before each duplicated if a data file has been added after such a backup database.

    Thanks in advance for any answers.

    Kind regards
    Swear

    Hi swear,.

    I got exactly the same problem during replication.
    Because we backup archive logs every 6 hours with rman, I added an additional block of running this script.
    run
    {
    backup incremental level 0
    format "% d_ % s_ %%t p_ bk_ '.
    filesperset 4
    database not saved;
    }

    (I also hit a bug in the catalogue which was resolved by patching up the dbs catalog 11.1.0.6, 11.1.0.7 for.)

    This will restrict the data not making file not part of any backup rman 6 hours while jumping for which there is already a backup of data files.

    Kind regards

    Tycho

  • Display an empty table row of data when the data is not present

    Hello

    Can u please tell me How to display a row of data empty table when the data is not present?

    in my case the column header appears as the code below.

    <? If: SD_Type_Data_ID3 = 'KH '? > <? If: SD_SpecialHandlingCode_SPHD_ID17 = 'H '? > <? for each: Supplemental_Data_S17? > <? end if? >

    can u pls help me.

    Thanks and greetings

    Sylvie Kumar

    You can insert a fictitious line. Have an if condition in it, to show only when condition does not satisfy.

Maybe you are looking for

  • Satellite L300-1AS: connection WLAN don't Comeback

    Hello I'm having a problem of wireless network card. If the connection goes out, it never came (manual/automatic), unless the computer is restarted.Is there a solution to this problem? Thank you Jay

  • Digital I/o, the use of P0.0 for 5V output

    On my data acquisition device (USB-6009), I already use the pinout + 5V and ground to control a sensor. I need to put another of the same sensor in my test set-up. Can I use the P0.0 as one + 5V out? and just ground the same pinout (32) of the load?

  • HP Folio13: Reset Bios Password Folio 13

    Hello After that 3 failure tent I get system disabled and code 84608061.  It is a Folio 13 running Windows 7

  • The service of Windows Security Center cannot be started. (Windows 7)

    There is a red X on the icon of flag in the bottom right of my screen. When I click on it to start the WSC service I get a Message that says: "cannot start service of Windows Security Center." There is no error number. I can go and change Autostart S

  • Printing problems in Windows 7.

    Original title: Pavilion dv7-6b78us My laptop does nothing print from the internet. It prints amything I saved. It itself passes all the test of the printer.  Computer laptop just will not load the preview, he just continues to work as she tries. He