Oracle Transactional Business Intelligence

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Workforce Management - Worker Assignment Real Time: pulling Active and inactive assignment statuses

Received Response
42
Views
6
Comments
Rama123-Oracle
Rama123-Oracle Rank 2 - Community Beginner

How to get the current assignment status of worker using "Workforce Management - Worker Assignment Real Time" , it is showing both inactive and active assignment statuses of active worker as of today(especially in case of global transfer).. attached cataglog and excel with sample data..

if we filter using inactive status, it won't pull active employees code..

Please suggest.

Answers

  • gclampitt
    gclampitt Rank 6 - Analytics Lead

    Can't you just add a filter : Assignment Status = Active - Payroll Eligible
    then will just pick the current record and not the previous one that is now inactive?

  • Rama123-Oracle
    Rama123-Oracle Rank 2 - Community Beginner

    no, we wanted to get the all employees current assignment statuses - for few employees, the current status is inactive..

  • gclampitt
    gclampitt Rank 6 - Analytics Lead

    Yep mandeeps solution works.

    Can also use a subquery to achive the same:
    Create a report whch will be used as a subquery report which returns the person number and max(assignment number). - so that will return "E1-2"

    Then in you main report add a filter on assignment number and reference the Max assignment number in the subquery report.
    Main Report Filter : Assignment number = Max(assignment number) from SQ report

  • Nathan CCC
    Nathan CCC Rank 7 - Analytics Coach

    Hi Rama,

    1. "How to get the current assignment status of worker"?

    It is already getting all the "current" assignments. To get the current assignments you need to do nothing.

    If you view log you will see this subject area default is the effective as at today. So unless you have changed the session variable you are already getting the latest version in any one day of all all the current work assignments effective as at today. Your historic work assignments with effective end dates in the past are already filtered out. If you are getting assignments with status type INACTIVE then that is because they are in fact "Current" because their effective end date is in the future.

    2."if we filter using inactive status, it won't pull active"?

    I think you are mistaken. not sure why you said that. I think you will find that if you filter where status type <> INACTIVE, SUSPENDED then it WILL get the ACTIVE assignments.

  • gclampitt
    gclampitt Rank 6 - Analytics Lead
    edited January 24

    Nathan
    re: Effective dates - this is the issue with Global transfers - the old pre-transfer record is still active (end date 31/12/4712) - which is why both records then get returned - they are both "current" so nothing to do with changing the session variable etc.
    Oracle provide the GT functionality but we've had so many issues with processes over the last few years which just don't work with GTs.

    re : Active - I think rama said he cant filter on Active becauses there are some people who are inactive that he needs to return.