Have been configuring Time Cards for use for employees. When in the detail line item of the time card, after selecting the earning type, project, project task and labor item, when we get to the day to enter the time, receive an error: cast is not valid. So I cannot add time. What would be causing this error? Here is the trace log:
10/6/2022 9:36:29 PM Error:
Specified cast is not valid.
at _SetValueByOrdinal(EPTimecardDetail , Int32 , Object , PXCacheExtensionn] )
at PX.Data.PXCache`1.SetValueByOrdinal(TNode data, Int32 ordinal, Object value, PXCacheExtensiont] extensions)
at PX.Data.PXCache`1.SetValue(Object data, Int32 ordinal, Object value)
at PX.Data.PXFormulaAttribute.RowInserted(PXCache sender, PXRowInsertedEventArgs e)
at PX.Data.PXCache.OnRowInserted(Object item, Object pending, Boolean externalCall)
at PX.Data.PXCache`1.Insert(Object data, Boolean bypassinterceptor)
at PX.Data.PXCache`1.Insert(Object data, Boolean bypassinterceptor)
at PX.Data.PXCache`1.Insert(Object data)
at PX.Data.PXCache`1.Insert()
at PX.Data.PXSelectBase`1.Insert()
at PX.Objects.EP.TimeCardMaint.UpdateAdjustingActivities(EPTimeCardSummary summary, Dictionary`2 dict, DayOfWeek dayOfWeek, DateTime startDate, Boolean skipDescriptionUpdate)
at PX.Objects.EP.TimeCardMaint.UpdateAdjustingActivities(EPTimeCardSummary summary, Boolean skipDescriptionUpdate)
at PX.Objects.EP.TimeCardMaint.EPTimeCardSummaryWithInfo_RowUpdated(PXCache sender, PXRowUpdatedEventArgs e)
at PX.Data.PXCache.OnRowUpdated(Object newItem, Object oldItem, Boolean externalCall)
at PX.Data.PXCache`1.Update(IDictionary keys, IDictionary values)
at PX.Data.PXGraph.ExecuteUpdate(String viewName, IDictionary keys, IDictionary values, Objectr] parameters)