OTL entry sets the time - fast formula not triggered

Requirement: Throw an error during the registration of the time, if time is < 40 and overtime are > 0

Approach:

(1) created PLSQL function and defined in HRMS

(2) created a quick formula, using the above function

(3) created a new TER

(4) fixed to the TERG existing (operation TERG prod)

Details:

My function (only for a CEP). Returns 1 always (error throw)

SET DEFINE OFF

CREATE OR REPLACE

APPS PACKAGE. XXXXX_HXC_CUST_RULES as

-Description:

-History

FUNCTION XXXXX_CHK_OT_ELIGIBLE return number (p_resource_id in NUMBER);

END XXXXX_HXC_CUST_RULES;

/

CREATE OR REPLACE

PACKAGE BODY XXxxx_HXC_CUST_RULES AS

FUNCTION XXxxx_CHK_OT_ELIGIBLE (p_resource_id NUMBER)

RETURN number

IS

l_return_rule_status number: = 0;

l_timecard_info hxc_self_service_time_deposit.timecard_info;

l_tbb_array HXC_BLOCK_TABLE_TYPE;

BEGIN

l_timecard_info: = hxc_self_service_time_deposit.get_building_blocks;

l_tbb_array: = hxc_deposit_wrapper_utilities.blocks_to_array (p_blocks = > l_timecard_info);

RETURN 1;

-0 is not an error

-1 is error

EXCEPTION

WHILE OTHERS THEN

null;

END;

END XXxx_HXC_CUST_RULES;

/

DEFINITION FORMULA FAST

/* *****************************************************************

Name of the form: XXXX_CHK_OT_ELIGIBLE

Description: Prevent OT when not eligible (40 hrs of ST)

Contexts: no

*****************************************************************

*/

/*

Initialize Variables that may be null

*****************************************************************

*/

the default for db_pre_period_start is ' '

the default for db_pre_period_end is ' '

the default for db_post_period_start is ' '

the default for db_post_period_end is ' '

the default for db_ref_period_start is ' '

the default for db_ref_period_end is ' '

default value of timecard_hrs is 0

/* ******************************************************************

READ IN THE INPUT VARIABLES

****************************************************************** */

The ENTRIES ARE id_ressource (number)

submission_date (text)

db_pre_period_start (text)

db_pre_period_end (text)

db_post_period_start (text)

db_post_period_end (text)

db_ref_period_start (text)

db_ref_period_end (text)

timecard_hrs (number)

IF (XXxx_HXC_CHK_OT_ELIG_FN (resource_id) = 1)

THEN

(rule_status = 'E'

Message1 = "XXxxx_CHK_OT_ELIGIBLE."

return rule_status, message1)

ON THE OTHER

(s = rule_status"

return rule_status)

The above formula is verified successfully. I can see the FFP plsql pkg also created in the DB.

The RULES of SEIZURE of TIME are created to record and SEND/QUOTE

Then, they are attached to an existing rule GROUP on the TIME ENTRY. Yes, at least it is not the question, because it's a group of working time entry rules.

MY QUESTIONS ARE BELOW

(1) the function accepts id_ressource as an entry, should I set this as a FDF segment or is not not necessary?

(2) even if I attach a formula seeded to my TER, it is not triggered. I suppose, then, that there is nothing wrong with the quick formula atleast.

Pointers would be a great help.

Thank you

Germain

I found the reason why it was not a device.

The quick formula was an effective start date of November 7, 2013, the TER also had effective start date of November 7, 2013.

The score card I used was in October.

Silly, but he did.

Thanks for your help.

Tags: Oracle Applications

Similar Questions

  • my screen saver does not start. I select a screen saver, set the time, apply and nothing. This has happened before and corrected himself. Maybe one setting in another program? ___

    I select a screen saver, set the time, apply and nothing.  This has happened before and corrected himself.  Maybe one setting in another program? It's on a laptop.

    Hello jerrylumpe

    1. If you use an old mouse, try to clean it.

    2. you can have a running process in the background that keeps XP thinking that he is busy and so the screen standby does not start.
    Go to msconfig and uncheck everything you don't need, then see if the screensaver will kick in.

    Start/run and type
    Msconfig
    Ok

    Startup tab
    Keep the page open then click on the link below. It will tell you what are all the entries and see if you can disable them or not

    http://www.SysInfo.org/STARTUPINFO.html

    Read the key at the foot of the page, then click on "Here" at the top. Use the search box to check all your entries

    Try this too
    http://www.kellys-Korner-XP.com/xp_tweaks.htm

    Line 51 left side. Click on "toggle".

    It could be that something is resetting the timer. For example, it does take much vibration to move the mouse a little, and which will reset the timer to zero. Something like that would be possible? Or a pet that walks on the keyboard?

  • Is it possible to set the time on a device in real time so that the time will persist when the device is not powered?

    It seems that you can not set the time on a device sbRIO (9606) and have always the exact time when the card is powered after not being fed for a while.  I have a product which will be independent (not connected to a network) when it is supplied by the customer.  I would like to collect data in a datalog and would like to put a timestamp somewhere so that I can understand when these data were collected.  If I can't get an exact date/time, then the next best solution would be to set up my datalogs so that I can at least understand the exact order in which they were collected.  (I think I can understand it without much problem)    Any suggestions as to best practices?

    Hey John,

    Without connected VBat time will not be preserved between periods of closure. Unfortunately for the 9605 and 9606 we have not a way to date the connector 9693 VBat.

    How much sbRIOs you plan to deploy with your system?  9623 and 9626 have a compartment for the RTC. If you haven't bought your sbRIOs already you could focus on the options of the form always match.

    If it is necessary to have retention time between stops, we would need to understand the extent of your application more.

  • How can I set the time on the toolbar of the low wing? When I click on the taskbar do a right-click and then click Properties, it does not give me the option to display the time?

    How can I set the time display on the toolbar of the low wing?  When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time?  Where should I go in windows 7 to do this?  I clicked on the date and time also, and it does give me an option to add there either. Please help.

    Thank you

    How can I set the time display on the toolbar of the low wing?  When I click with the right button on the taskbar, and click show properties, it does not give me the options to display the time?  Where should I go in windows 7 to do this?  I clicked on the date and time also, and it does give me an option to add there either. Please help.

    Thank you

    Right-click the taskbar, and then select Properties. On taskbar you of the tab, click Customize. Scroll to the clock and change the "behaviours" on it.

  • Clock on windows 8 is wrong time, I tried to set the time of the internet but its still not working, think theres a bug in the clock time, anyone have the same problem for windows 8 and know how to fix?

    Clock on windows 8 is wrong time, I tried to set the time of the internet but its still not working, think theres a bug in the clock time, anyone have the same problem for windows 8 and know how to fix?

    It sets obtained :-) Sorry for the delay

    Thank you very much! has worked perfectly!

  • Can I set the time on the lock screen is?

    When I turn on my iPhone (6 s), the first thing I see is my lock screen.  It only stays on for a few seconds, then disappears.  If I'm not enough fast slide my finger to the right to get to my home screen, I have re - activate my phone.  Is there a way I can set or change the time that the lock screen stays on?

    I don't know how to set the auto-lock function which turned the iPhone off after a certain period of inactivity.  It's different.  The automatic locking of setting has no effect on the amount of time that the lock screen remains lit.

    How do I set the time to stay on the lock screen?

    Have you considered simply use Touch ID?  In this way, it wouldn't even matter if you could see your lock screen.  Just push the "home" button and then tap your finger on the home button and your iPhone will unlock.

    Use the ID Touch on iPhone and iPad - Apple Support

  • Tap to hear the time function does not work

    I can't tap to hear when mickey or Minnie faces to work

    I have the latest versions of software on the phone and watch I toggled the function works and have re-matched my watch to my phone, but it still does not.

    Hello

    I suggest to wait until a few hours, leaving the face of Mickey or Minnie Mouse selected on your watch.

    My own experience (tested on two watches) is that the feature became available after waiting, without rebooting or unpairing / rematching of the watch. In one case, it took somewhere between 3 and 5 hours, but you can see he started working earlier than that.

    It can help to first turn the tap to set the time to stop, pause for a few moments and then turn it back on again.

  • Set the time on cRIo with delay VI

    Hi all

    I want to correct both the cRio and tried to use the time VI. It gave me error 2147467263 which means "not implemented".  the error message is "node in nisyscfg.lvliband Time.vi:6150001-> put time.vi".» I don't know how to fix this error and to change the time.

    I've attached a screenshot of the program to this message, I would appreciate any ideas or suggestions.

    Best regards

    Hello imnewhere

    run the vi in my computer, then it should set the time.

    This may also help

    How can I configure my controllers time real CompactRIO to synchronize with the SNTP servers?

  • HP 7640 set the time

    Just bought HP Envy 7640.  Initial Setup gave me twice the choice.  Both were wrong, so I chose the closest.  Now I can't understand how to set the correct time.  Tried to follow the instructions in another post for a 7610.  As I am new to HP printers, I could not understand or follow the instructions on the other post.  It says something about the integrated Web server, which means nothing to me.

    My philosophy has always been: If you can't solve a problem to ask for help.  Almost immediately after asking for help, will allow you to fix the problem yourself.

    After fumbling around, I finally found the EWS and set the time...

  • How to set the time stamp for incoming mail?

    How to set the time stamp for incoming mail?  I have windows vista. I use hotmail/windows live email. My computer has the time is set correctly. My e-mail timestamps incoming messages 7 hours a head of real time. Example: it is now 09:48. A new email is stamped as to settle at 16:48. How can I fix it? Note: the computer is correct.

    Thank you
    Laura
    2.13.2012

    If you mean the customer of email Windows Live Mail, the time stamp on messages is governed by your time zonesystem. Right-click on the clock in the lower right of the screen and select CONFIGURATION... Change your time zone, and then set your clock at the present time.

    If you are talking about the Windows Live Hotmail service, the time zone (s) used are those contained in your account data. Reach
    https://account.live.com/EditProf.aspx
    and change the time zones for the good...

    Windows Live programs and services have their own forums for support at the Windows Live Solution Center. Please address any questions you may have about Windows Live Mail to one of the forums on the right side of this page. For Hotmail, forums and responses are available via this page.

    Noel

  • Sleep Timer Pavillion DV 7 - How do you set the timer for a different time setting?

    Sleep Timer Pavillion DV 7 - How do you set the timer for a different time setting?

    Hello Pidcock,

    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the Forums of HP, I would like to draw your attention to the Guide of the Forums HP first time here? Learn how to publish and more.

    I understand that you want to change on your computer sleep timer. I'll be happy to answer that question for you. Now you have not specified what operating system you are using, so I guess it's the same operating system provided with your computer (Windows 7). I will provide you the HP support document: Management of power (Windows 7 and Vista) Options, which will guide you in how to set the power of your laptop. Just in case you have upgraded to Windows 8 I am also including the HP Support document: Manage the power (Windows 8) Options. This document will guide you through the same steps in Windows 8.

    I hope that I have answered your question to your satisfaction. Thanks for posting this question on the Forums of HP. Have a great day!

  • How to set the time and date on printer n911a e-all-in-one officejet pro 8600.

    How do you set the time and date on printer n911a e-all-in-one officejet pro 8600. This info is not in the user's guide or the getting started guide.    Thanks in advance. Jim

    Jim go to settings on the 8600, click Preferences.

    There is an option DATE and HOUR.

  • setting the time for the splash screen

    Hello

    How to set the time limit (10 sec) to start using HTML5 webworks blackberry screen.

    Thank you.

    Vishnu.

    Hello

    It is not possible to specify the time that displays a loading screen.

    Basically, the length of time, it is displayed, is however of time it takes to the application's resources fully charge the device.

    -Chad

  • Setting the time

    I have 4250 IDS with current signature. I use IDS - MC to configure the IDS. I want to set the time and date, but I don't see any option in IDS - MC to set the hour. How do I set time and date for IDS using ID - MC for the Eastern time zone?

    Altaf

    I don't think that the MC has a zone configuration window. If you log in the sensor CLI (admin), you can set the time zone on the sensor. Here is an example of eastern standard configuration and daylightsavings time

    Note 1: you can take the default values for most of the guides messages

    Note 2: you will be asked to reboot the sensor for the offsets of time comes into force

    #setup

    ...

    Change the system clock settings: Yes

    ...

    Change DST settings: Yes

    Recurring:, Date, or disable? [Subscription]:

    Start month [April]:

    Beginning of the week [first]:

    In the morning [sun]:

    Start time [02:00:00]:

    End of month [oct]:

    [Last] week end:

    End of day [sun]:

    End time [02:00:00]:

    [] DST zone: EDT

    Elbow [60]:

    Change the zone schedule system? [No]: Yes

    Zone [UTC]: IS

    UTC offset [0]:-300

    ...

  • SPA112 - cannot set the time

    Hello

    For some reason, I have not been able to set the time on my SPA112. When you try to use the "Time zone" section, whether on the manual or automatic time server, it does not work. For the manual time server, I tried us.pool.ntp.org, ca.pool.ntp.org, pool.ntp.org. No matter what time zone I chose, it does not affect the time (I'm IS btw).

    Even if I enter the time in the 'Operating instructions' section, he quickly returns to the wrong time after a few seconds. It won't last. For some reason any time coming back to 4 hours in advance.

    What is causing this and how can I fix it?

    Thank you

    Yes, I remember. I was affected by it a few years ago, but I forgot that we have decided to use the NTP server.

    Yes, Payton firmware devices have a very creative approach to the time settings. It seems that the authors of the firmware do not know the hour UTC or local time.

    During the boot time is taken as-is to the RTC chip. Configuration file are analyzed, time is considered local and it is recalculated in universal time to help offset user time zone defined in the configuration.

    Well, I'm not sure with the exact logic, but remember that it is broken. It is difficult to set the time manually (and survive restart with good time still together) unless the time zone UTC and no daylightsaving is configured.

    Problem starting even with NTP enabled, but the incorrect time introduced by boot become corrected by NTP, so it does not so much.

    As you use NTP, forgotten manual settings, allows you to debug the NTP.

    The best NTP server for the purpose of debugging is closest to NTP. I don't have any information to your topology. Have your ISP a NTP server ready for you? Even your local router (the router to connect your network to the upstream) can run the NTP server.

    Most "NTP does not ' questions are associated network. As a firewall, NAT conflicts or...

Maybe you are looking for