Skip to main content
Question

Access employees Gender

  • September 1, 2021
  • 2 replies
  • 85 views

Forum|alt.badge.img+10
  • Hero (Customer)
  • 94 replies

Hi Hereos,

I have a lobby that gives gender count/percentage but not necessarily who the gender belongs to.…

Is there is a way to use access attributes to allow everyone access to gender without access to employees file?

Much appreciate any suggestion

 

This topic has been closed for comments

2 replies

Asela Munasinghe
Superhero (Customer)
Forum|alt.badge.img+21

@NMALKI perhaps you could anonymize some of the sensitive attributes like Employee ID, SSN, etc in the employee file, but can keep Gender visible through a GDPR setup?

Learn more about how IFS supports GDPR from here:
 

https://community.ifs.com/ifs-application-overviews-demos-191/ifs-apps-10-ifs-how-to-support-gdpr-overview-and-demo-presentation-3863

 


william.klotz
Superhero (Customer)
Forum|alt.badge.img+21
  • Superhero (Customer)
  • 479 replies
  • September 1, 2021

Hi @NMALKI ,

 

If you’re developing a lobby component to display a gender count and gender percentages if you’re using IFS Enterprise Explorer I believe you could give users query only access to database view COMPANY_PERSON which would allow you retrieve employee genders and filter by employee status of Active.  

 

A lobby data source setup something like this would provide you with the genders of active employees.

View:   

         &AO.COMPANY_PERSON

 

Condition:

COMPANY_ID LIKE DECODE(instr(‘$COMPANY_ID$’, ‘COMPANY_ID’), 0, NVL(‘$COMPANY_ID$’, ‘%’), ‘%’)

AND GENDER IS NOT NULL

AND EMPLOYEE_STATUS=’ACTIVE’

 

Group By: 

        GENDER

 

Columns:

        GENDER

         ROUND(COUNT(*)*100.0 / SUM(COUNT(*)) over(), 0)

 

SQL QUERY                

SELECT gender,
       ROUND(COUNT(*)*100.0 / SUM(COUNT(*)) over(), 0)
  FROM COMPANY_PERSON
 WHERE company_id = 'Your Company ID'
   AND employee_status = 'ACTIVE'
GROUP BY gender

 

Regards,

William Klotz


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings