Relation between Sales Quote and Sales Order

selece28
Member Posts: 316
Hi all,
I have a problems
My client want me to show which Sales Order is created from Sales Quote
When we open Sales Quote form and click Make Order
The sales quote record in Sales Header table is replaced with Sales Order record right?
Then how can i know which Sales Order is created from Sales Quote?
I can only think of adding a new column in sales header to keep Sales Quote number.
Is there any other way? Am i missing something?
Thanks in advance
I have a problems
My client want me to show which Sales Order is created from Sales Quote
When we open Sales Quote form and click Make Order
The sales quote record in Sales Header table is replaced with Sales Order record right?
Then how can i know which Sales Order is created from Sales Quote?
I can only think of adding a new column in sales header to keep Sales Quote number.
Is there any other way? Am i missing something?
Thanks in advance
______________
Regards,
Steven
Regards,
Steven
0
Comments
-
I think that you would have to add the extra field to the sales header
table but also remember to add this field to the posted sales tables
ie Shipment and Invoice
Albert0 -
There is a field in the sales header table, called Customer Quote No., I believe it would be used if you were using commerce server, so if you are not, then I would use that field, as it already exist, and will provide what you need without adding new fields to serveral tables. You would have to modify the qoute to order function to copy the quote number.0
-
USE "Customer Quote No." field. when u create a sales quote, populate "Customer Quote No." as well, then when u create an order it tansfer to order.LR0
-
You'll need to modify codeunit 86 in order to do this.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Sorry, I didn't get this early, but I just remembered, the sales quote number carries over to the sale order line, in the field Sales Order No.
this also carries over to the sale invoice line when it is invoiced
so the info isn't in the header but it is on the sales line. all the way through to the sale invoice line0 -
Never use standard fields for something they arent meant to be used for.0
-
Yes Thanks, this mean that the best way is to add a new field and customize codeunit 86If you want to 'save' the Sales Quote, I would try to use the Sales Archive.
Waldo what do you mean by this. Can i keep the old Sales Quote that has been made to Sales Order? How?
Thanks in advance______________
Regards,
Steven0 -
By using Sales Archive.
This sales archive is automatically filled when printing the quote and using CRM. In this report, you find the code to "copy" the records to the sales archive.
Something like:
ArchiveManagement.StoreSalesDocument("Sales Header",FALSE)0
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