Exclude Holidays and weekends from Last7Day function

Hi all,
I'm using the Last7Day function to return all records received from the current date to the past 7 days. How do I exclude Saturday, Sunday, New Years Eve, and New Years Day? The selection formula I'm using is:
in Last7Days

I don't think you can get there with the Last7Day function.  You'll have to bulld your own.  Try creating a custom function called Last7WorkDays and insert this code (Replace the ALL CAPS TEXT NEAR THE END WITH YOUR DATE FIELD):
Local DateVar Array Last7WorkDays;
ReDim Last7WorkDays[7];
Local NumberVar numberDays := 1;
Local NumberVar dayCounter := 1;
while numberDays < 8 do
    If (DayOfWeek((CurrentDate - dayCounter)) <> 1 AND
       DayOfWeek((CurrentDate - dayCounter)) <> 7 AND
       Mid(totext(CurrentDate - dayCounter), 1, 5) <> '12/31' AND
       Mid(totext(CurrentDate - dayCounter), 1, 3) <> '1/1')
    Then
        (Last7WorkDays[numberDays] := (CurrentDate - dayCounter);
        numberDays := numberDays + 1;);
   dayCounter := dayCounter + 1;
If (Date(INSERT YOUR DATE FIELD HERE) In Last7WorkDays) Then
    ("True" ;)
Else
    ("False";)
Add this formula to your report in the detail section.  You can suppress it so it doesn't show up on the report.  Then set a filter on the "False" values to eliminate weekends, new years eve and new years day.

Similar Messages

  • FM to exclude holidays and weekends and count days in Leave period

    Hi Friends,
    My requirement is to count no of days leave applied !!
    Which should exclude Holidays and weekends and count only business days..
    I.E. per week onlyt 5 working days!!
    Is there any FM to do so Becasue this exlcuding holidays not happens manually...
    Thanks in advance...
    Regards
    sas

    Hi Dilek Please can you send the screen shots of those
    Just put HRworkdays F4 and can you send the screen shots of those please!!!Which will help to show to my client !!
    MY id is in businees card please take it as per rules i cant type ....Thanks in advance!!
    Regards
    sas
    Edited by: saslove sap on Sep 8, 2009 8:32 AM
    I have check with other client systems of ECC 6.0  there is no FM of you provided !! Intresting !!
    Any one any other idea to achieve the same please provide!!
    Regards
    sas
    Edited by: saslove sap on Sep 8, 2009 9:45 AM
    Edited by: saslove sap on Sep 8, 2009 10:04 AM

  • Escalation emails based on SLA excluding Holidays and Weekends

    Hi All,
    I have a requirement to send escalation emails based on customer agreed SLA's. The SLAs like No Activity on SR for # of Days, 1st Response (Hours), Age (weeks), etc. The email should be sent to SR Owner, his manager, director and so on based on Customer Tier.
    Has anyone tried to factor Working Days into their SLA's through TimeBased WFs ?
    For example, a Service Request is raised on Friday and I would like the number of days to close that service request to exclude Saturday and Sunday? Just wondered whether anyone had experience/recommendations with this?
    This is urgent.
    Thanks

    Hi Bob,
    I think I'm going to ask you for the document too...
    I developed an external integration program which calculates a date from another one (like timestampadd) but using the week-ends, holidays and opening hours...
    If we can now do this within the CRM, it's awesome !
    Thanks,
    Max

  • Req. deliv.date should exclude holidays and weekends

    Hi guy,
    When I try to create my sales order. The Req.deliv.date and First date will automatically fill with date. The question is it should exclude weekends and holiday, but the result is not. Just like that
    The 07/12/2014 is Saturday. How should I make it automatically exclude weekends? Thank you in advanced.
    Best,
    Peter

    Hi Peter,
    The requested delivery date is the date that the customer is requesting the material arrive at their site. Therefore, the logical calendar to check this against is the unloading point calendar of the customer. Please maintain an unloading point and assign a calendar for the customer in transaction VD02.
    When you do this, the system will issue a warning of you enter a non-working day. There is not possibility to change this to an error in the standard system. The system assumes that the user knows what they are doing and takes priority over the warning message. However, the warning message does inform the user of the next working day.
    I remember replying to a similar thread about this before. You can find it here:
    No Schedule Line Dates on Weekends

  • Getting the next valid date (jump holidays and weekends)

    Hello,
    I have a column table where I have all holidays of the year in the format "yyyymmdd,yyyymmdd,...", for example, "20091012,20091225".
    I'd like to do a query where I pass a date and a increment of days and it returns the next valid date, excluding weekends and the holidays that I have in the column holidays that I show above.
    P.S: Instead of pass a date and a increment of days, I could pass just a already incremented date, and this query just validate this date, adding 2 days for each weekend and one day for each holiday.
    Is there a way to do that?
    Thanks

    Hi,
    Ranieri wrote:
    Hello,
    I have a column table where I have all holidays of the year in the format "yyyymmdd,yyyymmdd,...", for example, "20091012,20091225".Dates should always be stored in DATE columns. If you really want to, your can also store the formatted date in a separate column.
    I'd like to do a query where I pass a date and a increment of days and it returns the next valid date, excluding weekends and the holidays that I have in the column holidays that I show above.For convenience, you can't beat a user-defined function, such as Etbin's.
    If you really want a pure SQL solution, you can
    (a) generate a list of all the days that might be between the start date and end date (sub-query all_days below)
    (b) outer join that to your holiday table (sub-query got_dnum, below)
    (c) rule out the holidays and weekends (sub_query got_dnum, WHERE clause)
    (d) return the nth remaining day (main query below)
    WITH     all_days     AS
         SELECT  TO_DATE (:start_date, 'DD-Mon-YYYY') + LEVEL     AS dt
         FROM     dual
         CONNECT BY     LEVEL <= 3           -- 3 = max. consecutive non-work days
                   + (:day_cnt * 7 / 4)     -- 4 = min. work days per week
    ,     got_dnum     AS
         SELECT     a.dt
         ,     ROW_NUMBER () OVER (ORDER BY a.dt)     AS dnum
         FROM          all_days     a
         LEFT OUTER JOIN     holidays     h     ON     a.dt = TO_DATE (txt, 'YYYYMMDD')
         WHERE     h.txt               IS NULL
         AND     TO_CHAR (a.dt, 'Dy')      NOT IN ('Sat', 'Sun')
    SELECT     dt
    FROM     got_dnum
    WHERE     dnum     = :day_cnt
    ;This assumes :day_cnt > 0.
    The tricky part is estimating how far you might have to go in sub-query all-days to be certain you've included at leas :day_cnt work days.
    Where I work, holidays are always at least 7 days apart.
    That means that there can be, at most, 3 consective days without work (which happens when there is a holiday on Monday or Friday), and that thee are at least 4 work days in any period of 7 consecutive days. That's where the "magic numbers" 3 and 4 come from in the CONNECT BY clause of all_days. Depending on your holidays, you may need to change those numbers.
    P.S: Instead of pass a date and a increment of days, I could pass just a already incremented date, and this query just validate this date, adding 2 days for each weekend and one day for each holiday.Good thought, but it won't quite work. How do you know how many holidays were in the interval? And what if the first step produces a Saturday before a Monday holioday?
    You might be interested in [this thread|http://forums.oracle.com/forums/message.jspa?messageID=3350877#3350877]. Among other things, it includes a function for determining if a given date (in any year) is a holiday, without reference to a table.

  • Advisable to Exclude "Library" and "System" From TM Backup?

    In the event I need a complete restore, can I use the Leopard install disc with the TM backup? And if this is the case, can I exclude "Library" and "System" from TM backup without harm. If there is personal info in "Library" (I have checked all the MobileMe sync options) can I retrieve it from the MobileMe cloud? Since my backup drive is same capacity as computer, my goal is to effectively economize.

    nublu wrote:
    In the event I need a complete restore, can I use the Leopard install disc with the TM backup?
    Yes, as long as you DO let TM back up everything, including your OS and apps. You don't reload Leopard from the Leopard Install disc for this; you just use the installer on it to restore everything from your TM backups. See item 14 of the Frequently Asked Questions post at the top of this forum.
    And if this is the case, can I exclude "Library" and "System" from TM backup without harm.
    Not to be able to do a complete system restore. If you do exclude those folders, you'd have to install Leopard from your Leopard Install disc, then "migrate" from your TM backups, then download the appropriate OSX update package to get back to 10.5.7. If you decide to do this, you might as well exclude the hidden top-level folders as well.
    If there is personal info in "Library" (I have checked all the MobileMe sync options) can I retrieve it from the MobileMe cloud? Since my backup drive is same capacity as computer, my goal is to effectively economize.
    You're not going to save much space that way, and your TM disk is probably much too small anyway. The rule of thumb here is that TM needs 2-3 times as much space as the data it's backing-up; so if your internal HD is only 1/3 to 1/2 full, you may be ok. If it's more than half full, your best bet may be to get a bigger drive. See item #1 of the FAQ referenced above for more details.

  • Need to exclude Sat and Sun from Leave Apply

    Hi,
    Need to exclude Sat and Sun from Leave Apply, the requirement is when user apply for leave and when he enter days like 1 to 10 the system should exclude sat and sun in this duration and Calculate Duration Button should show the remaining days in Total Field. In which formula or PL/SQL script should open to amend this. Currently system is only excluding Sunday.
    Regards,

    Hi,
    Need to exclude Sat and Sun from Leave Apply, the requirement is when user apply for leave and when he enter days like 1 to 10 the system should exclude sat and sun in this duration and Calculate Duration Button should show the remaining days in Total Field. In which formula or PL/SQL script should open to amend this. Currently system is only excluding Sunday.
    Regards,

  • How to exclude music and pictures from backing with USMT in SCCM 2012 SP1?

    How to exclude music and pictures from backing with USMT in SCCM 2012 SP1?
    I know we can use config.xml but I m not sure what all steps to take.
    Below is my understanding
    1. Create Custom.xml file using below
      <component context="System" type="Documents">
            <displayName>Test</displayName>
            <role role="Data">
                <rules>
                 <unconditionalExclude>
                            <objectSet>
        <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mp3]", "Fixed")</script>
                            </objectSet>
                 </unconditionalExclude>
                </rules>
            </role>
        </component>
    </migration>
    2. Save as Custom.xml.
    3. Copy it to USMT source files package in both the x86 and x64 subfolders and update the relevant USMT package distribution points.
    I am confused as where in task sequence will we specify the custom.config file.

    Edit the miguser.xml file. The default list is as follows:
    -<objectSet>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qdf]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qsd]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qel]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qph]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.doc*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dot*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rtf]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mcw]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wps]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.scd]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wri]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wpd]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.xl*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.csv]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.iqy]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dqy]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.oqy]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rqy]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wk*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wq1]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.slk]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dif]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ppt*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pps*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pot*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.sh3]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ch3]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pre]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ppa]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.txt]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pst]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.one*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vl*]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vsd]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mpp]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.or6]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.accdb]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mdb]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pub]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.xml]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ini]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dgn]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dic]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.dsk]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.gqa]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.gqu]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.id]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mpp]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.ora]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pab]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pdf]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.pps]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.qry]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.r2w]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rdl]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rsf]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.url]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vdx]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vss]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vst]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vsx]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vtx]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.zip]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.rar]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.7z]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.iso]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.gif]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.jpg]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.bmp]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mp3]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.avi]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.mp4]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.wmv]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.bat]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.vbs]", "Fixed")</script>
    <script>MigXmlHelper.GenerateDrivePatterns ("* [*.lnk]", "Fixed")</script>
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • High bill with unusual calls and texts from non-functioning numbers?

    We have a family share plan with 3 phones, one phone for my husband and two phones for our employees.  Our usual phone bill runs around $150.  Our last bill was over $600, the majority charges being on one of our employee's lines.  This particular employee has been with us for over 10 years, and has always been extremely trustworthy and very frugal in his usage of his phone to make personal calls (very infrequent and always less than 5 minutes in duration, unless made during the free nights and weekends timeframe).  Our latest bill showed over 1,000 texts to/from his phone, as well as over 3,000 peak calling minutes (both to/from his phone) alone.  Many of the peak calls are lengthy in duration (30+ minutes, up to 120 minutes).  I realize this post is long, so will divide it into headings so that it makes more sense:
    Information on usage:
    Our employee insists that he did not make these calls and texts (he does not even know how to text), and what is odd about the numbers that appear on the detail (both text and voice) is that they fit into one of two categories:
    1.  There are calls to two particular non-local area code numbers (and possibly bogus, as they have area codes 523 and 352(?)).  When I call the two numbers, I get the following messages:
    From my landline:  When called from my landline, adding a "1" before the 10 digit number, I get the recording stating that "your number cannot be completed as dialed, please check the number and dial again"
    From a cell number- When calling from my own VZW phone (on separate account from husband's), I get a VZW message that the number "has been changed, disconnected or is no longer in service"
    2. They are local area code numbers, but when I call the number, I get a recording asking me to enter my pin number (in other words, they are numbers that cannot receive incoming calls, but according to our bill, have not only made calls to our employee's phone, but also received calls.  I have done an online lookup on these numbers and they are all cell phones.
    3.  When I have tried to text the non-local numbers from my VZW phone, I get messages back stating that these are landline numbers and cannot be texted; when I text the local numbers, I have texted a generic message along the lines of "I can't reach you on the phone.  Please call me as soon as you can" but I do not receive a call back.
    We cannot speak directly with our employee right now (he is in Mexico to pick up his elderly grandmother),  nor can we access our employee's phone to check the log, call history, etc. because he has the phone with him.  Due to this, when we discovered the high usage, we immediately "suspended" the phone line so that no calls could be made or received.  Subsequent to suspending the line, we have talked to his family a couple of times -- one time he happened to call them on another line, so we talked to him "indirectly" through a family member on another line with him.  He was alarmed about the calls and insists he did not make them. 
    He does have children but they are forbidden (by him) from using the phone, and he states that he always keeps the phone in a case on his hip, thus no one else has access to the phone.  To go even further, it seems that most all of the calls to these unusual numbers are made on weekdays, during school hours, so I feel sure the calls were not made by his kids.
    Calls to Verizon:  When we first called Verizon, they suggested we suspend the phone until we could speak to our employee.  Subsequent to our indirect conversation with him mentioned above, we called them back and told them he stated that he did not make the calls nor send the texts, and that we believed the phone might have been compromised, cloned, hijacked or whatever.  First, the customer svc rep looked at our account and suggested that we put an unlimited text on the phone for the current unbilled usage (there were a lot of texts, and we have no text plan on the employee's phone), and then remove that plan once we get to the bottom of this matter. 
    Due to our concern about fraudulent usage, the customer svc. rep called the fraud dept. while my husband was holding on the line.  She came back on the line and told my husband that the fraud dept. said that "it cannot be fraud because if it was, there would be thousands of dollars in international long distance to countries like Pakistan and India." (WTH?)  Also, she said that it couldn't be fraud "because texts were sent to and from the telephone number so we know it was your phone."  (another WTH?)
    She then went on to say that it looks like texts were sent to international numbers (???) recently (these same 523 and 352 area code numbers I referred to above).  Number one, if these were international texts, it seems odd to me that these texts show up on our billed and unbilled activity as "domestic text" and there is no premium charge assessed to our account for international texts.  Number two, if these numbers were international numbers, I imagine that we would be charged for outgoing international calls, which we were not.  Further, I imagine that the numbers would be displayed on our bill in other than a ten digit format, but am not sure, as no one has ever made an international call or text on our phone.
    Next steps:
    Does anyone have advice for the next steps we should take and how we can get to someone in customer service who can actually help us with this problem, instead of what we experienced on our previous call?  Can we demand that Verizon launch an investigation through its fraud department on the activity on this phone, or is this at the discretion of VZW to launch an investigation?  I am unsure, since this was not given as an option by the customer service rep... 
    If we can get Verizon to launch an investigation, is payment of the portion of the bill with the unusual and disputed usage (namely, that which is over and above the usual usage) waived pending the investigation results, or will we have to pay the entire bill to both avoid having the phones turned off, as well as any detrimental effects to our credit?  We've been hit hard by the economy, both personally (I am out of work right now) and business wise (my husband's business has been doing only about 25% of its usual business), and we don't have the extra $$ for the bill unless we take it out of our grocery budget. 
    If anyone has any insight, suggestions or otherwise, I sure would appreciate it.  Sorry for the lengthy first post, but I thought it would be helpful to outline as much about the situation as I could in order that people could respond.  Thanks in advance!

    kbinga,
    I know this is a confusing and frustrating situation for you. I would be happy to review the account in detail to see what is happening with the usage and charges to ensure it does not continue to be a problem for you. Please send me a direct message for further support assistance.
    Thank you!
    AdamE_VZW
    Follow us at @VZWSupport

  • Calendar-based confirmation (holidays and weekends off)

    Hello,
    Our company needs the sales order´s schedules lines to be confirmed only on non-holiday and non-weekend days. How can I achieve this?
    I have a proper calendar with all the holidays set correctly.
    Things that I've tried which didn't work:
    1) Assigning the calendar to the shipping point;
    2) Assigning the calendar to the sales organization.
    Can someone help me on this one?
    Thanks in advance!
    Adriano Cardoso

    Hi,
    Kindly Check the Following link,
    Which Factory Calendar is used to determine the Sales Order delivery date
    Revert,
    Regards,
    Prasanna

  • How to exclude undo and temp from "Tablespace Space Used (%)"

    Dear All
    Is it possible to exclude undo and temp tablespace monitoring from "Tablespace Space Used (%)" matric?
    Thanks & Regards
    Quazi Abdur Rab

    If you use TEMP >=100 as Warning, this warning can still be raised.
    What version of the database is it? If Oracle 10g, Grid Control (the agent) searches the alert table in the database for alerts, so the database raises the alert and the agent just passes this alert to Grid Control.
    If you are using Oracle 10g, you can use the following statement (connected as sys):
    DBMS_SERVER_ALERT.SET_THRESHOLD(
    metrics_id => DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL,
    warning_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
    warning_value => '90',
    critical_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
    critical_value => '100',
    observation_period => 1,
    consecutive_occurrences => 1,
    instance_name => NULL,
    object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
    object_name => 'TEMP');
    This will create the GT (Greater Than) instead of GE (Greater Equal).
    Kind regards,
    Dave
    ps. I'm using GC 10.2.0.3.0, so thanks for the note that 10.2.0.4 doesn't take 100+ values.

  • Excluding Desktop and Dropbox from Search

    Is there a way to temporarily exclude my Desktop and Dropbox from a Spotlight search? I want to run some of these to find pdfs and image files - and then move them all - but I don't want to touch the ones in these two locations.
    Do I have to go into Settings to do this or can I do it in the search criteria somehow?
    Alternatively, is there a way to /sort/ the results by locations so that I can move everything not /listed/ in these two locations?
    Thanks.

    You can set up "Boolean" searches with Finder/Spotlight, but as far as I know, it's only for "what to search for", not for "where to look". There are at least two ways to do it.
    Here is a test folder I made:
    Method 1) You can include operators such as AND, OR, NOT (capitalized) in the search field:
    Method 2)  You can option-click on this little plus sign
    This will generate a new set of "combination" criteria with Boolean choices. These sets can be nested further:
    With respect to file location, the free utility EasyFind is slower than Finder/Spotlight, but displays its search results in a list that includes a sortable "where" column.
    There's an app called Houdaspot which uses the Spotlight index and can apparently search by location, but it costs $30. I haven't used it.

  • Is it possible to exclude thumbnails and previews from a vault?

    I think in Aperture 1.5, vaults did not include any preview or thumbnail files, but only the files containing metadata, adjustments etc. (and the masters, unless referenced only)
    Somewhere along the way to 3.0 this changed so now previews and thumbnails are backed up each time you update your vault.
    This has two BIG drawbacks:
    - the vault becomes much larger than necessary (I always generate large previews)
    - the update process takes much longer as more files need to be copied.
    On the other hand, I do not see any tangible benefit of including the extra files - provided I back up both masters and the adjustments, I should be able to regenerate thumbnails and previews after a restore following, say, a fatal hard drive error.
    (If I chose to delete all previews and thumbnails prior to creating a vault, I assume that the vault would be significantly smaller, without losing any information that cannot be recreated by  'generate thumbnail/preview')
    Is my understanding correct?
    If so, is there a way around it?
    If not, can we please have this option in Aperture 3.5 or 4.0?
    Thank you!

    Hi Matt.  You raise an interesting point.  What you say makes sense to me.
    My general response is:  external drives are cheap.  Buy what you need and don't spend any time trying to "save" disk space.  IME, the administrative overhead is far more costly than the upfront equipment costs.
    Here are some specific answers (as I understand how Apeture uses Vaults).
    There is no way to exclude Previews from Vaults.  Each Vault includes all extant Previews.
    Each Vault is a differential back-up.  Updating the Vault should update only those files that have been added, changed, or deleted.  Unchanged files -- including Previews -- are not backed up anew each time you update a Vault.  The amount of time it takes to update a Vault will vary based on the number of changes made, and should have nothing to do with the size of the Library or the number of files in it.
    You can test your hypothesis.  Delete all your Previews, and create a new Vault.  Let us know what you find out.
    Suggestions for enhancements should be made directly to Apple via "Aperture→Provide Aperture Feedback".  The forum is -- officially -- strictly for user-to-user interaction.

  • SS TimeCard holiday and weekend days

    As it is possible in Self Service timecard to make time fields as "disabled" for Saturday and Sunday, and for holidays too? What steps for this are necessary to do?

    1. You can integrate OTLR with OTL so that Time card can be automatically generated (So that generated timecard will have Zero hours during Saturdays, Sundays and Holidays). But User can still update the Time in the holidays.
    2. Define Holiday calendar in OTL and get the dates in OTL Formula and raise error if value is Non-zero for those days.

  • Resource availability during Non-Working Hours and Weekends

    Hi Gurus,
    Aim: Make the Resource available during Non-Working Hours and Weekends
    Requirement: CRP functionality enabling
    In CRC2 I have selected capacity tab and in capacity header under 'Change Interval and Shifts' button. I have Inserted a new Interval period and given the validity from/to dates(Non-Working day - Saturday) and Saved.
    When i execute the Capacity Planning CM01, there is no change. The Resource availability still shows as "0"hrs for this particular date and for rest of the days it shows as 8hrs.
    I have checked the same even after executing the MRP, No change in Capacity Planning Overview - Still the available Capacity Showas as 0
    Please guide me, how can i use my resource during the holidays. Means make the system understand that the defined day is a working day though it is holiday as per factory calendar
    Please correct me whether am i missing any settings or i should follow some other logic
    Regards,
    Tam

    Hi Partha,
    In workdays i dont have any such option "2"
    As per standard list I could see only 3 entries in the possible values(F4) popup
    "Blank" - Working days according to factory calendar
    "0" - Non-Working days(Overrides factory Calendar)
    "1" - orking days(Overrides factory Calendar)
    I have even tried with option "0" and "1" its still the same, when i enter the period From and To date the fields for the entries Shift start and end date, workday, Shift Seq, Length of the shift, No.of shifts.........are jumping to the next line item.
    Because of which i understand that the entered values is not corresponds to the newly defined period
    Pls guide me to how to make the resource available during non working days
    Regards,
    TamNen

Maybe you are looking for