Skip to main content
Solved

Present Employees

  • February 9, 2022
  • 2 replies
  • 142 views

Forum|alt.badge.img+9

Hi,

In what way do the employee need to clock in to reach the Present Status = Business Travel ?

I tried to do a clocking with Trans Type = In Travel but that only generate Presence Status = Clocked In

Regards,

Karolina

Best answer by Anjaleen Davidson

Hi Karolina @AddKarolA ,

 

Seems like by changing only the Trans Type cannot get Presence Status as ‘Business Travel’. I also tried couple of combinations even with Wage codes but ‘Presence Status’ gets values ‘Absence’, ‘Clocked In’ or ‘Clocked Out’. Therefore I’ve checked the relevant method behind this process  Time_Pers_Diary_Clock_Util_API.Get_Presence_Status. 

According to the code structure it searches in several tables using employee_no and company_id. This method returns only one of these values ‘A’, ‘R’, ‘I’ or ‘O’ respectively denotes ‘Absence’, ‘Requested Absence’, ‘Clocked In’ and ‘Clocked Out’. So the other two options ‘B’ and ‘T’ respectively ‘Business Travel’ and ‘Training’ are not considered in this method. This denotes through manual changes Presence Status ‘B’ or ‘T’ cannot be achieved. I believe there could be other system processes involved.

Hope this info is useful.

 

Best Regards,

Anjaleen

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

Forum|alt.badge.img+6

Hi Karolina @AddKarolA ,

 

Seems like by changing only the Trans Type cannot get Presence Status as ‘Business Travel’. I also tried couple of combinations even with Wage codes but ‘Presence Status’ gets values ‘Absence’, ‘Clocked In’ or ‘Clocked Out’. Therefore I’ve checked the relevant method behind this process  Time_Pers_Diary_Clock_Util_API.Get_Presence_Status. 

According to the code structure it searches in several tables using employee_no and company_id. This method returns only one of these values ‘A’, ‘R’, ‘I’ or ‘O’ respectively denotes ‘Absence’, ‘Requested Absence’, ‘Clocked In’ and ‘Clocked Out’. So the other two options ‘B’ and ‘T’ respectively ‘Business Travel’ and ‘Training’ are not considered in this method. This denotes through manual changes Presence Status ‘B’ or ‘T’ cannot be achieved. I believe there could be other system processes involved.

Hope this info is useful.

 

Best Regards,

Anjaleen


Forum|alt.badge.img+9
  • Author
  • Hero (Partner)
  • 91 replies
  • February 14, 2022

Hi Anjaleen,

Thanks for your reply!

I also tried to do a Travel Request and connected an absence to that request, but in Present Employees the status was Absence (not Business Travel). 

I also planned a training for one employee and also confirmed the employee on the training, but I could not get status “Training” in Present Employees.  

So it´s a mystery were these status ‘B’ and ‘T’ comes from…

Regards,

Karolina  


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