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.
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 !!!!
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 !
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())
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 !?!?
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".
Answers
Automation :?: Record :?: Dialog :?: REcREf :?:, Codeunit :?: REport :?:, etc.
You're not making sence to me.
View-Globals->Variable - is that what your talking about?
http://www.BiloBeauty.com
http://www.autismspeaks.org
Something like that :?:
:-s
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
STSTEM
FILE
DIALOG
ACTION
CODEUNIT
FORM
DATABASE
REPORT
DATAPORT
comes from :?:
http://www.BiloBeauty.com
http://www.autismspeaks.org
He should explain the "why"...
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
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 :?:
Regards
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 ?
Regards
No problem. You're welcome.
So please write [Solved] infront of the subject in your first post (Button EDIT)
Regards