C / A L question
doubtfire
Member Posts: 60
Under the C/AL Symbol Menu, on the 1st column there is a variable name , when I choose the Functions I could see those functions I want. My problem is I do not know where they come from. Any ideas or hints where they are located. Thanks.
0
Answers
-
The question is: What for a kind of variable type :?:
Automation :?: Record :?: Dialog :?: REcREf :?:, Codeunit :?: REport :?:, etc.Do you make it right, it works too!0 -
I don't know ! That's why I ask and could you please tell me where I could start searching ???. I have tried the "C/AL Code", "C/AL Globals".. not there .... just not there !!!!0
-
Are you asking where the custom function names are stored?
You're not making sence to me.
View-Globals->Variable - is that what your talking about?0 -
Perhaps he's looking for where
STSTEM
FILE
DIALOG
ACTION
CODEUNIT
FORM
DATABASE
REPORT
DATAPORT
comes from :?:0 -
on this reason i ask which variables he mean .....Do you make it right, it works too!0
-
Thank you guys for putting questions and suggestions. The variable I am looking is "rec", which I do not know whether it is a system variable or customized variable. Could you please tell me how I can search like in this example if I do not know where "it" hides. Thank you !0
-
The Variable Rec (for example in a Form or a table) is the Current Record. Basicly the table on which the form is build / in table the table self. It's nat an variable that you define under Globals or locals. It's a system variable that give you access to your Current Rec. Equal there is the xRec variable in C/AL Symbel Menu. This is your CurrRec (xRec) before you make some changes on CurrRec (for example field modifications).
If you see this Variable (Rec) in a codeunit which only have the OnRun() Function, than the Rec is the Parameter. This you can see only on the Properties of this Function (OnRun())
It's that what you're looking for :?:
RegardsDo you make it right, it works too!0 -
Thank you for the detailed explanation. On the right side of the C/AL Symbol Menu. Where are those functions under rec--> Functiions --> functionname1... they should be hiding somewhere !?!?0
-
These are function, which are defined in the table that the "Rec" use.
Example:
You open the form 31 in design mode. Now press F5 for C/AL Symbol menu. On the left side you see Rec in the middle "Functions" and on the right side a function like (i've no Nav here at home so i contrive here a function) "CopyItemToLine". Where can u see the source behind the function :?: Close the form (31) an go to the table of form 31 (in our case its table 27 Item). Open it in design mode. Go to the Global variables (View -> globals). Select the register Functions. Now you can see, the function from the table (the Table is defined as Rec in you form or table self)and our, contrived, function "CopyItemToLine".
Understandable ?
RegardsDo you make it right, it works too!0 -
Thank you again. Those functions are under the table code. I have learned a lot from YOU guys. Salute. Vielen Dank.0
-
Bitte, gern geschehen.
No problem. You're welcome.
So please write [Solved] infront of the subject in your first post (Button EDIT)
RegardsDo you make it right, it works too!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
- 322 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
