Can not see language option in tools menu & define ACTI
ufuk
Member Posts: 514
Hi everyone,
I was getting an error while trying to change a caption in any form in ver 4.0. :
You have specified an unknown variable. ACTION. Define the variable under 'Global C/AL Symbols :-k
The relevant "action" is placed in the line.
IF FORM.RUNMODAL(0,StdTxt) = ACTION::LookupOK THEN
Text := StdTxt.Description;
EXIT(0);
I changed the codeunit 1 in which this line is placed. I copied it and save as 50001 then delete it. But now I can not rename it as codeunit 1 because of license permissions. Meanwhile after renaming codeunit 1, I can not see language options in tools menu.
Anyone has an idea of how to change the ID of the codeunit again or the ACTION error I mentioned above?
Best Regards
Ufuk
I was getting an error while trying to change a caption in any form in ver 4.0. :
You have specified an unknown variable. ACTION. Define the variable under 'Global C/AL Symbols :-k
The relevant "action" is placed in the line.
IF FORM.RUNMODAL(0,StdTxt) = ACTION::LookupOK THEN
Text := StdTxt.Description;
EXIT(0);
I changed the codeunit 1 in which this line is placed. I copied it and save as 50001 then delete it. But now I can not rename it as codeunit 1 because of license permissions. Meanwhile after renaming codeunit 1, I can not see language options in tools menu.
Anyone has an idea of how to change the ID of the codeunit again or the ACTION error I mentioned above?
Best Regards
Ufuk
Ufuk Asci
Pargesoft
Pargesoft
0
Comments
-
1) If you are NSC (you have developer license) - you can export the CU into text, change the no. of the CU and import it back. But before that you need import CU1 from cronus through .fob file to create the CU. The text import will overwrite it without problem than.
2) May be that there is problem with some global variable. You cannot use Action as name of your variable. Check this. Action is special C/AL keyword.
3) Be sure that you do not have field with name Action in your table which is used as Rec or in "With" statement...0 -
1) Thank you very much. Importing the CU worked fine. :whistle:
2-3) I did not declare any variable. It is the original state. I only wanted to rename a caption but got that warning. And I did not understand the relation between changing a caption and that code line in CU1. :-k Maybe a localisation error or a bug??Ufuk Asci
Pargesoft0 -
If it is localization error, then you will have problem everywhere with lookups...0
-
I am not sure. But when I make that line a decription then I get a new codeunit error and so on..Ufuk Asci
Pargesoft0 -
hmmm... it seems for me strange... I think problem will be somewhere else...
which version of Navision you are using? 4.00? 4.00 update 1? 4.00 ServicePack 1?0 -
I am using 4.0. Meanwhile I have to say that I am an instructor in a CPLS.
Have you ever tried to change a caption in G/L Account form in 4.0? Have you ever got any error like that?
I am very new in development and so I think it is very hard to solve that problem without reinstalling the program. (if it works?)Ufuk Asci
Pargesoft0 -
Yes, it is working without problem.
1) Try to do that on a new fresh cronus DB copied from install CD. Is it working or not?
2) Try to do that with Navision 4.00 wiht update 1 (I think that you can download it on MIBUSO or you can ask Microsoft)0 -
Thanks a lot.
I tried using new database but I did not try to update Navision.
Best RegardsUfuk Asci
Pargesoft0 -
Finally I solved the problem. \:D/
Especially users from Turkey have to pay attention to the error mentioned above. Changing ACTION TO ACTİON and CODEUNIT to CODEUNİT in CU1 solves the problem.
UfukUfuk Asci
Pargesoft0
Categories
- All Categories
- 75 General
- 75 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
