
Hi,
I am facing an issue with Master Planning in AX 2012.
Every time i run Master planning on our prod server, i get "Item Coverage partially updated" message for a few items. Initially it was for 3-4 items and they were random, however now it is happening for a lot of items consistently.
If master planning is run separately for the missed out item, it runs successfully.
After debugging and tracing the code, i've found that the issue occurs when an exception is thrown from the following line of code: class ReqTraceCrimsonLogger.init () line 5 Microsoft.Dynamics.AX.Planning.JobScheduling.JobSchedulingEngineInteropFactory :: EnsureLoggerSink ();
The stack trace at the point of the exception is as shown below:
[s] \Classes\ReqTraceCrimsonLogger\init 3
[s] \Classes\ReqTraceCrimsonLogger\newSinkProvider 15
[s] \Classes\ReqPlanData\reqTraceLogger 11
[s] \Data Dictionary\Tables\ReqPO\Methods\setReqDateFields 24
[s] \Data Dictionary\Tables\ReqPO\Methods\initFromReqDate 24
[s] \Data Dictionary\Tables\ReqPO\Methods\initFromReqDateDlv 42
[s] \Data Dictionary\Tables\ReqPO\Methods\onReqDateDlvChanged 6
[s] \Data Dictionary\Tables\ReqPO\Methods\setSchedFromDate 56
[s] \Classes\ReqCalc\covCreatePlannedOrder 205
[s] \Classes\ReqCalc\covCalcDimTrans 60
[s] \Classes\ReqCalc\covCalcDim 104
[s] \Classes\ReqCalc\covCalcItem 89
[s] \Classes\ReqCalcScheduleItemTable\covCalcItem 13
[s] \Classes\ReqCalc\processTask 85
[s] \Classes\ReqCalc\processTasks 38
[s] \Classes\ReqCalc\run 18
[s] \Classes\ReqCalcScheduleItemTable\run 61
[c] \Classes\ReqCalcScheduleItemTable\main 11
We do not have any customisation done to any of the master planning classes
We were wondering if it could be a data issue, as we did a db refresh using the transaction db from our prod server on a machine where Master Planning was working perfectly and after the db refresh the issue occurs on this machine as well. However we havent been able really find the root cause of the issue.
There is a blog where i found that they were facing the exact same issue, however they couldnt get a definite answer : https://axforum.info/forums/showthread.php?t=75390 The hotswap checkbox mentioned there didnt seem relevant and the issue exists even when it's checked and also after swapping the JobSchedulingEngineInterop dll file from a working machine.
We are deleting all Planned orders before each run of master planning.
Any suggestions or thoughts on what could be the root cause of this issue? Desperately looking for help in resolving this issue
Thanks,
Dosjon