-
Type: Bug
-
Status: In Development
-
Priority: Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Environment:Stage
-
Bug Severity:Low
-
Module:BenAdmin - EDS
-
Reported by:Harbinger
-
Item State:Development - On Hold
-
Code Reviewed By:Swapnil Pandhare
Steps to reproduced :
1]Added Paycheck line item valued on format paycheck page.
2]Import Paycheck information.
3]GO the format paycheck page and try to delete one of line item instead of showing valid message it is throwing server error
below is error log:
ErrorID : 0
ErrorSource : ControllerAppTier.Delete->BenAdminControllerAppTier.Delete->EmployeeViewPaycheck.deleteFormatPaycheck
ErrorMessage: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_Employee_Paycheck_History_LiineItemID". The conflict occurred in database "LONGBuildingTechnologies_HSPL_12790", table "dbo.PaycheckLineItems", column 'ID'.
The statement has been terminated.
StackTrace: at WORKTERRA.BenAdmin.BenAdminControllerAppTier.Delete(BenAdminControllerWebTierEntity objBenAdminControllerWebTierEntity)
at WORKTERRA.ControllerAppTier.Delete(Int32 intProjectsId, String strInput)
TargetSite: System.String Delete(ValueObjects.BenAdminControllerWebTierEntity