Hi :
This is my scenario.
NAV 6.0 SP1 Spanish version.
I created an Item with the following planning data:
Reording Policy -> Fixed Reorder Qty.
Minimum Order Quantiy -> 300 Units
Order Multiple -> 300 Units
the rest of values are 0.
Replenishment Data:
Replenishment System : Purchase
There is not any SKU defined for the Item.
The demand for this Item is just a sales order with 1000 Units.
There are not Purchases sales, Transfers, etc...
When I run the requisition worksheet I expect that the quantity should be 1200 units (major multiple of 300 after 1000).
But the result is always 1.000
After a long time debugging I arrive at the conclusion that the Procedure LotForLot from de codeunit 9900855 Planning-Get Parameter is not running well. So I decided modify it with the modification as you see after the line //FR34.
With this modification is working fine, and the quantity issued at the requisition line is 1.200.
My question is : I will get collaterals effects?. Why this procedure is working like this? (putting a 0 to minimum, maximum, order multiple, etc...)
LotForLot(VAR SKU : Record "Stockkeeping Unit";ItemNo : Code[20];VariantCode : Code[10];LocationCode : Code[10])
GetMfgSetUp;
WITH GlobalSKU DO BEGIN
IF (ItemNo <> "Item No.") OR
(VariantCode <> "Variant Code") OR
(LocationCode <> "Location Code")
THEN BEGIN
CLEAR(GlobalSKU);
SETRANGE("Item No.",ItemNo);
SETRANGE("Variant Code",VariantCode);
SETRANGE("Location Code",LocationCode);
IF NOT FINDFIRST THEN BEGIN
GetItem(ItemNo);
"Item No." := ItemNo;
"Variant Code" := VariantCode;
"Location Code" := LocationCode;
"Vendor No." := Item."Vendor No.";
"Vendor Item No." := Item."Vendor Item No.";
"Lead Time Calculation" := Item."Lead Time Calculation";
"Reorder Point" := 0;
"Maximum Inventory" := 0;
"Reorder Quantity" := 0;
CASE Item."Reordering Policy" OF
"Reordering Policy"::" ": "Reordering Policy" := "Reordering Policy"::" ";
"Reordering Policy"::Order: "Reordering Policy" := "Reordering Policy"::Order;
"Reordering Policy"::"Lot-for-Lot": "Reordering Policy" := "Reordering Policy"::"Lot-for-Lot";
ELSE "Reordering Policy" := "Reordering Policy"::"Lot-for-Lot";
END;
IF "Reordering Policy" = "Reordering Policy"::"Lot-for-Lot" THEN
"Include Inventory" := TRUE
ELSE
"Include Inventory" := Item."Include Inventory";
"Manufacturing Policy" := Item."Manufacturing Policy";
"Minimum Order Quantity" := 0;
"Maximum Order Quantity" := 0;
"Safety Stock Quantity" := 0;
//FR34
//"Order Multiple" := 0;
"Order Multiple" := Item."Order Multiple";
//
"Safety Lead Time" := Item."Safety Lead Time";
"Flushing Method" := Item."Flushing Method";
"Replenishment System" := Item."Replenishment System";
"Reorder Cycle" := Item."Reorder Cycle";
"Lot Size" := Item."Lot Size";
"Last Direct Cost" := Item."Last Direct Cost";
END;
Thanks a lot.
0
Answers
Andwian
Components at Location in Manufacturing setup is blank.
I have created the SKU for the item and the planing parameters are the same than the item card, but the result is not ok.
The quantity proposed is 1.000 (not the 1.200 that I expect ).
Before making any design changes do read ALL available official NAV documentation on this topic!
instead of 300 * 3 = 900 < 1000 Have you set the Sales Order with any location which has SKU?
Do you use Variant Code?
What is the type of your SKU Card? Item? Item&Var&Loc?
Andwian
If it is blank and you are not using SKUs you have not told NAV a base location to begin planning, and therefore it struggles with any calcualtions. Put your main warehouse in here (or frankly any) and run planning again.
This is an easy implementation with not Manufacturing, not SKU's, and never mind if there are variants or not.
The result of the requisition journal that I'm looking for is that I have to buy, depending on my sales orders, my purchases orders, and my basic item planning parameters: Minimun Order Quantity and Order Multiple. Thats all!
The help for the Order Multiple field says:
'In this field, you can specify a quantity to be used as an order multiple. The program will, if necessary, round the order proposal quantity upwards in accordance with the order multiple that you define for the item'.
What minds 'if necessary'?. For me, in my case, if I have to by 1000 units but the order multiple is 300, at least is necessary to by 1.200 units.
The NAV documentation of this topic says that I can't use Order Multiple for this case?.
What do you think?.
Andwian
Andwian
The field is in the manufacturing setup but has NOTHING to do with manufacturing, it is the base warehouse to ensure planning knows what to do.
Hope this shines a light...
AdamRoue: I put a Location code in de Manufacturing Setup. The results are the same.
Andwian: Location Mandatory was set to True from the begining.
rhpnt : at first I can understand that the system propose only the quantity placed in the sales order (1.000), but If I define a Safety Stock Quantity (i.e. 400), the requisition that I get are two lines: 1.000 and 400. The same situation if I define Reorde point (i.e. 400), I get two lines: 1.000 and 400. When I say 'the rest of values are 0' minds that my Reorder Point is 0 (I haven't reorder point), and Safety Stock Quantity is 0 (I don't want work with Safety Stock). If I define this parameters I will get extra lines that I don't want. And if I have 200 units extra in stock, maybe my sales order will be converted in 1200.
So I will ask to you in a different form :
Anybody knows in that conditions the system uses the parameter 'Order Multiple'?. Anyone has used this parameter?.
rhpnt : I am arranged to read all type of documentation, of course. Find a solution to this problem will be my challenge, but can you say to me exactly where I can find it?.
And if I don't get any results, maybe the solution will be a control in the Quantity on the Sales line and/or Purchase Line saying :'The quantity must be multiple of 300 ...' or something like that rather than modify the codeunit 9900855.
It seems, from what I can tell, that the scenario we were dealing was considered 'exception' demand and was not taking into account these factors (MOQ, Order Multiple).
V5 it seems did (we are using 2009SP1).
In the end I modified the Inventory Profiling codeunit (I forget the number) to call a routine called AdjustOrderQty for these exception planning lines; this factors in MOQ and Order Multiples.
It was with great reluctance I did this as I'm keen to keep this system as native as possible - we've added a flag in setup to activate this on/off and are testing solidly...so far so good.
If this is of interest I can post the exact code and codeunit/function details?
There are many docs on Partner- or Customersource available.
Please @simon, let me know this modification. At least I would know if I'm in a worng way or not ](*,)
From above long explanation, I could conclude that the logic is true when we do not use SKU. Otherwise, if we are using SKU, I think the Order Qty. should be 1200, just like NAsi expect.
Andwian