Symptom
Condition Employee Time Sheet Entry.Time Type returns null value in Rule Trace. Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Employee Central – Time Sheet
Reproducing the Issue
1. Create a business rule for object Employee Time Sheet Entry, use condition Employee Time Sheet Entry.Time Type to check attendance time type.
2. Assign new Validate rule to object Employee Time Sheet Entry.
3. Create a new attendance in timesheet, check Rule Trace, Employee Time Sheet Entry.Time Type returned Null value.
Retrieved 'EmployeeTimeSheetEntry.timeType'. Value: 'null'. Duration: 16 microseconds.
Cause
This is expected behavior as timeType field in object Employee Time Sheet Entry is transient. Therefore, field value is generated at runtime and not stored in the database. Hence, business rule cannot retrieve it.
Resolution
Please use Employee Time Sheet Entry.Employee Time.Time Type to retrieve Time Type of attendance.
See Also
Keywords
Employee Time Sheet Entry, Time Type, Validate Rule, Null, timesheet validation rule , KBA , LOD-SF-EC-TMS , Time Sheet , Problem