Proration of Basic salay which change in the mid of the period problem?

Dear all
This my first proration , i have an employee that take 1500 US and in the middle of the month i decide to increase him to 2000 US.
I make the following steps:
1. I introduced and employee on 1 jan 2011 and gave him basic salary 1500 US.
2- I change his basic salary in 15 jan 2011 to 2000 US
3- I create simple formula to the basic salary :
Default For EMP_HIRE_DATE is '0001/01/01 00:00:00'(date)
Default For EMP_Term_DATE is '0001/01/01 00:00:00'(date)
Default For PAY_PROC_PERIOD_START_DATE  is '0001/01/01 00:00:00'(date)
Default For PAY_PROC_PERIOD_END_DATE is '0001/01/01 00:00:00'(date)
Default For Asg_salary is 0
Default For Days is 0
Alias PAY_PROC_PERIOD_END_DATE as Period_ED
Alias PAY_PROC_PERIOD_START_DATE as Period_SD
Alias EMP_HIRE_DATE  as HD
Alias EMP_TERM_DATE  as TD
Inputs are Amount
If HD >=  Period_SD and HD <=  Period_ED
Then
    Days =DAYS_BETWEEN(HD,Period_ED)
   Pay_value= (Amount/30)*Days
else pay_value =Amount
Return Pay_value 4- I Create an Event Group of Type Proration and Period as Payroll Period.
5. Include the following events in the above Proration Group.
a. PAY_ELEMENT_ENTRIES_F - > ELEMENT_ENTRY_ID
b. PAY_ELEMENT_ENTRIES_F -> EFFECTIVE_START_DATE
c. PAY_ELEMENT_ENTRIES_F -> EFFECTIVE_END_DATE
d. PAY_ELEMENT_ENTRY_VALUES_F -> SCREEN_ENTRY_VALUE
e. PAY_ELEMENT_ENTRY_VALUES_F -> EFFECTIVE_START_DATE
f. PAY_ELEMENT_ENTRY_VALUES_F -> EFFECTIVE_END_DATE6. Attach the above Event Group to the Element against the column Proration Group and choose the Allocation----Generated
7- I Create a Formula of Type Payroll Run Proration of this type.
INPUTS ARE PAY_VALUE,
PRORATE_START(DATE),
PRORATE_END(DATE)
l_period_start(DATE) = PAY_PROC_PERIOD_START_DATE
l_period_end(DATE) = PAY_PROC_PERIOD_END_DATE
l_total_days = DAYS_BETWEEN(l_period_end,l_period_start) +1
l_worked_days = DAYS_BETWEEN(PRORATE_END,PRORATE_START) +1
PAY_VALUE = PAY_VALUE * l_worked_days / l_total_days
RETURN PAY_VALUE 8. I Attached the above Formula to the element against the field Proration Formula.
when i make Quick pay it gives me
error ORA-06550:Line2 ,Column 18
PLS-00302:COMPONENT 'GET_TIME_DEF_FOR_ENTRY' MUST BE DECLAREDPlease help me because this is my first proration.
Regards

827916 wrote:
Hi,
I am facing some problem in Proration..
even though i have done the set up proration is not happening. I dont know watz the reason..
I am not getting any errors but salary is calculating based on the latest salary it is not considering changes inbetween..
how you can find out my trigger is enabled or not?
Can you please share with me how to enable it..
>You can enable Dynamic Triggers from 2 Forms:
First: Other Definitions > Dynamic Triggers
after this go to
Other Definitions >Functional Maintenance
and attach the existed triggers to all off business group
Regards
Mohamed Salah

Similar Messages

  • My client current process shift amount is prorating.   Now my client requirement  employee change shift (SE20321D)   to normal (NSO70012) in the mid of the month employee will get shift  full amount,

    Hi Experts,
    Please help me to solve this two issues
    I will give you clearly about my client requirement
    in the current system (existing)  already configured  for shift allowance.
    shift allowance for executive
    Shift Allowance Rates
    2 shift
    3 shift
    RM  240
    RM 330
    shift allowance for non executive
    Shift Allowance Rates
    Category 1
    Category 2
    2 shift
    3 shift
    2 shift
    3 shift
    RM  180
    RM 280
    RM 95
    RM 130
    they are not maintained (there is no any key)   in info type 0014 or info type 0015  they earliest hr consultant  copied to  the Shift Allowance wage types :- 5533, 5534,5535,5536,5537,5538and 5559
    Note : 5533 & 5536 are for Payment.
    Other wage types are for calculation purposes only.
    And they modified (standard LAP9)  YAP9 (copied)  schema written pcr  for shift allowance
    The pcrs are YSH1,YSH2,YSH3,YSH4,YSH5,YSH6,YSH7,YSH8,AND YSHF
    1) So my actual my client requirement (Issue 1)
        In my client current process shift amount is prorating.   Now my client requirement  employee change shift (SE20321D)   to normal (NSO70012) in the mid of the month
    employee will get shift  full amount
    2) client requirement (Issue 2)     Shift Allowance become prorate if the Action (Info type 0000)  in the same month have changes. (Depand the action type)
    Actions are
    WA,WB,WC,WD,WE,WF,WG,WH,WI,WJ,WK,WL,WM,WN,WO,WP
    XO,X1,X2,X3,X4,X5,X6,X7,X8,X9.
    XA,XB,XC,XD,XE,XF,XG,XH,XI,XJ,XK,XL,XM,XN,XP,XQ,XR,XS,XT,XW,XX,XY,XZ.
    Y0,Y1,Y2,Y3,Y4,Y5,Y6,Y7
    YA,YB,YC,YD,YE,YF,YG,YH,YI,YJ,YK,YL,YM,YN,YP,YQ,YU,YV,YW,YX,YY,YZ
    Z9,ZY
    Example
    in same month employee changed action on 20.07.2014
    Kindly help me to solve this issues  feel very happy for your help.and if you need any information about issue please let me know i will share to you.
    Thank you
    Raamarao

    Try this, it works very well for me.
    import XMonad.Hooks.ManageHelpers (composeOne, isFullscreen, isDialog, doFullFloat, doCenterFloat)
    myManageHook = composeAll. concat $
    [ [ className =? c --> doCenterFloat| c <- floats]
    , [ resource =? r --> doIgnore | r <- ignore]
    , [ resource =? "gecko" --> doF (W.shift "net") ]
    , [ isFullscreen --> doFullFloat]
    , [ isDialog --> doCenterFloat]]
    where floats = ["sdlpal", "MPlayer", "Gimp", "qemu-system-x86_64", "Gnome-typing-monitor", "Vlc", "Dia", "DDMS", "Audacious", "Wine"]
    ignore = []
    myLayout = tall ||| Mirror tall||| Full ||| tab ||| float
    where
    tall = named "Tall" $ limitWindows 4 $ minimize $ Tall 1 (3/100) (1/2)
    tab = named "Tab" simpleTabbedBottom
    float = named "Float" simpleFloat
    main = do
    myStatusBarPipe <- spawnPipe myBar
    conkyBarProc <- spawnPipe conkyBar
    trayproc <- spawnPipe myTrayer
    xmonad $ ewmh $ withUrgencyHook NoUrgencyHook $ defaultConfig {
    terminal = "urxvt"
    , manageHook = manageDocks <+> myManageHook <+> manageHook defaultConfig
    Last edited by helloworld1 (2012-08-14 05:20:56)

  • When the asset is sold in the mid of the period, how the depreciation is ca

    when the asset is sold in the mid of the period, how the depreciation is calculated as you can not run AFAB in the mid of the period.

    Adding to the above reply, when the asset is sold in the mid period, during such sale process, based on the period control, depreciation till the date will be computed by the system and adjusted.

  • I cannot get the Nov. version of a web site, which changes monthly.I keep getting the Oct. version.The Nov. version can be accessed thru Internet Explorer.I've had this problem in the past.Waiting long enough (days or weeks) has resolved it.Please advise.

    Nothing much to add.

    Thanks for the reply. By the time I received it, the web site had already reset itself, so I could get the November information. A couple of questions: By clearing recent history or cache, do I lose the ability to start other websites by just starting the information on the URL? I'm not sure how much I want to lose in this process. Thanks again. Larry

  • Image changes each time you visit the site

    I want to use a selection of images on my home page which change every time you visit the website. For example, on your first visit it might be an image of a dog, then on your second visit it could be an image of a cat.
    Here is another example of this technique... http://www.applebybowers.com/ When you click the refresh button, the background image changes.
    Does anyone know how this can be done?
    Thanks in advance!

    Hi Vicky,
    go to http://www.projectseven.com/products/galleries/irm/index.htm or there (it's a German website, admittedly, but I'm sure you will understand the instructions easily):
    http://www.web-toolbox.net/webtoolbox/bilder/random-image.htm
    Hans-G.
    I used it as an experiment here, you could look for the source code:
    http://www.goldschmiede-blumberg.de/AdobTest/random/RandomHP.php

  • For the mid month new joiner the annual Conveyance exemption is coming incorrectly

    Dear All,
    For one of our client, we have have faced a uniqe issue.
    If any employee join in the mid of the month, his prorated conveyance amount ( wage type 2020) is coming correctly. Suppose an employee joined at 16th of the month, system is calculating his conveyance for that month as INR 400 and which is correct.
    However in his tax calculation for that particular month, system is taking INR 400*(rest of the month of the FY) in the wage type /4E3. which is incorrect. Suppose he joined in 16th April , system is calculating tax exemption 400*12=4800
    Now if we run next month payroll ,  system is caculating the exemption properly. i.e. INR 400 + 800* rest of the month of the FY,
    Please help
    Regards
    Tirtha

    Hi Tirtha,
    system is calculating perfectly.
    first of all system check the no. of present days and accordingly it give the amount in the wage type /3C3 conveyance amount monthly and /3C4 will give Conveyance monthly exemption and it will multiply with no. of months to the fiscal year end and store in the wage type /4E3.
    for example check for PF:
    Every month PF amount store in WT /3F1 and send to /3F5 and this WT multiplied with No. of months and store the Annual amount in wt /3F6.
    Regards,
    Praneeth kumar

  • PF not getting deducted for the mid month joinees.

    Hi,
    The problem is coming in the PF deduction of the employees who have joined in the mid of the month.
    For ex if an employee's basic salary is 7000 and the emp joined in the mid of the month , the system is taking PF from RS 3500 , where PF deduction is not applicable. Now the result is PF is not getting deducted for that month which should not happen.
    So kindly guide me how to apply a check in the system so that it deducts the PF of those employees who are joining in the mid of the month and their basic salary is above Rs6500.

    check
    INPA4
    INPA3
    INPA2
    INPA1
    tables  V_INPA1  check the configuration once
    if u dont want f

  • Can not find my SOUNDCARD in the midi screen !

    when i add a "midi track" to a multi session,on the display of the midi in the upper-right corner there is an icon (next to the icon of the keyboard) that when you open it,it says "preferences" and it shows a list of INPUTS & OUTPUTS,and i used to see there the name of my soundcard,which i would then highlight-both the input and the output....but it is GONE! all of a sudden.
    where is it?

    Ya I am beginning to see a few of the glitches in this program. I have been trying to fix this and other issues for quite some time now.
    Regards,
    Agyemang Fellowes
    iPhone SIM Unlock Administration
    http://www.iphone-sim-unlock.com/

  • HT201210 There was a problem downloading the software for the iphone "moh" The Network connection timed out.

    Hi
    I am trying  to  restore   my iphone 4 iOS 5.1.1 uding itunes the  latest version update. but always I am disconnected in the mid of the process sometimes an  getting  the  message :
    There was a problem downloading the software for the iphone "moh" The Network connection timed out.
    make sure your network setting are correct and your network connection is active or try again later.
    I  have  Internet  speed  of  12MB. and have  changed  different  USB cables and  laptop with Intel Core i5 .
    Is there any  one has  any  idea???

    i tried itunes in different computers and itunes recently installed .
    the issue that the  restore  never completed always freeze in the middle and giving the above note.
    There was a problem downloading the software for the iphone "moh" The Network connection timed out.
    make sure your network setting are correct and your network connection is active or try again later.
    Is there a way  to refresh the restoring update in itunes  ???
    in case  they proxy  or  Antivirus issue  it  suppose not not  to  start the  restoring  process  at  all Is not ???
    but  in  my  case  always start  as normal  then freez  ........ 
    any  other suggestion

  • Image rotation - mapping the image into the center of the new image

            for (int x = 1; x < imageOne.getWidth()-1 ; x++) {
                for (int y = 1; y < imageOne.getHeight()-1 ; y++) {
                    /* Get the values from imageOne */
                    int red = imageOne.getRed(x, y);
                    int green = imageOne.getGreen(x, y);
                    int blue = imageOne.getBlue(x, y);
                             * x' = a0x + a1y + a2
                             * y' = b0x + b1y + b2
                    double x2 = Math.round(a0 * x + a1 * y);
                    double y2 = Math.round(b0 * x + b1 * y);
                    if (x2 > imageOne.getWidth()-1 || x2 < 0 || y2 < 0 || y2 > imageOne.getHeight()-1){
                        //Do Nothing
                    }else{
                        imageTwo.setRGB((int)x2, (int)y2, red, green, blue);
            }Using the above algorithm, the image will rotate, but the rotation will start from the corner of the image (coordinate 1,1). For example, if I do a >90 degree angle rotation, the image will diappear.
    I want my image to rotate and appear in the middle of the new image output.
    Any idea?

    Hi,
    As part of my courseowrk, where we can't use the Java's API, im trying ot do the rotation manually...
    Say my image is always 512x 512, and I've tried "translate" -> "rotate" -> "translate" below:
            for (int x = 1; x < imageOne.getWidth()-1 ; x++) {
                for (int y = 1; y < imageOne.getHeight()-1 ; y++) {
                    /* Get the values from imageOne */
                    int red = imageOne.getRed(x, y);
                    int green = imageOne.getGreen(x, y);
                    int blue = imageOne.getBlue(x, y);
                             * x' = a0x + a1y + a2
                             * y' = b0x + b1y + b2
                    //1st transform
                    x2 = x+256;
                    y2 = y+256;
                     double rad = Math.toRadians(m);
            double cos = Math.cos(rad);
            double sin = Math.sin(rad);
            int newX = (int)Math.round(cos * getX() - sin * getY());
            int newY = (int)Math.round(sin * getX() + cos * getY());
            setX(newX);
            setY(newY);
                    //2nd transform
                    x2 = x2-256;
                    y2=y2-256;
                    if (x2 > imageOne.getWidth()-1 || x2 < 0 || y2 < 0 || y2 > imageOne.getHeight()-1){
                        //Do Nothing
                    }else{
                        imageTwo.setRGB((int)x2, (int)y2, red, green, blue);
            }setX and setY will update the value in x2 and y2.
    The concept is to move the pointer to the mid of the image (midHeight and midWidth) which is "x2 = x+256;" and "y2 = y+256;", rotate and translate again - but the output is still nto in the middle..
    Any idea?

  • Why can't i see my midi in the piano roll of logic

    I can create a track in a midi region, yet when I select the midi region the data does not appear in the piano roll! It did uintil I deleted a few tracks and now only 1 midi region appears and I cannot select another. Is this a bug or am I doing something wrong?

    This guy posted your solution on another message:
    Re: Deleted Fax Modem from Tiger and Now I can't create a new one.
    Posted: Jul 28, 2006 9:43 PM in response to: Mitch G.
    The Fax modem printer is formed when you choose Fax PDF... from the PDF button of the Print... dialog box. In other words, do it once, even if you do not complete the fax, and it will be there.

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • Please change the view in the top sites, the 6.1 upgrade has reverted back to a plane two dimensional view, which is a little plain. Can I revert back to an older version via my time capsule save?

    Please change the view in the top sites, the 6.1 upgrade has reverted back to a plain two-dimensional view, which is a little dated. Can I revert back to an older version via my time capsule save? C'mon Apple upgrades supposed to leap into the future not the past. :-(

    Please change the view in the top sites, the 6.1 upgrade has reverted back to a plain two-dimensional view, which is a little dated. Can I revert back to an older version via my time capsule save? C'mon Apple upgrades supposed to leap into the future not the past. :-(

  • HT204053 i want to change my icloud id on my iPhone, but it won't let me now that i have upgraded.  I no longer have the password and the problem is It is using an old id which the email isn't valid and the security question does not think my birthday is

    I want to change my icloud id on my iPhone, but it won't let me now that i have upgraded.  I no longer have the password and the problem is It is using an old id which the email isn't valid and the security question does not think my birthday is valid.  I cannnot delete the account because "find my iphone" wants the password linked to this old account.  But when i go into the find my iphone app it is using my corect Apple ID.  How do i fix this?

    If you still have access to your old email address, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email account and verify it.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  You can now go to Settings>iCloud and sign in with your correct iCloud ID and password.
    If you don't have access to your old email address, you will have to contact Apple to have them reset the password so you can disable Find My iPhone and sign into your iCloud account.  You can either go to https://expresslane.apple.com, select "More Products and Services", then "Apple ID", then  on the next page select "Other Apple ID Topics", then "Lost or forgotten Apple ID password" and click "Continue"; or you can contact Apple Support (http://www.apple.com/support/icloud/contact/).

  • I changed companies and had icloud with my old company - now i want to just use my personal id and can't change any icloud info to match my personal ipad id - i can't delete the icloud without the old company id and password which is not available to me

    i changed companies and had icloud with my old company - now i want to just use my personal id and can't change any icloud info to match my personal ipad id - i can't delete the icloud without the old company id and password which is not available to me - it probably doesn't even exist anymore!
    Because I can't delete the icloud account, I keep getting view terms to accept and it wants to go to the old company account.  I can't do anything to get rid of this - when I try to delete the icloud it wants me to delete find my ipad and asks for the old co. id and password - it's a vicious circle and i just want to get rid of it and start fresh with my regular personal email id and password!!!  Help!

    You will need that old Apple ID and password, which does indeed still exist. Apple doesn't delete Apple IDs, though if this ID was in the control of your company they may have changed the password. If so, you will need your former company to log into the iCloud account using that ID and password and erase the iPad or remove it from iCloud:
    http://support.apple.com/kb/TS4515?viewlocale=en_US
    Until that's done you cannot change those settings, and if you try to restore the iPad will have it locked with Activation Lock and thereafter be unusable.
    Regars.

Maybe you are looking for