Add leave to quota if it falls on saturday.

Hi All
If a bank holiday (public holiday) falls on Saturday then one day leave is added to AL quota.
How to configure this? Someone told me to configure a PCR for achieving this.
If there is some other way, please suggest. Or if modifying/Creating a PCR is the only way then please tell me the code or process to do that.
Thanks & Regards

Yeah, I believe PCR should work for your requirement.
You may need to use operations like HRS, VARST and function P2006 for your rule writing.

Similar Messages

  • Why does fireworks add and extra quote on exporting html and images... looks like this -----  align=""left"

    Hi Adobe Community,
    I had this issue on previous versions of Fireworks.
    Why is it happening? Is there a glitch in the software? I thought it would be fixed in the CC version..
    here is a snippet of code that is exported.
      <td><table style="display: inline-table;" align=""left" border="0" cellpadding="0" cellspacing="0" width="810">
    Basically where ever there is a align="left" it is exported as align=""left"
    This leaves me to do a find and replace to fix the code. Kind of annoying.
    Personally I thought this would of been fixed in this version.
    Please advise and how to fix this and prevent it from happening.
    See screenshots below for my fireworks export settings.
    Please help.

    Anyone out there experience this?

  • Error while generating the annual leave quota.

    Hi All,
    For all the employee group's for the past 2 years we are generating the Annual leave quota.
    For one employee group, management decided not to give annual leave quota. i have done the necessary configuration so that the quota will not get generated for them.
    For the new employees quota is not getting generated.
    For the old employees i have deleted the annual leave absence quota and run PT60. For these employees system is throwing the following error.
        Error entry no. 83 Error when creating absence quota
         General information
         Rule: 000 quota type 00
        No quota type for key 7 99 01 20110930
    Please suggest the solution.
    Thanks & Regards,
    Sumathi.

    Hi ERP12345,
    This is for employee Group,
    We have 2 employee groups, 1. Permanent
                                                    2. Contract
    For all the contract employees, we have generated the annual leave quota for the past 2 years.
    Now management doesn't want any annual leave quota to be generated for this particulat employee group. so i have deleted all the configuration related to this employee group from base entitlement, accrual of quota generation, deduction rule,selection rule & couting rule.
    When i am hiring a new empoyee the quota is generating correctly, means annual leave quota is not generating, remaining leaves are generating.
    Is it a right way of doing, normally if this is the scenario, what we have do to,
    For the old employees, after deleting the 2006 IT also, system if thwoing the error as i mentioned in my first conversation.
    Please suggest.
    Thanks & Regards,
    Sumathi.

  • Holiday as Working day - Marked as leave is not deducting from Quota

    Hi Experts,
    Please help me with below mentioned scenario.
    We have one holiday calendar for two personnel areas however holidays are different in both personnel areas, and as it is middle of year so I can't create a new holiday calendar for other personnel area so we maintain special day as working day in factory calendar to change holiday as working day for one personnel area.
    Holiday Calendar :- HA (haryana) ,                      Personnel Area (A)           Personnel Area (B)
    Holidays :-     25th Till 28th Oct Diwalii,                25th till 28 Holiday             26 & 27 Holiday only (25 & 28 working in special day rule)
    Issue :- personnel area (B) Now if Employee is getting leave for 25th (which is holiday in calendar and maintained as working day in special day rule) it is not deducting leave from quotas.
    Issue :- Half Employee on 25th are marked as Holiday (HH) in system however half have Absent (AA) in report.
    **(Should I try to make a deduction rule and counting rule for 25th & 28th as it is holiday & working togather... if yes thn what needs to be selected in counting rule)**
    Please provide inputs in this regards as it is urgent.
    Thanks you!!
    Anshul

    Hi Swapnil,
    Thanks man, I understood now, Yes you are right as but it is not working when I am trying to solve this issue after maintaining IT 2003. Now I have to go with second solution however I made Counting rule and deduction rule but facing issue assigning counting rule to Absence Type so the question is Do i need to make new absence type then counting rule and deduction rule or I can just make a counting rule and assign it to the existing Absence type?????
    Please help me through the process as I am little confused, just explain a bit like.. I need to make counting rule and assign it from <so & so> place.
    Thank you so much for your precious time,
    Anshul Upadhyay

  • Help with add file name problem with Photoshop CS4

    Frustrating problem: Help with add file name problem with Photoshop CS4. What happens is this. When I am in PS CS4 or CS3 and run the following script it runs fine. When I am in Bridge and go to tools/photoshop/batch and run the same script it runs until it wants interaction with preference.rulerunits. How do I get it to quit doing this so I can run in batch mode? Any help is appreciated. HLower
    Script follows:
    // this script is another variation of the script addTimeStamp.js that is installed with PS7
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.INCHES;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "Lower© ";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = " ";
    // Set font size in Points
    myTextRef.size = 10;
    //Set font - use GetFontName.jsx to get exact name
    myTextRef.font = "Arial";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 0;
    newColor.rgb.green = 0;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 10, 99);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    you might want to try the scripting forum howard:
    http://www.adobeforums.com/webx?13@@.ef7f2cb

  • Add file name script not working in CS3

    I have this wonderful script (written by Brian Price) back in 2004 for PS7 that adds the file name to an image ( I use it for adding file names to small images to be used in a slideshow). It works great ion Photoshop CS, but when I try to use it as part of a batch action in CS3 it stalls on line 9. OIt works fine when run on just one image in CS3 . . . it just stalls when run as part of a batch action!
    Any help GREATLY appreciated!
    Many Thanks,
    Peter Thompson
    [email protected]
    www.photohawaii.com
    Here's the script:
    // this script is a variation of the script addTimeStamp.js that is installed with PS7
    //Copyright 2002-2003. Adobe Systems, Incorporated. All rights reserved.
    //All amendments Copyright Brian Price 2004 ([email protected])
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.PERCENT;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = "";
    // Set font size in Points
    myTextRef.size = 30;
    //Set font - use GetFontName.js to get exact name
    myTextRef.font = "ComicSansMS";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 255;
    newColor.rgb.green = 255;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 5, 94);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    I have this wonderful script (written by Brian Price) back in 2004 for PS7 that adds the file name to an image ( I use it for adding file names to small images to be used in a slideshow). It works great ion Photoshop CS, but when I try to use it as part of a batch action in CS3 it stalls on line 9. OIt works fine when run on just one image in CS3 . . . it just stalls when run as part of a batch action!
    Any help GREATLY appreciated!
    Many Thanks,
    Peter Thompson
    [email protected]
    www.photohawaii.com
    Here's the script:
    // this script is a variation of the script addTimeStamp.js that is installed with PS7
    //Copyright 2002-2003. Adobe Systems, Incorporated. All rights reserved.
    //All amendments Copyright Brian Price 2004 ([email protected])
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.PERCENT;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = "";
    // Set font size in Points
    myTextRef.size = 30;
    //Set font - use GetFontName.js to get exact name
    myTextRef.font = "ComicSansMS";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 255;
    newColor.rgb.green = 255;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 5, 94);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

  • Pages won't break line between quote mark and parenthesis?

    Working on a manuscript in Pages, I find it won't do a line break between a quote mark and a parenthesis. For instance, there is the following text string:
    Buddha” (buddhavacana)
    Pages insists on keeping this string together, even if there's plenty of room on the previous line for the word Buddha” -- it will space out the previous line horribly to keep these two words together. If I remove the close-quote ” (which can be either a typewriter-style quote mark or curly), or the open parenthesis before the next word, it moves Buddha to the previous line. Doesn't matter what the words are, either; it can be:
    xxx” (xxxxxxxxxxxxxx)
    When I go to another paragraph and add a close quote to a word at the end of a line, then an open parenthesis to the word at the beginning of the next line, suddenly they're stuck together, both moved to the second line, leaving the first line grossly spaced out.
    If there's both a quote mark and an open parenthesis (even though they are separated by a space, thus should break between them when appropriate), Pages insists they have to stay together. The only way I can separate them is by putting a paragraph break (return) between them, which causes other problems.
    Anyone have any idea why this happens, if Pages can be told not to do it?

    I wrote about that because I was surprised to get a closing curly one when I typed a straight one just after the word buddha.  I assumed, wrongly, that, as there was no opening double quote before, I would get an opening one.
    I understood later that the app decipher the typed char as a kind of apostrophe which is highly surprising when the app is running in French. The English curly quote buddha” may make sense (I'm not convinced that it really does) but the French chevron buddha» doesn't.
    Forcing the opening char:
    buddha“ or  buddha«gave the same behavior which I thought to be odd.
    I know that it's not a common practice but when I study a behavior, I try to examine it in all its aspects.
    Back to what make or doesn't make sense, I understand the behavior of buddha’ but not the buddha” 's one.
    I never saw a double quote used as an apostrophe character.
    So, I will file a report to Bugs Hunters.
    Yvan KOENIG (VALLAURIS, France) samedi 28 mai 2011 17:48:37
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Quota generation scenarios

    Hi Experts,
    we are using time evaluation for generating absence quotas. i.e. PL, SL, CL, Comp Off
    now based on certain parameters like ESG & PSA we have different rules for generating each of the above mentioned Quotas
    Let say,
    Sick Leave (SL) quota gets generated based on rules as follows
    a) For PSA 1000 - Begining of the Year (Could be deducted from PL if the deduction exceeds the entitlements)
    b) For PSA 2000 - Last month of the Year (Could not be deducted from CL if the deduction exceeds the entitlements)
    C) For PSA 3000 - After Completion of 3 Years (Could not be deducted from PL if the deduction exceeds the entitlements)
    d) For PSA 4000 & ESG Manager- Monthly (1st to 11th Month 1.65 days & 12th Month 1.85 days)
        For PSA 4000 & ESG Staff  - Monthly 1.65 days
    e) For PSA 5000 - Atfer completion of 1 year prorating with absence (Let say employee is entitled to get 23 SL in a year & he is    
        having 65 LWP in that year so SL would be 23/365 x (365-65) = 18.90 = 90 days (Rounded)
    Please advise whether we could do the same by using the standard system (Automatically)
    Thanks in advance

    Please help on the posted topic

  • Issue in Absence Quota generation wrt to actions (IT0000);using schema TQTA

    Hi
    I wanted some clarification on Absence Quota generation through schema-u201CTQTAu201D
    The client Scenario is that they want Earned leaves (absence Quota type 0002 and 0003) and Half-Pay leave (Absence Quota 0004) semi-annually.
    Whenever an action is run (whether with employee status active or inactive) the absence quota is generated twice:
    1.     Last day of previous action
    2.     Last day of evaluation period.
    Main issue is that when it is reflected in IT-2006 it is summing up the quota generated on both the above said dates.
    Also the quota that is generated on the last day of the evaluation period is not prorated but for the entire accrual period.
    When the employment status of an action is inactive; the quota is generated upto the last date of previous active action, but if any other action is executed with employee status as u201Cactiveu201D in the same accrual period and time evaluation is run; the quota gets generated again on the last date of accrual period for the entire accrual period i.e. the inactive period is also taken into consideration. Moreover, both the quota generated are added up and displayed in IT-2006.
    Kindly advice me the solution for the same.
    Thanks and Regards
    Parul Jain

    Hi
    I wanted some clarification on Absence Quota generation through schema-u201CTQTAu201D
    The client Scenario is that they want Earned leaves (absence Quota type 0002 and 0003) and Half-Pay leave (Absence Quota 0004) semi-annually.
    Whenever an action is run (whether with employee status active or inactive) the absence quota is generated twice:
    1.     Last day of previous action
    2.     Last day of evaluation period.
    Main issue is that when it is reflected in IT-2006 it is summing up the quota generated on both the above said dates.
    Also the quota that is generated on the last day of the evaluation period is not prorated but for the entire accrual period.
    When the employment status of an action is inactive; the quota is generated upto the last date of previous active action, but if any other action is executed with employee status as u201Cactiveu201D in the same accrual period and time evaluation is run; the quota gets generated again on the last date of accrual period for the entire accrual period i.e. the inactive period is also taken into consideration. Moreover, both the quota generated are added up and displayed in IT-2006.
    Kindly advice me the solution for the same.
    Thanks and Regards
    Parul Jain

  • How to pass a single quote in a URL using Javascript

    Can someone tell me how to pass a single quote in a URL using Javascript. I have created a Javascript funciton in which I pass several column values from an APEX report.
    The URL for the report link I am using is "JAVASCRIPT:passBack('#EMP_ID#','#Name#','#e-mail#')"
    The problem occurs with the Name and e-mail columns contain a single quote (i.e. James O'Brien)

    Thank you Saad, that worked.
    Since I built the report using type 'SQL Query (PL/SQL function fody returning SQL query)' I had to add some additional quotes to get it to work.
    i.e.
    replace(EMP_EMAIL_NAME,'''''''',''\'''''')
    or
    replace(EMP_EMAIL_NAME,chr(39),''\'''''')
    Thanks for the help,
    Jason

  • How can I add random mail signatures from a text file?

    I'm trying to add a different quote to every email that I write... is there a program or way for Mail to pluck and append a quote at random from a external file of quotes?  (I'm not talking about the standard "Random" feature built into Mail.)
    There must be one out there, but I can't find it.  I'm using Snow Leopard and Mail 4.5

    Hello,
    Here is a running start on getting specific lines in the case lines starting with ComboBox. I took your data and placed it into a text file named TextFile1.txt in the bin\debug folder. Code below was done in
    a console app.
    using System;
    using System.IO;
    using System.Linq;
    namespace ConsoleApplication1
    internal class Program
    private static void Main(string[] args)
    var result =
    from T in File.ReadAllLines(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TextFile1.txt"))
    .Select((line, index) => new { Line = line, Index = index })
    .Where((s) => s.Line.StartsWith("ComboBox"))
    select T
    ).ToList();
    if (result.Count > 0)
    foreach (var item in result)
    Console.WriteLine("Line: {0} Data: {1}", item.Index, item.Line);
    Console.ReadLine();
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my webpage under my profile but do not reply to forum questions.

  • Balance Leaves to be carried forward to next year

    HI Experts,
    I am using Time evualation with -ve time , i want to carry fwd all the balance leaves left for the year to the next year.
    I have set the "Permit Quota Generation in Time Evaluation" node to "Increase". However i am not able to meet the requirement. Please let me know if i have to maintain any other table or should i have to write PCR for this
    Regards
    Kanna

    You have to write Pcr's for reading the balances and to carry forward the Leaves to quotas.
    PCR for Reading Balances.
    hrs= Bcurmo
        hrs?(specify the month on which it has to read the balance)
        =
           hrs=Bcurdy
           hrs?(Last day on/after which it has to read the balance)
           =
           OUTAQTYP
            XX (XX:Mention Absence Type)
            hrs=FR C
            addMBXXXX(Time type 4-digit)z
    _PCR for Carry forwarding the Leaves.
    hrs= Bcurmo
        hrs?(specify the month on which it has to get the balance)
        =
           hrs=Bcurdy
           hrs?(Starting day to get the balance)
           =
           hrs=Mxxxx(Time type which we maintained in above PCR
           updtqAxx(Absence which it has to carry forward)
    Where
    A-Syntax
    B-Syntax
    curmo-Current Month
    curdy-Current Day
    F-Syntax
    R-Remaining
    C -Syntax
    MB-Monthly Balance
    z-Replacing Value.
    Check and revert with your Comments
    Experts:Correct me if am wrong.
    Regadrs,
    Rao

  • Error in Deductiion of quotas

    Hi All,
    I have an issue related to quota deduction
    My user is having 3 types of quotas right now 1) Leave(a) 2) Leave(a1) current one 3) Standard leave
    As per his company rules and norms he delimited the Leave(a) record in the month of March and encashed and after that he created Leave(a1) record.
    so whenever employee takes leave it should get deduct from the Leave(a1) quota and start deducting standard quota after completion of Leave(a1) quota. But the problem is whenever he is giving absence in infotype 2001 it is deducting from Leave(a) record which is delimited earlier. In development this scenario is working fine but the problem is in production
    Pls help me out
    Regards,
    Sita

    Hi sitarama prasad ,
    Please check ur deduction rule configuration, in that are all the 3 qouta types assigned to the same deduction rule ??
    if yes- then only afer the 1st qouta i.e  Leave(a) gets over then only quota deduction happens for Leave(a1).
    Regards,
    Vishwas

  • To add new feilds in HR payslip

    I want to add leave details of previous month in standard  HR payslip.
    please can any one help me out giving steps to do it
    Moderator Message: Please put some effort from your end first.
    Edited by: kishan P on Oct 6, 2010 5:45 PM

    hi,
    In hrforms transaction code select the country grouping as 40 and copy the standard payslip to zpayslip and double click on that form there you will find the smartforms name just double click it wil takes to smartforms just change the logic there and come back and activate the hrforms and try ro execute it there only by double click on driver program and pass some pernr and check the payslip.
    Regards,
    Thiru

  • Quotes around meta data

    Whenever I create a PDF document from within Microsoft Word with the Acrobat toolbar adobe adds in quote marks around my keywords.  My tags/keywords in Microsoft do not have any quote marks and all are separated by commas.  How do I fix this?  I do not want adobe adding in quote marks automatically.
    I have Adobe Acrobat Standard XI and am using Microsoft Word 2013.  The problem also exists with Acrobat Standard X and Microsoft Word 2010.?
    Can adobe please advise on how to fix this problem?
    Thank you.

    In Microsoft Word there are document properties.  One of them is called "tags".  When in Microsoft Word when I go to the adobe ribbon and click on the command "Create PDF" it converts the Microsoft Word Document into an Adobe PDF file.  It also imports/brings over the document properties.  "Tags" is brought over into the adobe PDF file in the meta data as "Keywords".
    For example, if I have the following information in the "Tags" property in Microsoft Word: car, truck, vehicle, SUV
    Now when it gets converted adobe brings it over into the metadata field of keywords but displays it as: "car, truck, vehicle, SUV"
    Adobe adds into the quotes.  Does not matter if I use semi colons instead.  It has something to do with how adobe interprets the information from the Microsoft Word document.  The metadata I am talking about for Adobe exists in the PDF file under "Document Properties", then in the description tab it mentions the fields of: Title: Author: Subject: Keywords: and there is a button also yet for Additional Metadata.

Maybe you are looking for