SAP Knowledge Base Article - Public

3619942 - Rule function getNumberOfAllowancesInPeriod and hasAllowanceInPeriod fetching incorrect data

Symptom

Business rule function “Get Number of Allowances in Period()” and function ”Has Allowances in Period()” fetched incorrect data when they're triggered in a Monthly time sheet.

Environment

  • SAP SuccessFactors Employee Central - Time Sheet
  • SAP SuccessFactors Time Tracking

Reproducing the Issue

  1. Create a time sheet validation rule to trigger an error when recording attendance and no allowance exists for the same day.
  2. In a monthly time sheet, create an allowance on June 10.
  3. Create an attendance on June 12, but no error is triggered.
  4. Check the rule trace and notice that the function is wrongly retrieving allowance value from June 10.

Cause

This is a code issue. 

Business rule function ”Get Number of Allowances in Period()“ and function ”Has Allowances in Period()“ ignored the start date and end date parameter when they're triggered in a Monthly time sheet.

Resolution

The issue will be fixed on July 17.

See Also

Keywords

getNumberOfAllowancesInPeriod, Allowance, time sheet, tms, monthly time sheet, business rule, allowances, timesheet validation rule, validate, flexible time sheet , KBA , LOD-SF-EC-TMS , Time Sheet , LOD-SF-TTR-TMS , Time Sheet , Known Error

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors Time Tracking all versions