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

14.11.2017
Why outsourcing company is more effective than In-house IT-specialists There are situations when in-house specialists spend most of their time awaiting requests or they cannot get their work...
26.09.2017
Microsoft Dynamics AX program decisions are constantly improving. At first, innovations come to European companies, and only after that to Russian enterprises.We aspire to be one step ahead in this...
28.08.2017
Notes of the summit and of Dynamics market in Russia. Neti has been specializing in AX development since 2003. Our sphere of interest is the cutting-edge MS Dynamics technology. We find, study...

Subscribe for blog updates

Get updated with our blog new articles via your email!


Subscribe now