Internal Errors
fernando_lm
Member Posts: 27
I have some extra code on Codeunit 1 functions LogInStart and LogInEnd:
This code comes from an earlier version of Navision where it works fine. But on Nav5.0 it causes an error when I close the applicacion. The error comes if i run
I've searched for this at the wiki error list and found:
Module 5 BTree (keyed index trees)
Internal Error 1 in Module 5, :: 5-1 #Err_BT_AllReadyExist (Module_BT,Err_Fatal(1))
Does anybody know how to fix this?
Does anybody know about the second internal error?
Any help will be greatly appreciated
P.S.: Sorry for my english, it's quite basic.
LogInStart()
IF rCash.READPERMISSION THEN BEGIN
CLEAR(POSManagement);
POSManagement.InitFrontOffice;
POSManagement.GetCash( rCash);
IF rCash."Cash No." <> 0 THEN BEGIN
cDeviceManagement.InitPoleDisplay;
cDeviceManagement.WritePoleDisplay(STRSUBSTNO(Txt000003,rCash."Cash No."));
END;
END;
(...)
LogInEnd()
//++ERROR ESTANDAR CAR06 Cierro la caja al salir
IF rCash.READPERMISSION THEN BEGIN
CLEAR(POSManagement);
POSManagement.GetCash( rCash);
IF rCash."Cash No." <> 0 THEN BEGIN
POSManagement.CloseCash(rCash."Cash No.");
END;
END;
//--ERROR ESTANDAR CAR06
(...)
This code comes from an earlier version of Navision where it works fine. But on Nav5.0 it causes an error when I close the applicacion. The error comes if i run
POSManagement.GetCash( rCash);either on LoInStart or in LogInEnd. At the end of the LogInEnd function when it runs UserTimeRegister.MODIFY two internal errors appear "Internal Error 1 on Module 5" and "Internal Error 2 on Module 7".
I've searched for this at the wiki error list and found:
Module 5 BTree (keyed index trees)
Internal Error 1 in Module 5, :: 5-1 #Err_BT_AllReadyExist (Module_BT,Err_Fatal(1))
Does anybody know how to fix this?
Does anybody know about the second internal error?
Any help will be greatly appreciated
P.S.: Sorry for my english, it's quite basic.
0
Comments
-
Have you searched the forum for the errors? I am sure that I already answered to similar problem...;-)
Just set the variable as local instead global (or opposite). You need to define the variables on same place as other variable used in the trigger...0 -
We had a similar problem. Declaring some global variables as local did the trick.
Hope this helps
Thomas0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 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
