Attendance system

Hi Friends,
I am practicing apex (im just a beginner) :)
I am making an attendace system.
Say I have a page with botton (in) and (out)
Each employee will be given a userid in apex and the sytem will capture the userid and sysdate and the
time in/out button.
My question is, how do I construct my table? to have a good data design.
Is it this one:
Emp_Attendance1
userid varchar2(30)
in       date
out    dateor this one:
Emp_Attendace2
userid varchar2(30)
login_type number(1)  value 1 or 2  => as (in out)
timestamp dateOr is there a pre-created sample apps for employee attendance system available here?
Or can you share me your design too :D
Thanks a lot

Hi,
If you want to track everytime the user logs in,you can use the table
Attendance
Username varchar2(50)
login_time date
and
select distinct trunc(login_time) from attendance where username = lower(:app_user)
will allow the user to see his attendance.
Thanks,
Anandi.

Similar Messages

  • Third Party Attendance System Integration with Oracle Payroll

    Hi,
    How to integrate Third Party Attendance System like Bio-Metric System with Oracle Payroll. Please help me in this regard.
    Thanks in Advance,

    user644268,
    Depends on your exact requirements whether this attendance system is for the absense capture or work time logging. You need to be specific when putting up a scenario.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                               

  • CAN I USE JAVA CARD TECHNOLOGY TO BUILD BIOMETRIC COLLEGE ATTENDANCE SYSTEM

    HELLO everybody,
    I am new in Java card technology.Please any one can guide me.Can i use Java Card Technology to build biometrics college attendance system.If i can so which device should i need to buy or eBooks..
    PLEASE I NEED HELP..
    Thanks for your time ..
    I am looking forward to hearing from everyone..
    Thanks
    Durjan Hussain
    SCJP1.4,SCWCD

    Thanks AlexRashevsky for your good comments,
    I want to build Student Biometrics Attendance system.I want to use biometrics reader.Please i need guide for which biometrics device can i use to build the system.If you can give me your contact number that could be great with country code.Because i am doing this Project for my M.Sc dissertation and also for real client.
    I am looking forward to hear from you.
    Thanks.

  • Employee attendance system

    hello all,
    what are the requirements for creating a employee attendance tracking system
    what are all the tables colums i want to create for the same

    HI user13792460
    FOR DATA BASE Side u can use intially
    --======================
      FOR DATA BASE
    --===========
    CREATE TABLE DEPT
    ( DEPTNO NUMBER(3),
    DNAME VARCHAR2(35) NOT NULL ,
    LOC VARCHAR2(17),
    CONSTRAINT PK_DEPT PRIMARY KEY ( DEPTNO ) );
    --==================================
    CREATE TABLE EMP
    ( EMPNO NUMBER(5) ,
    ENAME VARCHAR2(39)NOT NULL,
    JOB VARCHAR2(9),
    DEPTNO NUMBER(3),
    CONSTRAINT PK_EMP PRIMARY KEY ( EMPNO ) ,
    CONSTRAINT FK_DEPT FOREIGN KEY ( DEPTNO )   
    REFERENCES DEPT( DEPTNO )
    --=================================
    CREATE TABLE EMP_ATTENDANCE
    ( ATTEND_ID NUMBER(5) ,
    ATT_DATE DATE,
    TIME_IN  DATE,
    TIME_OUT  DATE,
    ATTENDANCE_FLAG  CHAR(1),
    PERMISSION_FLAG  CHAR(1),
    MISSION_FLAG     CHAR(1),
    HOLIDAY_FLAG      CHAR(1),
    EMPNO NUMBER(5) ,
    DEPTNO NUMBER(3),
    CONSTRAINT PK_ATTEND_ID PRIMARY KEY ( ATTEND_ID) ,
    CONSTRAINT FK_EMP_ATTEND FOREIGN KEY ( EMPNO )   
    REFERENCES EMP( EMPNO ),
    CONSTRAINT FK_DEPT_ATTEND FOREIGN KEY ( DEPTNO )   
    REFERENCES DEPT( DEPTNO )
    --==================================Viewing Information about constraints
    To see information about constraints, you can query the following data dictionary tables.
    --==================================
    SELECT * FROM  user_constraints;
    SELECT * FROM  user_cons_columns;
    --==================================
    Hope this helps u...
    Regards,
    Abdetu...

  • Emp Attendance system - Forms

    Hello all,
    In the Oracle form I want to display the following.
    Employee's total log in time every single seconds dynamically for the day
    just like a time watch.

    Hi,
    This Question Should be raised in a separate forum. This Forum is meant for PL/SQL.
    Try this question here
    Forms

  • TAS(Terminal Automation System) interface with SAP

    Hi All,
    kindly suggest procedure to establish the interface between the TAS(terminal Automation System) and SAP in SAP SD delivery processing.
    i am furnishing details below
    terminal Automation System is third party software(legacy) which is used in loading of Hydrocarbons in Truck Tanker,it will capture the details like
    material
    product code
    product quantity
    we require the loaded quantity which is  loaded into Truck tanker using the TAS(terminal Automation System) as picked quantity in SAP SD delivery process automatically.
    thanks in Advance

    Hi Sathya,
    Once, we had a similar requirement.
    To get attendance system records into SAP only for reporting purposes, we defined a Z-table.
    Then we transferred the data from the attendance system database table into respective SAP Z-table via some RFC calls (we tied these RFCs to job so that they were executed every day).
    Then we made the reporting on this Z-table accordingly.
    Nothing in time management infotypes changed.
    Regards,
    Dilek

  • OAB interfcaing with Oracle Payroll and Third party Payroll Systems

    Hi,
    I would like to know the things to take care when OAB interface with a third party Payroll(esp. ADP Payroll).
    I know that the deductions are sent using the Benefit Elements which in turn connected with Rates for options/plans.
    My questions are related to
    1. How OAb would be able to get information like How many pay periods are pending(For calculating deductions for plans like FSA)
    and
    2. How the reconciliation work between OAB and the third party system(Like ADP Payforce)
    Appreciate if you can share some thoughts
    thanks
    Anil Krishnan

    user644268,
    Depends on your exact requirements whether this attendance system is for the absense capture or work time logging. You need to be specific when putting up a scenario.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                               

  • How to filter IN and OUT punch timings for Attendance in Day and Night shifts in oracle SP?

    I am developing Attendance system which having day and night shift I am unable to filter the IN and OUT punches of the employees? below is my current logic
    shift timings on 29-Jun-2013 IN 22:00 OUT 07:00 and on 30-Jun-2013 IN 15:00 OUT 22:30
    I am filtering the IN and OUT punches based on shift timings and swipe time along with date, but when the employee changing from night shift to day shift I am getting problem.
    the below is the one scenario
    the employee : 101 has worked on 29-Jun-2013 on night shift punched at 22:00 and he left at next day means 30-Jun-2013 07:00 AM and again the same day (30-Jun-2013) he came to office at 15:00 on 30-Jun-2013 and he left at 22:30 on the same day now if the punches will come daily then there is no problem, however due to any problem punches are not received for 30-Jun-2013 07:00 AM then the punches IN 15:00 OUT 22:30 on 30-jun-2013 already in database now the out punch of 29-Jun-2013 is 30-Jun-2013 at 07:00 AM it is difficult to find this as previous day out punch
    Note: some times the employees forgot to swipe IN/OUT punch
    so if any body have solution please update

    Like
    Employee ID
    Date
    Time
    PunchType
    Comments
    101
    29-Jun-13
    22:00
    IN
    101
    30-Jun-13
    7:00
    OUT
    If this row is not there & next row is with IN flag, the email should be triggered to employee
    101
    30-Jun-13
    15:00
    IN
    101
    30-Jun-13
    22:00
    OUT
    I have another scenario for you -
    Employee ID
    Date
    Time
    PunchType
    Comments
    101
    29-Jun-13
    22:00
    IN
    101
    30-Jun-13
    7:00
    OUT
    101
    30-Jun-13
    11:30
    IN
    how do you know it is not the continuation of 29-Jun shift? I believe you might have to define a rule here that if a person swipes IN say in n(4.5 in this case) hrs gap, it would be considered as Next Day
    101
    30-Jun-13
    22:00
    OUT
    Regards,

  • Attendance Configuration

    We are using Time Management (+ve time) where system reads the time in and out of course.
    1. Now what we want to configure that when an employee does not mark attendance system should mark casual or earned leave automatically.
    2. We also want that when for example an employee came late and mark attendance, system should mark half day leave automatically after reading his/her arrival time.
    Kindly suggest if this possible and what are the configuration systems.

    Hi Raju,
    For customizing attendance types via IMG;
    Time management ->Time Data Recording and Administration ->Attendances/Actual Working Times(you will have to define your attendances and also all the necesary configurations here)
    I hope this helps you!
    Feel free to revert incase of any clarifications further.
    Plz reward accordingly.
    Nice Day!
    S R

  • Default Absence/Attendance typeshould appear when the CAT2 screen is called

    Hi,
    I want Default Absence/Attendance typeshould appear when the CAT2 screen is called, we did all necessary settings
    in TCODE CAC1, assign default Attendance type but still it wont appear in CAT2 screen.
    With regards
    Vikrant

    Hi
    Thankls for reply
    is there any other way we call absence /Atten type default in CAT2 with out entering time .
    I want this on ESS, when employee forget ot mark his attendance,  system will consider default absent type unauthorisd and it will consider absent for that employee.
    Regards
    Vikrant
    Edited by: Vikrant Patil on Sep 10, 2010 10:39 AM

  • Multiple entries in TEVEN for one time event created by HR-PDC

    Hi experts,
    we have a SAP certified time attendance system connected to our ERP 6.0 system by HR-PDC interface.
    Now it happens from time to time that exactly one time event causes multiple entries in SAP table TEVEN and therefore is shown in the check report PT40.
    The number of duplicate records is always different - up to about 140 entries for one and the same time event in the worst case.
    Except the field PDSNR all the other fields contain exactly the same values.
    I have checkt many of the problematic bookings and I have always just one correct time event in the source application and there is only one data record in the corresponding IDOC too.
    Also the number of transferred records shown in the protocol spool of the report SAPCDT45 is correct and identical to the number of records in the IDOC.
    The first place where I can identify the problem with the duplicate records is the table TEVEN.
    No records are left in the interface table CC1TEV.
    I have seen that within one block of identical time bookings in TEVEN the field PDSNR ist not numbered in one sequence but there are gaps in between that are used for any other entries.
    As I can see in historical entries of TEVEN the problem exists already for years so it does not seem to be in direct connection with the latest support pack or something like that.
    The relevant jobs run every 15 minutes whereby SAPCDT45 is started 5 minutes after RPTCC106.
    Has anyone else experienced this strange behaviour or knows what I could further investigate?
    Many thanks for your replies in advance and best regards
    Günter

    Hi Carlos,
    thanks for your fast reply.
    It seems that an entry for Status A00 or A05 would solve my problems and of course I will try to handle it by this view.
    But do you know whether there is any possibility to find out how it comes to these repeated postings?
    I do not know whether the repeated postings happen in the same package (IDOC) or in an earlier package and to be honest I do not think that the record comes from the source application a second time because there I could find only one record that seems to be correct.
    I also cannot understand how it comes that I have even 140 "identical" entries for one time event.
    Could you please let me know your thoughts about that?
    Anyway I thank you for offering a solution - even if I do not understand the reason for the pborlem.
    Thanks and best regards
    Günter

  • BUDAT and TPARTDOCNO field is not updating in HRPAD25 table

    Hi,
    I am  facing one weird issue where in HRPAD25 table field BUDAT and TPARTDOCNO is not updating for corresponding ADATNR of HRP1001 table.
    Due to this when I am doing course follow -upi(marking attendance) system is throwing an error.
    Kindly help ,why this is happening
    Regards,
    Sadaf

    Hi Sadaf
    Are you using the LSO transactions to book the person on the course ?
    Please do not use TEM transactions i.e. PSV1, PVCT etc. for trainings.
    Pl refer
    Follow Up Course - Dump - ERP Human Capital Management - SCN Wiki
    Regards
    Chetan Bajaj

  • What are reasons to generate work schedules-not using SAP payroll or TM?

    We have SAP ECC 6 HR and only pass a work schedule rule to our proprietory payroll system and have our own time and attendance system.  The extent of our TM in SAP is just to have work schedules to attach to positions IT1011 and IT0007 on the employees.  We are a very large 24/7 organization and have nearly 20,000 work schedules in use.  It the past we have generated them out for 3 years and regenerate them as the come close to expiring.
    My question is - what are some basic reasons for generating a work schedule?  In our implementation I can't seem to find out why we need to continue doing it.  We are able to attach an ungenerated work schedule to a position and a person.
    Thanks in advance for any insight.

    Generally the reasons why you would have a works schedule is for leave deduction, and possibly accruals, and also for automatic generation of overtime and shift penalties, public holidays.  It could also further link into separate systems for payment purposes, or for attendance checks (i.e. EHS, rostering, training & event mgt, Sales & Distribution).
    However, if your rostering/award interpretation is being handled in a separate system, and this information is being passed to a separate payroll system, then it would seem redundant to have work schedules in SAP.

  • Use of bar code value in apex

    Hi experts,
    I am building an employee attendance system in apex.
    When an employee enters or leave the office, the bar code reader captures the value (i.e employee id) based on the bar code sticker on employee i-card. So after getting the employee id, I want that value in first item on apex form.
    Based on this value a function/procedure should be called which stores employee details (e.g. name, date, time etc) into the table without any manual interaction. Also the value of item should be null/clear after entry in table.
    I tried it using windows hooks, but it is not working properly. (e.g. It doesn't fetch the value when computer is locked.)
    Is it possible to fetch the value ( employee id) directly into the form item and at the same time insert the values in the database based on the employee id...???
    This is just an general overview of how it want to be work. Please provide your valuable suggestions for any other way to implement the same.
    Thanks in advance
    Chetan

    I assume you are just using a generic bar code reader that effectivly acts like a keyboard typing the relevant bar code value?
    I really don't think APEX is the right environment to be doing this sort of thing in.
    Unless I've misunderstood the hardware you are using though I really think you are going to struggle getting enything to happen when the machine is locked...

  • Scrollpane to applet size urgent!!!

    Hi,
    I have 2 issues in my project.
    1. I want JScrollPane container in my applet to take the size of applet.
    2. I want applet to take the size of browser.
    Applet might be run on different computers with different resolutions. So, I want the applet to adjust its size to the browser and the scrollpane to adjust its size to the size of applet.
    Please help me in resolving this problem. as my project is looking ugly without the above features.
    Thanks in advance.
    with regards,
    Dawood.

    851102 wrote:
    I have 2 days to complete the applet.That is not our concern.
    I have an attendance system application.Is that even relevant?
    I've heard that its not a big-complicated job to convert it to an applet.Heard where? Not that it is not correct - but you should probably ask the person who told you for more information.
    But I dunno how to do it.I just need a few guidelines.Google ( [url http://www.google.com/search?q=convert+swing+application+to+a+applet]convert swing application to a applet ).

Maybe you are looking for

  • All plist files are not being pushed out

    Current setup : 10.6 Server ( updated to 10.6.8 ) About 10 to 15 client machines ( 10 Desktops and 5 laptops ) These client machines are being managed in a group already for Software Updates from the server and hence already have the managed preferen

  • SAP FI CERTIFICATION

    Hi, I am based in Dubai and planning to take SAP FI certification. Earlier the requirement was to Hold a resident Visa of Dubai we can register for the exam. But recently there has been some amendment in the rules. We have to meet  one of the followi

  • Flash Video Preview Image or Poster Frame

    is there a param name expression i can use to set my preview image of my flash video in Dreamweaver? I have used other people players and i was able to do this by going: <param name="image" value="preview.jpg" /> Not much you cant tweak with this fla

  • Sum of running times in spreadsheet

    I am trying to figure out if times for a runner can be calculated and averaged in Pages? Any suggestions since I am new to Pages. Thanks!

  • HT5312 how do you disable cookies

    How do you disable cookies in Safari?