Question.
You work in an international company which is called Wiikigo. And you're employed as the Developer
for Microsoft Dynamics NAV. Another programmer has written a report. But it is not producing any output.
Therefore, your company asks you to find out the reason. So what may cause this?
A.The request form was not used.
B.Calcsums was not called in the OnAfterGetRecord trigger.
C.The report has been filtered with code so that no records match the filter(s).
D.The PrintOnlyIfDetail property has been set to true on the outermost indented DataItem.
I am confused between C and D,
can anybody guide me
0
Comments
Option D.
Regards.
Sounds like a poorly written question to me. It could be either C or D. And since there is no idea of the actual structure of the report (whether it is just body sections, headers, footers, etc) it is impossible to answer correctly.
I would lean towards C. Most reports will have a header section for the very first data item that will always print. Answer D references the first indented data item. That would imply that one sections of that data item are not printing instead of the entire report as the question asks.
But again, it's a badly written question I think.
so no answer from me
|To-Increase|
The PrintOnlyIfDetail works if a dataitem has other dataitems indented. In D option, the property was set for the outermost DataItem... so this will never be the reason for data not printing, no matter what structure the report has.
Edit:On the example below what would be the outermost dataitem?
For me the outermost is DataItem2, since the definition of the word is "farthest out; remotest from the interior or center: the outermost limits". The interior or center would be DataItem1.
Also because I searched for the spanish translation and it is translated as the "last one".
Salut!
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
Maybe the question is not complete and it says at end: Select 2 answers that apply.
NAV Developer
Anyway I took the exam a few days ago and there was a question quite similar to this one. I must say that the possible answers where much more clears than those ones --> it did not say the outermost / the innermost, but it said the most indented / the less indented.
Salut!
Author of the book Implementing Dynamics NAV 2013
Cursos Dynamics NAV (spanish) : http://clipdynamics.com/ - A new lesson released every day.
You're right!
It works as expected... More or Less...