Does anyone know how to get a list of NAV 2016 reports that have a built-in example Word layout? For example. 1306 does have but 10572 doesn't. The only way I can see how to tell is to export the Report Object as .txt and then look in the file where you can see a
{
WORDLAYOUT
}
section. 10572 is Sales - Invoice GB by the way. So, this report will only be in the GB CRONUS UK Ltd. database I'd think.
0
Answers
I exported all Report Objects to .txt, used Dynamics NAV Object Text File Splitter v0.02.03 to split them and used Windows Explorer to search in the file contents.
Thanks to Dave for the tip.
allobj.setrange("object type","object type"::Report);
Allobj.Findset;
repeat
if report.wordlayout(allobj."object id) then
//do something
else
//report has no wordlayout
until allobj.next = 0;
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog