SAP Knowledge Base Article - Preview

3360508 - Error "Invalid policy key: yyyy-mm-dd.SCHEDULE_TEMPLATE(<POLICY_NAME>)"

Symptom

An application error occurs on a time sheet, in the batch job log for Lock and Calculate, or when navigating to the Assign Schedule Templates screen. The error refers to a missing schedule template. For example:

Caused by: com.workforcesoftware.Policy.PolicyLookupInvalidForeignKey: Invalid policy key: 2015-06-28.SCHEDULE_TEMPLATE(SAMPLE_TEMPLATE:null)
    at com.workforcesoftware.Gen.Policy.Schedule_template.<init>(Schedule_template.java:854)
    at com.workforcesoftware.Gen.Policy.AllPoliciesBase.getSchedule_template(AllPoliciesBase.java:11066)
    at com.workforcesoftware.scheduleCycles.ScheduleAssignment$1.handle_SCHEDULE_TEMPLATE(ScheduleAssignment.java:404)
    at com.workforcesoftware.scheduleCycles.ScheduleAssignment$1.handle_SCHEDULE_TEMPLATE(ScheduleAs


)""> Read more...

Environment

SAP Time and Attendance Management by WorkForce Software (All versions)

Product

SAP Time and Attendance Management by WorkForce Software all versions

Keywords

KBA , XX-PART-WFR-TAM , SAP Time and Attendance Management by Workforce Software , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.