Copying Shipment Date from sales header
Leroy
Member Posts: 199
Hello, on sales quotes, when I look for an item, on sales lines from the quote, and select it, automatically it brings me some fields from that item and from quote sales header. One of this fields is Shipme Date, here appears the Oder Date from the sales header quote.
Now I don't want that Shipment date appears automatically, I want to put it manually. I go to sales line table and, on Nº Onvalidate, I lookfor the code that reffers to copy of order date from sales header to salesline shipment date, but I don't find anything about it. I don't find on whole table the code. I don't know it this is from standard, so I ask about it. Can anybody tell me how where can be this code if it's from standard?.
Thanks in advance
Now I don't want that Shipment date appears automatically, I want to put it manually. I go to sales line table and, on Nº Onvalidate, I lookfor the code that reffers to copy of order date from sales header to salesline shipment date, but I don't find anything about it. I don't find on whole table the code. I don't know it this is from standard, so I ask about it. Can anybody tell me how where can be this code if it's from standard?.
Thanks in advance
0
Comments
-
The code (I'm looking at a 2009 database) is in "No. - OnValidate".
"Shipment Date" := CalendarMgmt.CalcDateBOC( '', SalesHeader."Shipment Date", CalChange."Source Type"::Location, "Location Code", '', CalChange."Source Type"::"Shipping Agent", "Shipping Agent Code", "Shipping Agent Service Code",0 -
Thanks for reply, but it isn't; I've already been tested, It's the only refer to Shipment date that there is in Nº. OnValidate. I remove this code and go on putting the date. Any idea else please?.
Thanks for help.0 -
Run Code Coverage or Client Monitor. Then it will be easy to find where the code is. These are under the Tools menu.0
-
Thanks for reply; I've try it but I don't find any reference to Shipment Date field. I don't know what more can I do.
Thanks.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
