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.
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.
Comments
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?
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.
TVision Technology Ltd
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:False
Then I would sort out exactly where the process is breaking.