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
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
sasHi 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 -
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,
PeterHi 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 -
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 Last7DaysI 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. -
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?
ThanksHi,
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. -
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 CardosoHi,
Kindly Check the Following link,
Which Factory Calendar is used to determine the Sales Order delivery date
Revert,
Regards,
Prasanna -
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. -
Our company uses the email based review feature of Adobe and we are having some intermitent problems.
It seems that sometimes when a review is complete the originator of the review can not automatically merge the comments and has to do it manually. With large reviews and many document you can see how this can be a problem.
I do not set up the reviews so I don't know is anything can be messed up on that end but the finger gets pointed at me for performing the review wrong.
My method is as follows:
-Received a pfd for review
-Add comments
-Click the 'send comments' button in the tool bar, pop up appears with the email address of the originator and I click send
That's it.
And again this issue of not being able to automatically merge only happens once in a while.
Reviews are being created with professional (not sure of the version as it's not on my machine)
I am using adobe 7.0 standard.
Any information would be greatly appreciated.
ThanksThe problem stems from selections made when installing. Access points to adobe.com is a selection option you get when installing. If this is disabled or not selected, the send comments button won't appear. The solution is a simple registry change.
For Acrobat pro 9 users
[HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\9.0\Workflows ] “bEnableWorkflowPart”=dword:00000000 to 1
For systems with Acrobat Reader, use the following:
[HKEY_CURRENT_USER\Software\Adobe\Adobe Reader\9.0\Workflows ] “bEnableWorkflowPart”=dword:00000000 to 1
http://kb2.adobe.com/cps/508/cpsid_50894.html -
I have tired of these problem I want to solve in the quickest possible time and my English is weak and I more than a week of forgotten secret email based communication alternative answers please solved my problem.
Apple ID security issues -
Call Apple Care and ask for the Account Security Team. They can assist you with your issue. -
I'm going on holiday and don't want emails while I'm away what do I do?
If friends are on holiday and I forget and send them an email a message 'jumps' back to me to say they are away how can I make one for when I go away?
https://support.mozilla.org/en-US/kb/Vacation-Response
-
T-SQL how to count holidays and exclude it in my scenario
Hi team,
My customer will submit a ticket to our system and it valid for 7 days. For example, if customer A submit a ticket on 2015/1/15, the request will be ineffective at 2015/1/22. So, I can directly use the following
T-SQL code to update the ticket status:
update customer_ticket set ticket_status="Cancle"
where ticket_submit_time < getdate() - 7
But, if 2015/1/19,2015/1/20,2015/1/21 are holidays, the ticket valid time should extend 3 days, it means the ticket of customer A will be ineffective at 2015/1/25. How can I count the holidays and then extend the valid time of ticket automatically?
I have a table to store our holidays, here are the sample data:
CREATE TABLE QC_OVERTIME_SCHEDULE
SCHEDULE_DATE DATE,
IS_INCLUDED VARCHAR(10),
UPDATE_TIME DATE,
MEMO VARCHAR(250)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] ([SCHEDULE_DATE], [IS_INCLUDED], [UPDATE_TIME], [MEMO]) VALUES (CAST(N'2015-01-19' AS Date), N'0', CAST(N'2015-01-15' AS Date), N'Holiday')
INSERT [dbo].[QC_OVERTIME_SCHEDULE] ([SCHEDULE_DATE], [IS_INCLUDED], [UPDATE_TIME], [MEMO]) VALUES (CAST(N'2015-01-20' AS Date), N'0', CAST(N'2015-01-15' AS Date), N'Holiday')
INSERT [dbo].[QC_OVERTIME_SCHEDULE] ([SCHEDULE_DATE], [IS_INCLUDED], [UPDATE_TIME], [MEMO]) VALUES (CAST(N'2015-01-21' AS Date), N'0', CAST(N'2015-01-15' AS Date), N'Holiday')
Please let me know if you have any ideas, thanks!
Serena,Hi Serana,
You may reference the below as well. The expiring date of each ticket can be calculated based on the calendar table and the tickets whose expiring date >= GETDATE() will be updated as 'Cancle'.
CREATE TABLE QC_OVERTIME_SCHEDULE
SCHEDULE_DATE DATE,
UPDATE_TIME DATE,
IsWorkday BIT
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150109' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150110' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150111' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150112' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150113' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150114' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150115' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150116' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150117' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150118' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150119' AS Date), CAST(N'20150115' AS Date), 1)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150120' AS Date), CAST(N'20150115' AS Date), 1)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150121' AS Date), CAST(N'20150115' AS Date), 1)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150122' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150123' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150124' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150125' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150126' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150127' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150128' AS Date), CAST(N'20150115' AS Date), 0)
INSERT [dbo].[QC_OVERTIME_SCHEDULE] VALUES (CAST(N'20150129' AS Date), CAST(N'20150115' AS Date), 0)
--DROP TABLE QC_OVERTIME_SCHEDULE,customer_ticket
CREATE TABLE customer_ticket
(id INT,
ticket_submit_time DATE,
status_change_date DATE,
ticket_status VARCHAR(10));
INSERT INTO customer_ticket VALUES (1,'20150109',NULL,'Open');
INSERT INTO customer_ticket VALUES (1,'20150115',NULL,'Open');
INSERT INTO customer_ticket VALUES (1,'20150118',NULL,'''Open');
INSERT INTO customer_ticket VALUES (1,'20150122',NULL,'Open');
SELECT * FROM [QC_OVERTIME_SCHEDULE]
SELECT * FROM customer_ticket
;WITH cte AS
SELECT c.id, c.ticket_submit_time, c.status_change_date,c.ticket_status, t.SCHEDULE_DATE AS expireDate FROM customer_ticket c
CROSS APPLY
(SELECT SCHEDULE_DATE FROM (SELECT SCHEDULE_DATE,ROW_NUMBER() OVER(ORDER BY SCHEDULE_DATE) as rn FROM QC_OVERTIME_SCHEDULE WHERE SCHEDULE_DATE>=C.ticket_submit_time AND IsWorkday=0) as tb WHERE RN=8 ) AS t
UPDATE cte SET status_change_date=GETDATE(),ticket_status='Cancle'
WHERE expireDate<=GETDATE()
If you have any question, feel free to let me know.
Eric Zhang
TechNet Community Support -
How do i add and email based submit button to a form
how do i add and email based submit button to a form
See this: http://help.adobe.com/en_US/acrobat/using/WSBB6EF75F-BC3D-4094-B787-FB76DAE1EBDC.w.html
-
Building a report filter that excludes non-business hours and weekends
Hi All,
I need to know if this can be done in Answers:
I have built a system in CRM that captures timestamps when SRs are moved into and out of stages in the SR resolution lifecycle. Then I have a report that uses timestampdiff to calculate the time that a SR spends in each SLA metric window (Respond, Diagnose, Resolve). The report currently displays only the hard difference based on a 24 hour clock.
We need to be able to build a filter that will exclude any non-business hours (say outside of 9:00 to 5:00) and weekends, so that if my Respond window is 2 hours and an issue is recorded with a Response Start timestamp of 4:00pm, the report would show that if the Response Stop timestamp is at 9:30am the next business day, the SR met the required SLA.
Does anyone know if this can be done? If so, any insight on how to build it? I've seen a document that explains how to exclude weekends from workflow, but can the same thing be done in reporting?
This is a very urgent request and any help here is greatly appreciated.
Thanks!Exclude weekends you can do but not business hours but perhaps you can create something....if timestampdiff(Days) greater than 1 then take off 16 hours....Mike Lairsons book has the formula for excluding weekends and I think someone may have posted it in this forum if you search for it.
cheers
alex -
Hi,
Just need some clarifications on holidays:
a. How do we set up Holidays in HRMS?
b. While applying leaves using the Absence form, how do we exclude holidays from leaves calculation?
Thanks in advance,
AviHi,
You can define holidays in HRMS using work schedules(Shifts and Schedules) and assign the schedule to the employee assignment.
Then set the profile option HR:Schedule Based Calculation to yes.Now when you apply for leave the holidays that you have defined using in your schedule will be automatically excluded from the duration calculation.
Thanks -
Excluding detail and suppressed records from calculations in crystal xi
Is there anyway to exclude records from calculations in crystal xi
The report design contain group level A, group level B and group level C
In Group level C - the sorting order ensures that the most recent (and in this scenario relevant record) is displayed first - this is the record which is required for the calculations. This record is then moved into Group Level C header - thus only displaying the first record in this group. However any calculations which take place take into account all the detail records in Group Level C, and as a result the calculations are incorrect.
Running Totals are not an option as also on this report - in certain scenarios Group Level C may be suppressed altogether - is there anyway to exclude suppressed records from the calculations?
It is necessary to carry out the following calculations, using only the (unsuppressed) value from Group Header Leve C: Sum, Mean, Median
Thank you in advanceif i understand correctly you need to calcuate values based upon your group c
and the details of the group are in the details section
the only way you can accuratley calc this is MANUAL RUNNING TOTALS.
RESET
The reset formula is placed in a group header report header to reset the summary to zero for each unique record it groups by.
whileprintingrecords;
Numbervar X := 0;
CALCULATION
The calculation is placed adjacent to the field or formula that is being calculated.
(if there are duplicate values; create a group on the field that is being calculated on. If there are not duplicate records, the detail section is used.
whileprintingrecords;
Numbervar X := x + ; ( or formula)
DISPLAY
The display is the sum of what is being calculated. This is placed in a group, page or report footer. (generally placed in the group footer of the group header where the reset is placed.)
whileprintingrecords;
Numbervar X;
X
Maybe you are looking for
-
I just got my code red 8gb ipod nano and I noticed that the screen is uneven. Its like it wasn't aligned right when they put it together. I also noticed it had a lot of battery power when I first got it, but I don't know if they are like that when yo
-
Hello- I am using css drop down menus on my site and they drop down over an swf. I have figured out how to make this work in IE/Win and Firefox, but it isn't so great in Safari. Adobe.com has the same problem in Safari. Here is the link: http://www2t
-
Unable to install Leopard... help?
It's my 4th time trying to install Leopard on my Imac G5. When i put the DVD in and choose the restart option as stated, the computer restars but i never get to see the intall screen. It stays on the apple grey screen and nothing happens... I have to
-
I have the trial version of LR5, do I need to buy full version or just the upgrade?
I have the trial version of LR5, do I need to buy full version or just the upgrade?
-
Indesign CS4 PC version on a macbook pro
I have an opportunity to pick up a macbook pro 13, but I have the PC version of indesign CS4. Any comments on how this will run on the mac, using something like Bootcamp or parallels? Same question of photoshop CS5 for PC.