Combine three consecutive dates

I am trying to combine three contiguous dates. I have web audit log table and if a user goes to the website on three consecutive days, then I want to record that as one visit not three. For example, if a user visits the website on 1 May, 2 May, 3 May, 5 May, 7 May, 8 May, 9 May, then it should be a total of 3 visits. One visit for the first three days, second visit for 5 May, and third visit for 7, 8 and 9 of May.
Is there any analytic function which can perform this kind of requirement.
All suggestions will be much appreciated. Thanks.

Papin
Awesome, man. You rock. Thanks a million for the
elegant code.First, I tried myself using analytic functions to write this query.
The following query is what I got.
It's quite similar to Papin Aziat's solution.
with 4 inline views.
SQL> with
  2    auditlog_tst as
  3      (
  4        select 0 as alog_mbr_no, to_date('01012007','ddmmyyyy') as visit_date from dual union all
  5        select 0 as alog_mbr_no, to_date('02012007','ddmmyyyy') as visit_date from dual union all
  6        select 0 as alog_mbr_no, to_date('03012007','ddmmyyyy') as visit_date from dual union all
  7        select 0 as alog_mbr_no, to_date('04012007','ddmmyyyy') as visit_date from dual union all
  8        select 0 as alog_mbr_no, to_date('10012007','ddmmyyyy') as visit_date from dual union all
  9        select 0 as alog_mbr_no, to_date('11012007','ddmmyyyy') as visit_date from dual union all
10        select 0 as alog_mbr_no, to_date('12012007','ddmmyyyy') as visit_date from dual union all
11        select 0 as alog_mbr_no, to_date('15012007','ddmmyyyy') as visit_date from dual
12      )
13   select alog_mbr_no, visit_date
14     from (select ttt.*,
15                  lead(m) over(partition by alog_mbr_no, rn order by visit_date) lead_m
16             from (select tt.*,
17                          sum(s) over(partition by alog_mbr_no, rn order by visit_date) + 1 ss,
18                          mod(sum(s) over(partition by alog_mbr_no,
19                                   rn order by visit_date) + 1,
20                              3) m
21                     from (select t.*,
22                                  decode(visit_date - 1,
23                                         lag(visit_date) over(partition by alog_mbr_no order by visit_date),
24                                         1,
25                                         0) s,
26                                  visit_date - row_number() over(partition by alog_mbr_no order by visit_date) rn
27                             from auditlog_tst t) tt) ttt)
28    where m = 1 or (m = 2 and lead_m is null)
29  /
ALOG_MBR_NO VISIT_DATE
          0 01.01.2007
          0 04.01.2007
          0 10.01.2007
          0 15.01.2007
SQL> but then I tried to solve it using model clause.
That's what I got:
SQL> with
  2      auditlog_tst as
  3        (
  4          select 0 as alog_mbr_no, to_date('01012007','ddmmyyyy') as visit_date from dual union all
  5          select 0 as alog_mbr_no, to_date('02012007','ddmmyyyy') as visit_date from dual union all
  6          select 0 as alog_mbr_no, to_date('03012007','ddmmyyyy') as visit_date from dual union all
  7          select 0 as alog_mbr_no, to_date('04012007','ddmmyyyy') as visit_date from dual union all
  8          select 0 as alog_mbr_no, to_date('10012007','ddmmyyyy') as visit_date from dual union all
  9          select 0 as alog_mbr_no, to_date('11012007','ddmmyyyy') as visit_date from dual union all
10          select 0 as alog_mbr_no, to_date('12012007','ddmmyyyy') as visit_date from dual union all
11          select 0 as alog_mbr_no, to_date('15012007','ddmmyyyy') as visit_date from dual
12        )
13    select mbr, dt from
14     (select * from auditlog_tst
15       model
16        partition by (alog_mbr_no mbr)
17        dimension by (row_number() over (partition by alog_mbr_no order by visit_date) rn)
18        measures (visit_date dt)
19         rules (dt[any] order by rn = case when dt[CV()]-2 = dt[CV()-2] and dt[CV()-1] is not null
20                                           then null
21                                           else dt[CV()]
22                                      end,
23                dt[ANY] order by rn = case when dt[CV()+1] is present and dt[CV()+1] is null
24                                           then null
25                                           else dt[CV()]
26                                      end)
27     ) where dt is not null
28  /
       MBR DT
         0 01.01.2007
         0 04.01.2007
         0 10.01.2007
         0 15.01.2007
SQL> Looks simpler, isn't it?
Let's compare three solutions:
SQL> drop table auditlog_tst;
Table dropped
SQL> create table auditlog_tst (alog_mbr_no number(5), visit_date date);
Table created
SQL> set timing on;
SQL> select * from auditlog_tst;
ALOG_MBR_NO VISIT_DATE
Executed in 0,109 seconds
SQL> declare dt date:=trunc(sysdate);
  2  begin
  3   for i in 1..100000
  4   loop
  5    dt:=dt+trunc(2*dbms_random.value)+1;
  6    insert into auditlog_tst values (trunc(i/1000),dt);
  7   end loop;
  8  end;
  9  /
PL/SQL procedure successfully completed
Executed in 22,766 seconds
SQL> select count(1) from auditlog_tst;
  COUNT(1)
    100000
Executed in 0,11 seconds
SQL> exec dbms_stats.gather_table_stats(user,'auditlog_tst');
PL/SQL procedure successfully completed
Executed in 2,719 seconds
SQL> delete from plan_table;
0 rows deleted
Executed in 0,172 seconds
SQL> explain plan for select alog_mbr_no,
  2         to_char(dt, 'dd/MON/YYYY', 'NLS_DATE_LANGUAGE = AMERICAN') visit_date
  3    from (select v1.*,
  4                 count(1) over(partition by alog_mbr_no, grp, xyz) cnt,
  5                 case
  6                   when count(1) over(partition by alog_mbr_no, grp, xyz) = 3 then
  7                    min(visit_date) over(partition by alog_mbr_no, grp, xyz)
  8                   else
  9                    visit_date
10                 end dt
11            from (select alog_mbr_no,
12                         visit_date,
13                         grp,
14                         trunc((row_number()
15                                over(partition by alog_mbr_no,
16                                     grp order by visit_date) - 1) / 3) xyz
17                    from (select t.*,
18                                 visit_date + 1 - row_number() over(order by alog_mbr_no, visit_date) as grp
19                            from auditlog_tst t) v0) v1) v2
20   group by alog_mbr_no, dt
21  /
Explained
Executed in 0,031 seconds
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 2441421398
| Id  | Operation                | Name         | Rows  | Bytes |TempSpc| Cost (
|   0 | SELECT STATEMENT         |              |   101 |  1212 |       |  2351
|   1 |  HASH GROUP BY           |              |   101 |  1212 |       |  2351
|   2 |   VIEW                   |              |   100K|  1171K|       |  2337
|   3 |    WINDOW SORT           |              |   100K|  4003K|    10M|  2337
|   4 |     VIEW                 |              |   100K|  4003K|       |  1260
|   5 |      WINDOW SORT         |              |   100K|  2734K|  7864K|  1260
|   6 |       VIEW               |              |   100K|  2734K|       |   468
|   7 |        WINDOW SORT       |              |   100K|   976K|  3944K|   468
|   8 |         TABLE ACCESS FULL| AUDITLOG_TST |   100K|   976K|       |    53
15 rows selected
Executed in 0,141 seconds
SQL>  explain plan for select alog_mbr_no, visit_date
  2     from (select ttt.*,
  3                  lead(m) over(partition by alog_mbr_no, rn order by visit_date) lead_m
  4             from (select tt.*,
  5                          sum(s) over(partition by alog_mbr_no, rn order by visit_date) + 1 ss,
  6                          mod(sum(s) over(partition by alog_mbr_no,
  7                                   rn order by visit_date) + 1,
  8                              3) m
  9                     from (select t.*,
10                                  decode(visit_date - 1,
11                                         lag(visit_date)
12                                         over(partition by alog_mbr_no order by
13                                              visit_date),
14                                         1,
15                                         0) s,
16                                  visit_date - row_number() over(partition by alog_mbr_no order by visit_date) rn
17                             from auditlog_tst t) tt) ttt)
18    where m = 1
19       or (m = 2 and lead_m is null)
20  /
Explained
Executed in 0,032 seconds
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 774399910
| Id  | Operation               | Name         | Rows  | Bytes |TempSpc| Cost (%
|   0 | SELECT STATEMENT        |              |   100K|  4687K|       |  1335
|*  1 |  VIEW                   |              |   100K|  4687K|       |  1335
|   2 |   WINDOW BUFFER         |              |   100K|  4003K|       |  1335
|   3 |    VIEW                 |              |   100K|  4003K|       |  1335
|   4 |     WINDOW SORT         |              |   100K|  3027K|  8664K|  1335
|   5 |      VIEW               |              |   100K|  3027K|       |   468
|   6 |       WINDOW SORT       |              |   100K|   976K|  3944K|   468
|   7 |        TABLE ACCESS FULL| AUDITLOG_TST |   100K|   976K|       |    53
Predicate Information (identified by operation id):
   1 - filter("M"=1 OR "M"=2 AND "LEAD_M" IS NULL)
19 rows selected
Executed in 0,156 seconds
SQL> explain plan for   select mbr, dt from
  2     (select * from auditlog_tst
  3       model
  4        partition by (alog_mbr_no mbr)
  5        dimension by (row_number() over (partition by alog_mbr_no order by visit_date) rn)
  6        measures (visit_date dt)
  7         rules (dt[any] order by rn = case when dt[CV()]-2 = dt[CV()-2] and dt[CV()-1] is not null
  8                                           then null
  9                                           else dt[CV()]
10                                      end,
11                dt[ANY] order by rn = case when dt[CV()+1] is present and dt[CV()+1] is null
12                                           then null
13                                           else dt[CV()]
14                                      end)
15     ) where dt is not null
16  /
Explained
Executed in 0,016 seconds
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 1122788728
| Id  | Operation            | Name         | Rows  | Bytes |TempSpc| Cost (%CPU
|   0 | SELECT STATEMENT     |              |   100K|  2148K|       |   468   (4
|*  1 |  VIEW                |              |   100K|  2148K|       |   468   (4
|   2 |   SQL MODEL ORDERED  |              |   100K|   976K|       |   468   (4
|   3 |    WINDOW SORT       |              |   100K|   976K|  3944K|   468   (4
|   4 |     TABLE ACCESS FULL| AUDITLOG_TST |   100K|   976K|       |    53   (6
Predicate Information (identified by operation id):
   1 - filter("DT" IS NOT NULL)
16 rows selected
Executed in 0,125 seconds
SQL> No doubt that model gives best perfomance.

Similar Messages

  • Cross tab: Getting the count based on three consecutive dates

    Hi All,
    I have a crosstab which as Ticket_no and Date columns. here is the sample  report data.
            Ticket_no          Date
                  1                1-Jan-2013
                  1                2-Jan-2013
                  1                3-Jan-2013
                  2                1-Jan-2013
                  1                1-Jan-2013
    count of tickets which are raised for consecutive 3 days in a month. Here ticket_No 1 is raised for the first 3 days..so count will be 1. 
    Can any one help me in this case.
    Thanks in advance.
    Regards,
    Krishna

    Krishna, Bring Ticket_No as Dimension from universe,
    In web I, create a variable
    = Count([Ticket_No])

  • Consecutive dates count as one

    Hi ,
    I have a table which looks like this 
    str_ID       x_ID                 y_ID         Date_of_absence
    1527 218823433
    490705 2013-05-15 00:00:00
    1527 218823433
    490837 2013-05-17 00:00:00
    1527 218823433
    492239 2013-06-15 00:00:00
    1527 218823433
    493082 2013-07-04 00:00:00
    1527 218823433
    493147 2013-07-05 00:00:00
    1527 218823433
    493195 2013-07-06 00:00:00
    1527 218823433
    493227 2013-07-07 00:00:00
    1527 218823433
    493268 2013-07-08 00:00:00
    1527 218823433
    494776 2013-08-06 00:00:00
    1527 218823433
    494828 2013-08-07 00:00:00
    1527 218823433
    494905 2013-08-08 00:00:00
    1527 218823433
    495450 2013-08-17 00:00:00
    1527 218823433
    495485 2013-08-18 00:00:00
    As you can see there are 13 rows.
     But what i want to do is avoid 2 or three consecutive dates and count them as one which would result in different row count
    help please.

    E.g.
    DECLARE @Sample TABLE
    str_ID INT,
    x_ID INT,
    y_ID INT,
    Date_of_absence DATE
    INSERT INTO @Sample
    VALUES ( 1527, 218823433, 490705, '2013-05-15' ),
    ( 1527, 218823433, 490837, '2013-05-17' ),
    ( 1527, 218823433, 492239, '2013-06-15' ),
    ( 1527, 218823433, 493082, '2013-07-04' ),
    ( 1527, 218823433, 493147, '2013-07-05' ),
    ( 1527, 218823433, 493195, '2013-07-06' ),
    ( 1527, 218823433, 493227, '2013-07-07' ),
    ( 1527, 218823433, 493268, '2013-07-08' ),
    ( 1527, 218823433, 494776, '2013-08-06' ),
    ( 1527, 218823433, 494828, '2013-08-07' ),
    ( 1527, 218823433, 494905, '2013-08-08' ),
    ( 1527, 218823433, 495450, '2013-08-17' ),
    ( 1527, 218823433, 495485, '2013-08-18' );
    WITH Dates AS
    SELECT *,
    LAG(Date_of_absence, 1, '19000101') OVER ( ORDER BY Date_of_absence ) AS PrevDate,
    LEAD(Date_of_absence, 1, '20990101') OVER ( ORDER BY Date_of_absence ) AS NextDate
    FROM @Sample S
    Diffs AS
    SELECT *,
    DATEDIFF(DAY, PrevDate, Date_of_absence) AS DiffPrev,
    DATEDIFF(DAY, Date_of_absence, NextDate) AS DiffNext
    FROM Dates D
    GroupToggels AS
    SELECT *,
    CASE WHEN DiffNext != DiffPrev AND DiffPrev != 1 THEN 1 ELSE 0 END AS GroupToggle
    FROM Diffs D
    SELECT *,
    SUM(GroupToggle) OVER ( ORDER BY Date_of_absence ) AS GroupID
    FROM GroupToggels GT
    ORDER BY 4;
    When you don't have 2012+ then replace the LEAD and LAG by self-joins over ROW_NUMBER()+-1.

  • Creating a custom report by combining three already present reports

    Hello Gurus,
    I am into functional side of MM-WM and business wants to create a custom report for purchasing planning by combining 3 other reports alreayd present on the system. It combines Pending Delivery Report,  MRP_PO_RPT report and a query for scheduling agreements.
    They also want functionality to include ability to drill into report results and display the underlying Purchasing Documents.
    They have given the selection criteria fileds and outout fields.
    *NOW I KNOW THAT I will have to hand it over for developement (ABAPer) but I want to  know what things I an ABAPer would want to know from my side on this issue...Pleas let me know your suggestions.*It would be great help!!Thanks A lot,
    Kruti

    Hi,
    First of all you need to identify all the tables and data sources from all the three existing reports and then check whether it is feasible to combine evenrything to get the new report as per the business requirement. Second, since you are combining three reports in to one, i would say, check the data volume as it shouldnot impact the performance of the new report. Now check for the usual things, like the formats / data presentation etc. Hope this is helpful.
    Regards
    Sreekanth

  • Using an IF Statment to combine three columns

    Post Author: smcbride
    CA Forum: Data Connectivity and SQL
    I'm trying to combine three columns inorder to use the one column in a crosstab table.
    I'm trying to use an IF statment to do this but it's not working. can some one help me with this. this is the formula i used in access, but i'm not sure how to convert into a SQL stamtent. please helped.
    if ([field one]="", if ([field two]=0,[field three],[field two]), [field one])
    thanks,
    Sydney

    Post Author: smcbride
    CA Forum: Data Connectivity and SQL
    thank you, that seems closer then were i was before. i put this in the formula section and it's asking for a boolean around one of the values, what do i do with that?
    thanks,
    Sydney

  • How do I combine three itune accounts into one? Then have three different family member have three different log-in's to sync many different devices to the same itune account ?

    How do I combine three itune accounts into one? Then how do I set up three users for the one Itunes account on ONE Mac Pro Computer with one Itunes program? We are one family with 3 I-Phones, 2- I-Pads, 2- Lap tops and 3-I-Pods and would like to use one main computer to sync all our devices to.

    "How do I combine three itune accounts into one? "
    You cannot.
    "Then how do I set up three users for the one Itunes account on ONE Mac Pro Computer with one Itunes program?"
    You can copy all of the music to one computer and set up different users see:
    Learn how to set up additional user accounts.
    How to use multiple iPods, iPads, or iPhones with one computer

  • How to read a data file combining strings and data

    Hello,
    I'm having a data file combining strings and datas to read. I'm trying to read the filename, time, constants and comments into four seperate string indicators (the lines for the comments varies for different files). And read the data into a 2-D numeric array. How can I do this? Is there any function that can serch special characters in the spreadsheet file so I can exactly locate where I should start reading the specific data. The following is how the data file appears. Thank you very much.
    Best,
    Richard
    filename.dat
    14:59:00 12/31/2009
    Sample = 2451
    Frequency = 300, Wait time = 2500
    Temperature = 20
    some comments
    some comments
    some comments
    some comments
    some comments
    7.0000E+2    1.5810E-5
    7.0050E+2    1.5400E-5
    7.0100E+2    1.5500E-5
    7.0150E+2    1.5180E-5
    Message Edited by Richard1017 on 10-02-2009 03:10 PM
    Solved!
    Go to Solution.

    Hi,
         I'm fairly new to the NI forums too and I think you just have to wait longer.  Your post was done right.  I do a similiar function as to what you are talking about except I read in numbers from a file.  I create an ini file (just a notepad file of type *.ini) that is is set up with sections inside brackets [] and keys with whatever name followed by an = sign.  You may be able to use a *.dat file too, I just haven't.  Then the vi attached goes to that file and reads the keys from those sections.  You just repeat for the different sections and keys you want to read.  You can use similar provide VI's to write to that same file or create it.  Let me know how that works. 
    Attachments:
    Help1.ini ‏1 KB
    Help1.vi ‏10 KB

  • Formula variable to add three char. date value together?

    We've been struggling to use formula variable (Replacement Path), but never been sucessful!
    We have three row date type of char which are c1, c2, and c3.  Now users would like to see a summation of the three date char.  We believe we will have to use Replacement Path formula variable for each of the char., but somehow the formula variable always show "X" in column.
    Any idea?
    Thanks!

    Hello Kevin,
    you can not summ characteristics but only key figures.
    if you want to see the summ of a key figure for certain characteristic values you need a restricted key figure (with aggregation type sum) and a selection for your characteristic for the 3 values.
    regards
    Cornelia

  • Last three month data

    Hi,
    Requirement:
    Want to show last three months data dynamicaly based month value seleted in prompt. ex: When Septemper is selected report should show, Sep, Aug, Jul
    tried using ago function but i want to use three measure columns. So is there way using single measure column and achieving.
    Thanks,
    Satheesh

    Satheesh Kumar  wrote:
    Hi,
    Requirement:
    Want to show last three months data dynamicaly based month value seleted in prompt. ex: When Septemper is selected report should show, Sep, Aug, Jul
    tried using ago function but i want to use three measure columns. So is there way using single measure column and achieving.
    Thanks,
    SatheeshSatheesh, I have a question for you. It is the same as the comment left on the article in the link that @user gave you. Like that link -- which doesn't work for all scenarios, how are you accounting for say the month of January? Without a "year" included, you cannot always "subtract 3" to get "3 months ago." Does "month" always correspond to the current year?
    Finally, what are the values of the column the filter is to be applied? All these are important to know if you want help on this. Try again. Thanks.

  • I am getting an error message when I try to combine three PDF files"Your PDF conversion request fail

    I am getting an error message when I try to combine three PDF files "Your PDF conversion request failed. Try again later" 
    Thank you,
    Lori Jans

    Hi,
    Please let me know if your files are big. complex, or image files?
    If you sill have the same error message then please share your files with us so that we can look at them using below site: 
    https://adobeformscentral.com/?f=qJiclooYWGGNFtWfj8g3wg#
    Thank you.
    Hisami

  • How can I combine three completed projects with text & sound to make one single movie?

    How can I combine three completed imovie 09 projects (They all have text & sound) to make one single movie? Thank you for any help you can give.

    If they are three separate projects than you will have to export all three as video files. Then you can reimport them into a new event, join them together as if they are ordinary clips, and export that.

  • Why do I have to sign into iTunes (on my Mac) three consecutive times every time I open the app?

    Every time I launch iTunes on my Mac, it wants me to sign into my iTunes account. I get three consecutive dialogs asking for my password. The first two seem to be for "automatic downloads" and the third is "to use iTunes Radio". What can I do so that I don't have to sign in every time?

    Lion may have replaced files that partially made up your printer drivers. Either way, HP saw fit to make a new set of drivers specifically for 10.7 so you may want to use it simply to avoid any bugs tehy found.
    Get it here:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=bi-98095-2 &cc=us&dlc=en&lc=en&os=219&product=4083652&sw_lang=
    Hope I helped

  • To combine three tables

    Hi,
    I am Meena.
    I am doing a project using NetBeans and MS-Access.
    Now I need to combine three tables.
    I take all the values from table3 and check with table2,table1 and get the result.
    Can you tell me some lines about this?
    That will helpful me to develop the query?
    Thank you so much.
    Meena.

    Hi,
    Good morning,
    thank you so much for your reply.
    I am Meena.
    In my project I need to access three tables from MS-Access.
    I table contains Scode,Sname.
    II table contains Ecode,ename.
    III table contains Scode,Ecode,Score.
    Now I want Scode,Ecode,Score from third table,
    Sname from I table for only the Scode which are in III table,
    Ename from II table for only the Ecode which are in III table.
    I try the following.
    select * from Student-File INNER JOIN Student-Exam-File ON Student-File.student-code=Student-Exam-File.student-code INNER JOIN Exam-File ON Exam-File.exam-code=Student-Exam-File.exam-code";
    I got the error .
    Syntax error in FROM clause.
    will you please help me to solve this.
    Thank you,
    Regards,
    Meena.

  • BPS Layout - Combinations on transaction data issue

    <p>
    I've got a planning level with some characteristics (10) and one key figure (0QUANTITY). All the characteristics are restricted for one value in the level, except one, which is restricted by an exit variable for one or more values (depending from other parameters). Letu2019s call this characteristic 0MATERIAL.
    On this level Iu2019ve got two planning layouts: both have Material on the lead column and quantity on the data column (with all the other chars in the header): layout 1 displays all the possible combinations, while layout 2 displays only combinations from transaction data.
    This way I let the user select the material with layout 1 (writing on the quantity column), and with layout 2 I show him his selection (only the materials with quantity other than 0).
    </p>
    <p>
    Everything is working fine when Material is restricted for more than 1 value:  I can see the material number on layout 2 only if I set a quantity on layout 1.</p>
    <p>When material is restricted for only one value in my level (with my exit variable), both layout 1 & 2 show one record (with the material number and a u20180u2019 quantity); in deed Iu2019m expecting layout 2 (which shows only combinations from transaction data) to be empty.</p>
    <p>
    It seems like the system is adding a dummy record in my layout: it happens even if I delete all the data in my infocube.
    Does anyone know how to fix this and display layout 2 with no records?</p>
    Edited by: federico blarasin on Aug 10, 2010 5:06 PM

    Hello Marc,
    I'm sorry but it's not that easy
    There's no data in my cube (I deleted all the data requests in RSA1), there's no data in my planning buffer.
    If I change the selection in my level, adding another material (with the characteristic restricted for two values), everything works fine:
    -layout 1 shows 2 rows (with quantity = 0);
    -layout 2 shows 0 row (there's no data, layout is blank).
    If in my level I restrict the material for only 1 value, it will result in both layouts showing 1 row, with 0 quantity.
    I tried to reproduce the issue, building a dummy level with some chars and a key figure. Every char is restricted for only one value, except one char (on the lead column in the layout) which is restricted for two or more values: everything works fine.
    But if I restrict the lead char for 1 only value, the layout supposed to show the transactional data shows me a dummy record (it's not blank).
    Edited by: federico blarasin on Aug 12, 2010 3:27 PM

  • SAP CATM time transfers error message "please enter consecutive dates"

    we have just implememted CATM as part of our contractor time entry process. we are currently running the CATM job weekly, however we keep recieveing the following error message on various contractors time entry transfers
    "please enter consecutive dates 1 2 3 4&5&6&7&8"
    this appears to be due to the fact the contractors may not work consecutive days with the weekly parameter that the CATM job was ran for.
    ie the job is ran on the friday for the current week
    perhaps the employee didnt work on the wednesday and as such had 0hrs on that day.
    in order to process that CATM transfer we have to run it for the first 2 days of the week and then the last 2 days.
    is there a solution around this that i cant seem to find. it seems absurd that i need to run it mannually for every single day everytime that i run it.
    CATM should accept the date range and just process any time transfer within that range.
    has anyone else encountered this error and if so how did you process it?

    there is no message number, CATM is a horribly lacking transaction to use. i cant get any additional information from the F1 transaction. unfortunatly MM & HR are not my strong suits.

Maybe you are looking for