Found an error in the mechanism of the master planning AX2012!

Updated: 22.11.2013
Found an error in the mechanism of the master planning AX2012!

Version Dymanics AX 2012 R2, an application 6.2.1000.1219

Found an error in the mechanism of the master planning when working with applications for purchase. The essence of the problem: the calculation of the coating is not considered presence of established jackdaw consider stocks in the settings the master plan.

 

 

Look class ReqRequisitionsHelper, method initReqTransFromRequisitionLine (

X++:

    ...

    _reqTrans.RefType           = ReqRefType::RequisitionLine;

    _reqTrans.RequisitionLine   = _purchReqLine.RecId;

                     _reqTrans.Priority          = #PriorityReservOrdered; - assignment postings priority

    _reqTrans.PlanVersion       = reqPlanData.parmReqPlanVersionRefRecId();

    _reqTrans.ItemId            = _purchReqLine.ItemId;

    _reqTrans.Qty               = - _purchReqLine.PurchQty;

    _reqTrans.ReqDate           = _purchReqLine.RequiredDate;

    _reqTrans.ReqDateDlvOrig    = _purchReqLine.RequiredDate;

    ...

should be changed to the very highest priority:

X++:

    ...

    _reqTrans.RefType           = ReqRefType::RequisitionLine;

    _reqTrans.RequisitionLine   = _purchReqLine.RecId;

                    _reqTrans.Priority          = #PriorityReservPhysical; // PriorityReservOrdered;

    _reqTrans.PlanVersion       = reqPlanData.parmReqPlanVersionRefRecId();

    _reqTrans.ItemId            = _purchReqLine.ItemId;

    _reqTrans.Qty               = - _purchReqLine.PurchQty;

    _reqTrans.ReqDate           = _purchReqLine.RequiredDate;

    _reqTrans.ReqDateDlvOrig    = _purchReqLine.RequiredDate;

    ...

then it will be considered Availability and Order - depending on the settings in the master plan.

 

Author: Oleg Maystrenko

 

Other blog posts

24.05.2018
Disclaimer
08.05.2018
We apply OKR methodology in Neti since 2014. We started from a quarterly planning, but then understood that no ambitious goals can be achieved per quarter. So we switched to semi-annual intervals....
11.04.2018
As you know, Microsoft recently has launched Dynamics 365 Business Central. And we are proud to announce we have launched intracompany training for sales and development departments:Why do we need it...

Subscribe for blog updates

Get updated with our blog new articles via your email!


Subscribe now