Blanket order to Sales order

reema
Member Posts: 255
Hi masters,
I created a Blanket order with different shipments like this
sales line :10000 Item : 1000 Shipment date : 09/29/07
sales line :20000 Item :1000 shipment date :10/01/07
salesline :30000 item : 1150 shipment date :10/09/07
to customer 10000.
Now i want convert only sales line 10000 with Shipment date : 09/29/07 to sales order.How it is possible.
What my problem is when i select make to order in Blanket order 3 sales lines convert in to sales order.
I think this is not the correct way.Iam waiting for u r valuable suggestions.
Can someone please help me to figure this issue out ? ](*,) ](*,) ](*,)
Thanks and regards
I created a Blanket order with different shipments like this
sales line :10000 Item : 1000 Shipment date : 09/29/07
sales line :20000 Item :1000 shipment date :10/01/07
salesline :30000 item : 1150 shipment date :10/09/07
to customer 10000.
Now i want convert only sales line 10000 with Shipment date : 09/29/07 to sales order.How it is possible.
What my problem is when i select make to order in Blanket order 3 sales lines convert in to sales order.
I think this is not the correct way.Iam waiting for u r valuable suggestions.
Can someone please help me to figure this issue out ? ](*,) ](*,) ](*,)
Thanks and regards
reema
0
Answers
-
On blanket order line there is a field called quantity to ship. Only enter the quantity for the line you want to create a sales order.1
-
As standard Navision will create ALL the lines, so if you have 10 and only want to create the order for 1 you set the quantity to ship to 0 on 9 lines, but these are still created on the sales order. You would need to modify this.The art of teaching is clarity and the art of learning is to listen0
-
Yep.
To change the behavior. Modify CU 87 "Blanket Sales Order to Order"
BlanketOrderSalesLine.SETFILTER("No.",'<>%1','');
//Start Mod 1
BlanketOrderSalesLine.SETFILTER("Qty. to Ship",'<>%1',0);
//End Mod 1
IF BlanketOrderSalesLine.FINDSET THEN0 -
Thank u ara3n & Adam roue,
Thanks for u r suggestions & solutions,
ara3n, I am new bee to navision. I much don’t know about coding. So could explain where I have to write this code, do I need to define variables. So throw some detail explanations.
I hope u can understand my problem.
Please……………
Thanks in advance.reema0 -
Reema
Do you have a developer license? This can only be done with a developer license.0 -
Thank u very much ara3n,
I am learning navision and coding on navision. I have developers license.
I can to design mode and i can write code if u providE.
so now u can give detail explanation to me to solve this problem.
I will be waiting for u r solution. ](*,) ](*,) ](*,)
thamks and regardsreema0 -
hmmm.
tool->object designer->codeunit button-> Search for codeunit 87.->design button.
on 10th line you need to add a new line and add the code/Start Mod 1 BlanketOrderSalesLine.SETFILTER("Qty. to Ship",'<>%1',0); //End Mod 1
i strongly urge you to read the developer's guide pdf.0 -
Thank U very much ara3n,
I have done what u say. Still Blanket.O is working previous way. There is no change.
Let me explain one more time.
Suppose my customer 10000 send a blanket order then I entered in navision like this.
sales line :10000 Item : 1000 qty =100 q.t.ship = 100 Shipment date : 09/29/07
sales line :20000 Item :1000 qty =100 q.t.ship = 100 shipment date :10/01/07
salesline :30000 item : 1150 qty =100 q.t.ship = 100 shipment date :10/09/07
Now i selected only sales line 10000 and press make to order.
Then only Sales order has to create with that line only. Should not come other lines.
Which line i select that line only has to convert order. Remainig lines has to stay in Blanket order
So please tell what's went wrong ? Am i do any mistake in creation of Blanket order?
So please provide suggestion................. ](*,) ](*,) ](*,)
thanks in advancereema0 -
sales line :10000 Item : 1000 qty =100 q.t.ship = 100 Shipment date : 09/29/07
sales line :20000 Item :1000 qty =100 q.t.ship = 100 shipment date :10/01/07
salesline :30000 item : 1150 qty =100 q.t.ship = 100 shipment date :10/09/07
Now i selected only sales line 10000 and press make to order.
Then only Sales order has to create with that line only. Should not come other lines.
Which line i select that line only has to convert order. Remainig lines has to stay in Blanket order
So please tell what's went wrong ? Am i do any mistake in creation of Blanket order?
The way to achieve this (incorporating the code provided previously) is to enter only qty to ship for that line you are interested in converting to SO while the other lines have qty to ship = 0NAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0 -
Thanks Ara3n & Idiot,
Idiot wrote like this
"The way to achieve this (incorporating the code provided previously) is to enter only qty to ship for that line you are interested in converting to SO while the other lines have qty to ship = 0"
Now i tried as u suggested like below
sales line :10000 Item : 1000 qty =100 q.t.ship = 0,Shipment date : 09/29/07
sales line :20000 Item :1000 qty =100 q.t.ship = 0, shipment date :10/01/07
salesline :30000 item : 1150 qty =100 q.t.ship = 0, shipment date :10/09/07
Now i selected only sales line 10000 and press make to order.
Again it is taking remaining two lines to sales order.
Ithink this also not giving correct result.
How to solve this one?
Ara3n throw some help........
please..................... ](*,) ](*,) ](*,)
thanks and regardsreema0 -
In codeunit 86 add also the following code in the place below.
SalesOrderHeader."Ship-to Contact" := "Ship-to Contact";
SalesOrderHeader.MODIFY;
BlanketOrderSalesLine.RESET;
BlanketOrderSalesLine.SETRANGE("Document Type","Document Type");
BlanketOrderSalesLine.SETRANGE("Document No.","No.");
//Start Mod 01
BlanketOrderSalesLine.SETFILTER("Qty. to Ship",'<>%1',0);
//End Mod 01
FromDocDim.SETRANGE("Table ID",DATABASE::"Sales Line");
ToDocDim.SETRANGE("Table ID",DATABASE::"Sales Line");
I've tested this and it works.0 -
Thank U very Much Ara3n,
U r great =D>
I had put u r valuable code in that place what u suggested me. Now it is working.
A small request is it possible to delete that line which convert to order.because i put quantiy to ship =100 in sales line =100, now i convert that line to order. After order made still that line in Blanket oder.
Please..................
Thanks and regards.reema0 -
how about you try and think where you should put the code and post it in here and we will confirm if it's right?
I can't give you all the answers. Otherwise you won't learn anything.0 -
Thanks Ara3n,
I will follow u r valuable suggestion.I will be back to u if i get any prob.
Thanks and regardsreema0 -
I have create the sales quote with same functionality like blanket order when we make order in sales quote the order is being created when we open sales order n post the qty that i shipped is not geting updated in sales quote . Does any 1 have suggestion please tell me0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions