Problem when running Report 795 (Adjust Cost - Item Entries)

poppins
Member Posts: 647
Hi everyone,
I have encountered this problem when running the standard report 795 Adjust Cost - Item Entries:
I started running the report and got the following error message:
When I got back to the report again, it started running normally but then gave me the following error message:
Why is that?What shall I do?
I have encountered this problem when running the standard report 795 Adjust Cost - Item Entries:
I started running the report and got the following error message:
The item ledger entry already exists.Identification fields and values: Entry No.='368156'Iwent to table 339 (Item Application Entry), filtered on Item Ledger Entry No.=368156 and deleted the associated lines.
When I got back to the report again, it started running normally but then gave me the following error message:
A fatal error occurred. The connection to SQL server cannot be established or is no longer usable. This can be caused by one of the following reasons: * The server has been shut down manually or because of an error. * The SQL server connection settings are not correct * A network failure has occurred. * A hardware failure has occurred on the server or on your computer. Try again later or contact your system administrator.
Why is that?What shall I do?
0
Comments
-
What was your diagnostic process that brought you to delete those records?There are no bugs - only undocumented features.0
-
bbrown wrote:What was your diagnostic process that brought you to delete those records?
This is the first time I deal with this issue, and the deletion action was suggested by a user who is normally in charge of this task...
What do you suggest that I do?0 -
The fatal error message usually means that either the SQL server was restarted or your session was terminated by someone. (It can also mean that your lan connection is very flaky)
The duplicate key in the ILE table would imply that the locking or transactions have been damaged in some way. Perhaps the SQL database has been corrupted by bad disks or controllers. Perhaps a native database has been corrupted by a flaky network card. Perhaps someone has been adding 'COMMIT's where they shouldn't.
We'd need to known more about your system before we can tell what might be happening.Robert de Bath
TVision Technology Ltd0 -
I would have suggested some further investigation before deleting those records. Adjust Cost does not create Item Ledger Entry records. So the fact that you get an error related to the insert of such a record, would/should raise questions.
Does the Item Ledger Entry record referred to in the error message exist? If so, what is the entry type and value of the field POSITIVE?There are no bugs - only undocumented features.0 -
bbrown wrote:I would have suggested some further investigation before deleting those records. Adjust Cost does not create Item Ledger Entry records. So the fact that you get an error related to the insert of such a record, would/should raise questions.
Does the Item Ledger Entry record referred to in the error message exist? If so, what is the entry type and value of the field POSITIVE?
Entry Type:Sales
Positive:False0 -
I would start by putting those deleted records back. I very much doubt that they were the problem. Deleting them, more likely, simply "fixed" the issue by making Adjust Cost skip over the part causing the problem.
Then I would sort out exactly where the process is breaking.There are no bugs - only undocumented features.0 -
bbrown wrote:I would start by putting those deleted records back. I very much doubt that they were the problem. Deleting them, more likely, simply "fixed" the issue by making Adjust Cost skip over the part causing the problem.
Then I would sort out exactly where the process is breaking.0 -
Run the table in the Object Designer and re-enter the missing records.There are no bugs - only undocumented features.0
-
Do you have a backup from which you could retrieve them? What was the date of that Item Ledger?There are no bugs - only undocumented features.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