ReportOutput.printTextUTF8 Method [AX 2012]
Prints a report to a UTF-8 format.
The following example shows a call to the printTextUTF8 method.
void printTextUTF8()
{
ReportOutput reportOutput;
printJobHeader printJobHeader;
while select printJobHeader where printJobHeader.createdDateTime >=
str2datetime("01/01/2011 12:00:00", 123)
{
print printJobHeader.jobDescription;
reportOutput = new ReportOutput(printJobHeader);
reportOutput.printTextUTF8("c:\\report.txt");
}
}
Community Additions
ADD
Show: