Purchase Quote - Copy document

rico1931
Member Posts: 295
Hi Everyone,
There is a field in Purchase Quote called "Expected Receipt Date" One of our users just noticed that when they Copy another Purchase Quote, it does not bring over the Expected Receipt Date.
Does any one know how I can begin to debug and possibly fix? On the purchase line it's field 10 . I just can't figure out why it brings every other field over except that one...
thanks
-rico
There is a field in Purchase Quote called "Expected Receipt Date" One of our users just noticed that when they Copy another Purchase Quote, it does not bring over the Expected Receipt Date.
Does any one know how I can begin to debug and possibly fix? On the purchase line it's field 10 . I just can't figure out why it brings every other field over except that one...
thanks
-rico
-rico1931
0
Answers
-
I tried it in NAV2009R2 - Standard Database and it is copying Expected Receipt Date from previous Purchase Quote..0
-
rico1931 wrote:Hi Everyone,
There is a field in Purchase Quote called "Expected Receipt Date" One of our users just noticed that when they Copy another Purchase Quote, it does not bring over the Expected Receipt Date.
Does any one know how I can begin to debug and possibly fix? On the purchase line it's field 10 . I just can't figure out why it brings every other field over except that one...
thanks
-rico
Click Include Header in copy document screen0 -
Thanks for the response. We have R2 and when I tried it again it didn't work. It's on the Line not on the header. I've tried to see if on the page there is something different and nothing is different.
This field is NOT a standard field option to be visible when I try it in Classic Client. Could that be the reason why? Would it need to be coded in? Also mohana_cse06 did you have any modification done to copy the Expected receipt date?-rico19310 -
I didnt do any modification.
Can you explain a bit more with which options are you trying and what value do you have in already existing PurchLine."Expected Receipt Date" and what value is created in newPurchLine."Expected Receipt Date"?0 -
Sure thing... So I have a Purchase quote open and ready. All the lines are filled out.
I open a new purchase quote and copy document and only want the lines since I'm changing the vendor info I'm sending it to.
Once the copy is complete the only field not filled in is the expected receipt date field..
-rico19310 -
Excepted receipt date will get copied to the lines only if it is present in the header and Include Header is checked. Excepted receipt date will not get transferred from purchase lines(I have no :idea: why ). Have a look at the code in Codeunit 6620 Copy Document Mgmt function CopyPurchLine(....). Include a additional validate call in this function to copy Expected receipt date from the lines. See screenshot
IF FromPurchLine."Document Type" = FromPurchLine."Document Type"::Quote then ToPurchLine.VALIDATE("Expected Receipt Date",FromPurchLine."Expected Receipt Date");
0 -
pawanp wrote:Excepted receipt date will get copied to the lines only if it is present in the header and Include Header is checked. Excepted receipt date will not get transferred from purchase lines(I have no :idea: why ). Have a look at the code in Codeunit 6620 Copy Document Mgmt function CopyPurchLine(....). Include a additional validate call in this function to copy Expected receipt date from the lines. See screenshot
IF FromPurchLine."Document Type" = FromPurchLine."Document Type"::Quote then ToPurchLine.VALIDATE("Expected Receipt Date",FromPurchLine."Expected Receipt Date");
Perfect! It worked! Thank you so much! \:D/-rico19310
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