It’s in the log file for the scheduler. Anyone know where I can start to look ? It seems like the ‘a.m.’ at the end is the problem because it should probably be AM but I don’t know where to find that value in the database?
15:54:19 System.FormatException: The string ‘2025-06-05 12:00:00 a.m.’ was not recognized as a valid DateTime. There is an unknown word starting at index ‘20’.
at System.DateTimeParse.Parse(ReadOnlySpan1 s, DateTimeFormatInfo dtfi, DateTimeStyles styles) at System.Convert.ToDateTime(String value) at Erp.Internal.MR.MRPLib.GetJobQueue(Int64 pTaskNum, String pName, String pProcessor, Int32 pNum, String pMsg, String& pJobNum, String& pPlant, String& pPartNum, String& pType, Int32& pPriFactor, Nullable1& pReqDate, Int32& pReqTime, Int32& pLevel, Boolean& pMethod, Decimal& pSeq, Boolean& pSchedDir, Boolean& pFirm, Boolean& pReNum, Boolean& pSched, String& pStatus, Int32& pSubLLC) in C:_releases\ERP\ERP12.1.100.0\Source\Server\Internal\MR\MRPLib\MRPLib.cs:line 1747
at Erp.Internal.MR.MrpExpSched.main_block(Int64 instance_TaskNum, Boolean netchg, String IP_plantList, Nullable1 cutoff_date, Boolean from_autopur, String logfile, Int32 loglevel, Int32 logtype, Boolean finiteLoad, Boolean ignoreConst, Boolean allowHistDate, Boolean usePrepTime, Boolean useKitTime, Boolean runPegging, Boolean runConPur, Nullable1 Sched_startDate, String ShipViaDefault, String compBuyerID, Int32 ForeDaysB, Int32 ForeDaysA, String v_defaultSchedCode, String extComp, String PlantSelected, String plantprefixlist, String pReqType, Int32 processNum, String purDir, Boolean whatif, String procSource, Decimal GSStartTime, Boolean delaySched, Boolean recyclejobs, Boolean rcSchedGetDetails, Boolean includePCParts, Boolean useQuoteBOM, Boolean multiJob, Boolean multiJobIgnoreLocks, Boolean multiJobMinimizeWIP, Boolean useLotExpiration) in C:_releases\ERP\ERP12.1.100.0\Source\Server\Internal\MR\MrpExpSched\MrpExpSched.cs:line 3027
at Erp.Internal.MR.MrpExpSched.RunMrpExpSched(Int64 instance_TaskNum, Boolean netchg, String IP_plantList, Nullable1 cutoff_date, Boolean from_autopur, String logfile, Int32 loglevel, Int32 logtype, Boolean finiteLoad, Boolean ignoreConst, Boolean allowHistDate, Boolean usePrepTime, Boolean useKitTime, Boolean runPegging, Boolean runConPur, Nullable1 Sched_startDate, String ShipViaDefault, String compBuyerID, Int32 ForeDaysB, Int32 ForeDaysA, String v_defaultSchedCode, String extComp, String PlantSelected, String plantprefixlist, String pReqType, Int32 processNum, String purDir, Boolean whatif, String procSource, Decimal GSStartTime, Boolean delaySched, Boolean recyclejobs, Boolean rcSchedGetDetails, Boolean includePCParts, Boolean useQuoteBOM, Boolean multiJob, Boolean multiJobIgnoreLocks, Boolean multiJobMinimizeWIP, Boolean useLotExpiration) in C:_releases\ERP\ERP12.1.100.0\Source\Server\Internal\MR\MrpExpSched\MrpExpSched.cs:line 1058
at Erp.Internal.MR.MrpExpSched.RunSubProcess(List`1 Parameters) in C:_releases\ERP\ERP12.1.100.0\Source\Server\Internal\MR\MrpExpSched\MrpExpSched.cs:line 788


