The Sales Header does not exist after posting invoice or CM

biant123
Member Posts: 29
Hi,
My customer is using NAV 2009 SP1 Classic Client via Citrix.
On the Sales Invoice, after running Post & Print, it prompts error:
The Sales Header does not exist.
Identification fields and values:
Document Type='Invoice',No.='SI0001'
Document Type: Invoice, No.: SI0001
SI0001 is the invoice that just got posted and printed.
Click OK after this error message, the following message prompted:
Do you want to rename the record?
After selecting No, it will prompt the first error message again.
I have tried to use debug mode but it did not stop at any code and prompted the error.
And there is no customized code that relates to calling the sales header after posting or printing the report.
The error only prompted sometimes (but quite often) and it also happen when running Post & Print on Sales Credit Memo.
And I cannot simulate the same problem on my Citrix.
I have searched on the forums but cannot find any clue. Will really appreciate if someone can give me some advice. Thank you.
My customer is using NAV 2009 SP1 Classic Client via Citrix.
On the Sales Invoice, after running Post & Print, it prompts error:
The Sales Header does not exist.
Identification fields and values:
Document Type='Invoice',No.='SI0001'
Document Type: Invoice, No.: SI0001
SI0001 is the invoice that just got posted and printed.
Click OK after this error message, the following message prompted:
Do you want to rename the record?
After selecting No, it will prompt the first error message again.
I have tried to use debug mode but it did not stop at any code and prompted the error.
And there is no customized code that relates to calling the sales header after posting or printing the report.
The error only prompted sometimes (but quite often) and it also happen when running Post & Print on Sales Credit Memo.
And I cannot simulate the same problem on my Citrix.
I have searched on the forums but cannot find any clue. Will really appreciate if someone can give me some advice. Thank you.
0
Comments
-
In the OnAfterGetRecord on the form, does there stand?:
SETRANGE("No.");
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
So no SETRANGE("No."); in the standard form? :-k
I think it should be there. Thought it used to be there.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
In one of the NAV 2009 R2 classic installation, I also see only
SETRANGE("Document Type");
."A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."0 -
tinoruijs wrote:So no SETRANGE("No."); in the standard form? :-k
I think it should be there. Thought it used to be there.
Hi Tino,
All other standard form e.g. Sales Order, Sales Quote and etc. also only have SETRANGE("Document Type");
and not having SETRANGE("No.");
Should it be there?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