Unified Operations & Dynamics AX Forum

Expand all | Collapse all

After CU12 - Safety stock replenishment to early

  • 1.  After CU12 - Safety stock replenishment to early

    Posted Oct 04, 2017 05:03 AM

    ​Hi AXUG members!

    I have discovered when we upgraded environments to CU12 for AX2012 R3 we have problems with replenishment of safety stock (minimum). Planned orders for replenishments occurs to early.
    Have other noticed the same problem as us? I can reproduce the problem below alos in our Contoso running on CU12.

    In a copy of production data in an environment running on CU12

    1. A sales order is placed in 31st of January in 2018.
    2. After Master scheduling update
      • planned planned production order to refill Safety stock Todays date + replenisment lead time 10 days. 2017-10-13. (Requirement date Safety Stock 2017-10-13 + 1 day for receipt margin + weekend). The planned order is Pegging against Safety stock
      • Sales order Pegging against On Hand

     

    Question is - why refill already now?

    • Same scenario occurs if there is demand forecast entered instead of a sales order.
    • This happened after CU12. We had other envrionment running on CU11 before and did not have this problem.
    • I can reproduce same scenario in our Contoso that is running on CU12
    • My guess it is related to the KB3190607 in CU12 named "Safety stock is pegging inventory to itself, causing other demand types to delay". I have no more detailed information about what does this KB actually fix.
    • Impact if we switch to CU12 in our Production environment there will be planned orders to replenish our stock to early. Over production and our planners will not be happy when they cannot trust the suggestions after master scheduling.

     

    Compare with copy of our existing production data in an environment running in on CU10.

     

    1. A sales order is placed in 31st of January in 2018.
    2. After Master scheduling update a planned planned production order to meet the Sales order demand in January

      

    Item coverage settings for the item except for the set up tab in net requirement pictures above:  Fulfill minimum: "Today´s date + procurement time

    BR

    Martin



    ------------------------------
    Martin Axelsson
    Senior Specialist
    Alfa Laval Lund AB
    Lund
    ------------------------------


  • 2.  RE: After CU12 - Safety stock replenishment to early

    GOLD CONTRIBUTOR
    Posted Oct 04, 2017 10:06 AM
      |   view attached

    Hi Martin –

    You are correct. KB 3190607 (6.3.4000.2691) was introduced in CU12.

    "Safety stock pegs inventory to itself. Therefore, other demand types are delayed. KB 3190607.
    This hotfix causes safety stock to be the last type of demand that is fulfilled during a master planning regeneration. Note that this fix applies only to regeneration."

    See attached PDF.

    This KB has proved problematic for some customers, so a private fix has been created. To get the private fix contact MSFT support in your region (generally via your partner) and provide them this information…

    DAXSE 3855720 (CR) - [Private fix] Temporarily revert Rolling Safety Stock code change (for non-Shelf Life Customers).

    MSFT continues to explore the impact of KB 3190607.

    Thanks….Dave



    ------------------------------
    Dave Phillips
    MSFT Senior PFE
    Microsoft
    Fargo ND
    ------------------------------

    Attachment(s)



  • 3.  RE: After CU12 - Safety stock replenishment to early

    Posted Oct 05, 2017 09:54 AM

    ​Thanks Dave!

    We will ask our consultants about the fix.

    BR
    Martin



    ------------------------------
    Martin Axelsson
    Senior Specialist
    Alfa Laval Lund AB
    Lund
    ------------------------------



  • 4.  RE: After CU12 - Safety stock replenishment to early

    SILVER CONTRIBUTOR
    Posted Oct 05, 2017 07:48 AM
    Not sure why on-hand would be pegged to the sales order, it should be pegged to the first demand.  But I have seen similar issues with not wanting to refill just to satisfy safety stock demand.  Have you tried using the fulfillment type of "First Issue"?  It will push the date of the safety stock to match the first demand date, so the planned order will be satisfying both (or with on-hand as well) and if there is no real demand, there will be no planned order if safety stock is the only demand.

    ------------------------------
    Robert Stogner
    I.B.I.S. Inc., a Sonata Company
    Burlington NC
    ------------------------------



  • 5.  RE: After CU12 - Safety stock replenishment to early

    Posted Oct 20, 2017 08:26 AM
    ​Hi!
    We have now installed the fix DAXSE 3855720 (CR) - [Private fix] Temporarily revert Rolling Safety Stock code change (for non-Shelf Life Customers).

    With positive results! Safety stock replenishment when needed and not building unnecessary stock.

    I have attached my tests from an environment with the same items before and after fix was installed. This time with an item FG that consist of a bom line SFG with safety stock 10 pcs and 10 days leadtime. SFG consist of one compent Raw material purchased with 30 days lead time.

    Before fix in CU12
    Before fix
    After CU12 Fix
    After cu12 fix
    /Martin

    ------------------------------
    Martin Axelsson
    Senior Specialist
    Alfa Laval Lund AB
    Lund
    ------------------------------



  • 6.  RE: After CU12 - Safety stock replenishment to early

    GOLD CONTRIBUTOR
    Posted Oct 20, 2017 08:52 AM
    Hi -

    Thanks for the follow up Martin.

    Regards.....Dave

    ------------------------------
    Dave Phillips
    MSFT Senior PFE
    Microsoft
    Fargo ND
    ------------------------------



  • 7.  RE: After CU12 - Safety stock replenishment to early

    GOLD CONTRIBUTOR
    Posted Feb 02, 2018 08:49 AM
    Hi -

    KB 4074644 "Master planning improvements in relation to safety stock" was published a few days ago.

    https://fix.lcs.dynamics.com/Issue/Resolved/1230197?kb=4074644&bugId=3888001&qc=9d40487402400689fd2a4e1acc8cc4c23d43d3b0a74d83411ad8bad63fcdbf6c

    Thanks.....Dave

    ------------------------------
    Dave Phillips
    Sr Support Escalation Engineer
    Microsoft Corporation
    Fargo, ND
    ------------------------------



  • 8.  RE: After CU12 - Safety stock replenishment to early

    SILVER CONTRIBUTOR
    Posted Jan 03, 2019 11:18 AM
    Dave,

    I know you say the hot fix listed addresses the issue but I have the hot fix installed with the same result.

    ------------------------------
    Brent Hester
    IT Manager
    Kason Industries
    Newnan GA
    ------------------------------



  • 9.  RE: After CU12 - Safety stock replenishment to early

    SILVER CONTRIBUTOR
    Posted Jan 16, 2019 11:22 AM
    So I was able to contact Microsoft and the "Private" fix is no longer available.  Also their answer to how to fix it is to deal with the logic change or make a mod.  So I decided to make a mod.  The code I change is in the screenshot below.  **Change code at your own risk and be sure to test it in your Dev/Test environments...Never make changes to your production environments.**


    ------------------------------
    Brent Hester
    IT Manager
    Kason Industries
    Newnan GA
    ------------------------------



  • 10.  RE: After CU12 - Safety stock replenishment to early

    GOLD CONTRIBUTOR
    Posted Jan 17, 2019 09:21 AM
    Edited by Dave Phillips Jan 17, 2019 09:48 AM
    Hi -

    A KB was released that extends the work initially done in KB 4074644.

    CTP for sales demand does not swap safety stock coverage with an earlier supply, causing an unnecessary delay for a real demand.
    AX 2012 R3 | Application update
    KB 4457336 released 8/12/2018

    This KB includes the earlier KB 4074644. The Safety Stock KBs are large.

    Also, while we are looking at MRP KBs, below is another good one to explore.

    Quarantine order line can't display when select the item.
    AX 2012 R3 | Application update
    KB 4459130 released 8/28/2018

    This is another post CU13 (released September 13, 2017) MRP KB that extends the work of KB 4345734 "MRP sporadically slow due to ReqTransNeutralDelete\run SQL queries."  If interested, you just need KB 4459130.

    Lastly, kernel updates contain the scheduling DLLs used by MRP. Here is one recent example...

    Planned Orders have Requirement Dates updated after Coverage -> backward resource scheduling to the first historical available date of the resource of operation
    AX 2012 R3 | Binary update
    KB 4466893 released 10/5/2018

    A new kernel can do wonders.

    Thanks.....Dave

    ------------------------------
    Dave Phillips
    Sr Support Escalation Engineer
    Microsoft
    Fargo ND
    ------------------------------



  • 11.  RE: After CU12 - Safety stock replenishment to early

    SILVER CONTRIBUTOR
    Posted Jan 17, 2019 10:11 AM
    Dave,

    Thanks for the info.  I will test those fixes in DEV and replace my workaround with the HFs in my next code update.

    ------------------------------
    Brent Hester
    IT Manager
    Kason Industries
    Newnan GA
    ------------------------------



  • 12.  RE: After CU12 - Safety stock replenishment to early

    SILVER CONTRIBUTOR
    Posted Jan 17, 2019 01:29 PM
    Dave,

    Is there a parameter now or something?  If not even with the installed HFs I still get the same result with safety stock pegging to planned purchase orders way in the future.

    ------------------------------
    Brent Hester
    IT Manager
    Kason Industries
    Newnan GA
    ------------------------------



  • 13.  RE: After CU12 - Safety stock replenishment to early

    GOLD CONTRIBUTOR
    Posted Jan 18, 2019 09:56 AM
    Hi Brent -

    No, no new Parameter. Did you also drop in a new kernel? The kernel I mention above is the last one where the Scheduling DLLs were updated.

    I don't know your setup, but the next thing I would do is a slight Personalization to the Net Requirements form that provides an indicator of a Reservation in play.

    PHILLIPS-01Use the first Priority.

    PHILLIPS-02Reservations have a negative number. Prior Reservations can impact Pegging.

    Check your Consume On-hand Inventory setting (Master Plan and Coverage Groups).

    Then, in a Test environment, I would start troubleshooting. Do you use Shelf-Life? Turn it off and test. Next I would turn off Action and Futures (turn off in the MRP Plan | Time Fences form). I also often take the Route out of play by turning off Capacity (same way as Action/Futures).

    It's possible there is another KB needed as well and the troubleshooting might point us in the right direction.

    Thanks....Dave

    ------------------------------
    Dave Phillips
    Sr Support Escalation Engineer
    Microsoft
    Fargo ND
    ------------------------------