Wrong Starting date - time in Nav 2009

Dear all,

i have some question about how NAV doing scheduling calculation in NAV 2009 SP1,

here is the duplicate step:

  1. Create new item

  2. Create new routing with 4 operation, run time 10 minutes, sent-ahead quantity 1 and Quantity to produce 5

  3. Create RPO for this new item, due date 10/10/11 [mm-dd-y] and ending time 18:00

  4. run function refresh prod. order with backward scheduling

  5. check the routing line [in RPO → Line → Routing]

  6. the result from NAV is as follows:

10/10/11 3:40:00 PM 5:30:00 PM 10/10/11
10/10/11 4:20:00 PM 5:40:00 PM 10/10/11
10/10/11 5:00:00 PM 5:50:00 PM 10/10/11
10/10/11 5:10:00 PM 6:00:00 PM 10/10/11

  1. i think this is wrong, if sent ahead quantity in routing is 1, the right result planning is as follows:

10/10/11 4:40:00 PM 5:30:00 PM 10/10/11
10/10/11 4:50:00 PM 5:40:00 PM 10/10/11
10/10/11 5:00:00 PM 5:50:00 PM 10/10/11
10/10/11 5:10:00 PM 6:00:00 PM 10/10/11

anyone experienced this be4?

regards,-

Hi,

Do you have set-up or wait times specified?

hi dave,

i dont have setup, move or wait time…

only run time @10 minutes per operation.

What are the setups of your machine centres and work centres?

Hii Dave,

i created 4 new workcentre for this.

Uom = minute

capacity = 1

efficiency = 100

work hour = 08:00 - 18:00 every day

no dampener or capacity constraint.

i try using forward scheduling and the result are just fine, is this possibly a bug?

Do the same thing backward scheduling. We are 2 weeks from go live on Nav 2009 RTC and just found this issue.

Anyone have an answer?

already contacted support and they suggest to make changes in this code unit

Change the code in the FindSendAheadStartingTime function in the Calculate Routing Line codeunit (99000774) as follows:

Existing code …
TmpProdOrderCapNeed.RESET;
TmpProdOrderCapNeed.SETRANGE(Status,TmpProdOrderRtngLine.Status);

Replacement code …
TmpProdOrderCapNeed.RESET;

// Add the following line.
TmpProdOrderCapNeed.ASCENDING(FALSE);

TmpProdOrderCapNeed.SETRANGE(Status,TmpProdOrderRtngLine.Status);


  1. Change the code in the FindSendAheadStartingTime function in the Calculate Planning Routing Line codeunit (99000810) as follows:

Existing code …
TmpProdOrderCapNeed.RESET;
TmpProdOrderCapNeed.SETCURRENTKEY(“Worksheet Template Name”,“Worksheet Batch Name”,“Worksheet Line No.”,“Operation No.”);

Replacement code …
TmpProdOrderCapNeed.RESET;

// Add the following line.
TmpProdOrderCapNeed.ASCENDING(FALSE);

TmpProdOrderCapNeed.SETCURRENTKEY(“Worksheet Template Name”,“Worksheet Batch Name”,“Worksheet Line No.”,“Operation No.”);