PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02/14/2014 11:31 PM by  Sameera
Action Request History Details
 6 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Sameera
Consultant
Next
Advanced Member
(70 points)
Advanced Member
Posts:30


Send Message:

--
02/11/2014 8:18 AM
    What are the database tables which need to refer to view the history details of a action request ?

    (Eg - Need to view the history details of Transfers, including previous values & New values)

    Thanks
    Sameera
    Woozy
    Private
    Private
    Veteran Member
    (3469 points)
    Veteran Member
    Posts:701


    Send Message:

    --
    02/11/2014 12:46 PM
    Hi Sameera,

    Table PERSACTHST holds Personnel Action History, and HRHISTORY holds the actual field updates. If you join HRHISTORY.ACT_OBJ_ID to PERSACTHST.OBJ_ID you can see the fields that were updated by a specific personnel action.

    Joining these two tables will only show you the "new" values of the fields updated by the action. If you need the old values (and values that were updated without using a personnel action), you'll have to look at HRHISTORY and find the latest-updated value prior to the action.

    By the way, PADICT holds the field number to field name mapping.

    Good luck.
    Kelly Meade
    J. R. Simplot Company
    Boise, ID
    Dave Curtis
    HRIS Lead
    University of Maryland Medical System
    Veteran Member
    (292 points)
    Veteran Member
    Posts:102


    Send Message:

    --
    02/12/2014 2:54 PM
    If you have access to use SQL you can do a query like this to create a report that has the new value and previous value;

    SELECT hs.company
    ,hs.employee
    ,hs.obj_id
    ,hs.fld_nbr
    ,pd.item_name
    ,pac.action_code
    ,pac.reason_01
    ,hs.beg_date
    ,hs.seq_nbr
    ,hs.n_value
    ,LAG(hs.n_value,1) OVER (PARTITION BY hs.employee
    ORDER BY hs.employee
    ,hs.beg_date
    ,hs.date_stamp
    ,hs.seq_nbr) as previous_n_value
    ,hs.a_value
    ,LAG(hs.a_value,1) OVER (PARTITION BY hs.employee
    ORDER BY hs.employee
    ,hs.beg_date
    ,hs.date_stamp
    ,hs.seq_nbr) as previous_a_value
    ,hs.d_value
    ,LAG(hs.d_value,1) OVER (PARTITION BY hs.employee
    ORDER BY hs.employee
    ,hs.beg_date
    ,hs.date_stamp
    ,hs.seq_nbr) as previous_d_value
    ,hs.act_obj_id
    ,hs.date_stamp
    ,hs.time_stamp
    ,hs.data_type
    ,hs.pos_level
    FROM hrhistory hs
    LEFT OUTER JOIN persacthst pac ON (hs.act_obj_id = pac.obj_id and hs.employee = pac.employee)
    JOIN (SELECT * FROM padict WHERE topic LIKE 'E%') pd ON (hs.fld_nbr = pd.fld_nbr)
    WHERE hs.employee <> 0



    This pulls from the HRHISTORY table, all the values stored for employee.  It links the PERSACTHST to pull in the action information and PADICT for the field name.  For the PADICT table I restricted the fields to the ones with a topic E1, E2 etc.

    Margie Gyurisin
    Private
    Private
    Veteran Member
    (1275 points)
    Veteran Member
    Posts:473


    Send Message:

    --
    02/12/2014 3:48 PM
    If you are looking in S3, You may be able to get the data you need via PA340, HR65 (HR170), PA105 or HR105.
    Sameera
    Consultant
    Next
    Advanced Member
    (70 points)
    Advanced Member
    Posts:30


    Send Message:

    --
    02/14/2014 8:19 AM
    Hi All

    Thanks a lot for the feedbacks. We are using ITM 10.2 version and didn't able to find the metioned tables except 'employee', Is this a issue with the ITM version ?
    JackB
    Principal Consultant
    Velocity Technology Solutions Inc
    Basic Member
    (19 points)
    Basic Member
    Posts:9


    Send Message:

    --
    02/14/2014 7:26 PM
    In LTM version 10, you'd go to:

    Start ==> data ==> la ==> Business Class ==> ActionRequest
    to find all request. Then you can do:
    Option ==> Export to csv
    or
    Option ==> Print to file


    You might also want to go to:

    Start ==> Data ==> ASYNC ==> Business Class ==> AsyncActionRequest


    Is this the information you were looking for?


    Regards
    Sameera
    Consultant
    Next
    Advanced Member
    (70 points)
    Advanced Member
    Posts:30


    Send Message:

    --
    02/14/2014 11:31 PM
    Hi Jack

    Thanks a lot for the support. Yes this is what I was looking for

    Thanks
    Sameera
    You are not authorized to post a reply.