Time Cards / Time Sheets show a Duplicate Entry Error when ApprovedIssue When users are Approving Time Cards/Time Sheets, they are receiving a Unique Key Violation detected by database() Duplicate Entry error.ResolutionThis was happening due to the customization of the Parent field on the Task table.The Reference Specification was using Incident when it should be Task.To fix this, follow the steps below.NEXT STEPS:1. Navigate to System Definition > Dictionary2. In the Table column search for "task" and for the Column Name, search for "parent". Go to the record3. On the Reference Specification tab, change the Reference field from "Incident" to "Task" (task table)4. Save the form