Variable value - not sure where is coming from
martinher562
Member Posts: 50
Hello again NAV experts,
I am very confused. I am working in modifying a report and I need help. There are two variables in this report called: QtyUOM and AvailToTake.
These variables are under DateItem "Bin Content".
I see that the values for these two variables is being assigned in the OnPreDataItem trigger of the Bin Content, but the values are not in the field menu. I do not know where these values are coming from. The values are not other variables or functions in the report. Please see attached and below to see how the code looks.
AvailToTake := CalcQtyAvailToTakeUOM();
QtyUOM := CalcQtyUOM();
Can someone please tell me where these values could possible located ?
I looked under code unit, query, function in the C/SIDE globals and I just do not know where the values are coming from.
I am very confused. I am working in modifying a report and I need help. There are two variables in this report called: QtyUOM and AvailToTake.
These variables are under DateItem "Bin Content".
I see that the values for these two variables is being assigned in the OnPreDataItem trigger of the Bin Content, but the values are not in the field menu. I do not know where these values are coming from. The values are not other variables or functions in the report. Please see attached and below to see how the code looks.
AvailToTake := CalcQtyAvailToTakeUOM();
QtyUOM := CalcQtyUOM();
Can someone please tell me where these values could possible located ?
I looked under code unit, query, function in the C/SIDE globals and I just do not know where the values are coming from.
0
Best Answers
-
Did you check Local Variables of that function ?0
-
those are functions in Bin Content table.1
-
Next time you get stuck with something like this you can put your cursor on the function name and then press CTRL+F12 and this will take you to where the function is defined, I.e. in this case the Bin Content table.6
Answers
-
Did you check Local Variables of that function ?0
-
@Sowkarthika Yes, I did and there is nothing there.0
-
those are functions in Bin Content table.1
-
Next time you get stuck with something like this you can put your cursor on the function name and then press CTRL+F12 and this will take you to where the function is defined, I.e. in this case the Bin Content table.6
-
@mohana_cse06 OMG THank you !!!!! I spent a full 8 hours looking for this hahahahaha. @Kishorm thanks for the shortcut. However, it did not work. I tried it in two different machines that have NAV2015 and one that has 2009. None the less. Thank you all for the help !!!!!!!0
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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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

