Important Report functions
There are many functions to save reports in several formats available in Dynamcis NAV. These functions are presented as follows:
Function |
Description |
SAVEASXML |
Saves a report as an .xml file on the computer that is running Microsoft Dynamics NAV Server:
[Ok :=] Report.SAVEASXML(Number, FileName [,SystemPrinter][,Rec])
[Ok :=] Report.SAVEASXML(FileName)
|
WORDXMLPART |
Returns the report data structure as structured XML that is compatible with Word custom XML parts:
String := ReportVariable.WORDXMLPART([ExtendedFormat])
|
WORDLAYOUT |
Gets the Word report layout that is used on a report and returns it as a data stream:
[Ok :=] ReportVariable.WORDLAYOUT(InStream)
[Ok :=] REPORT.WORDLAYOUT(Number, InStream) |
Get Mastering Microsoft Dynamics NAV 2016 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.