Hello,
for PRINT DOCUMENT doesn't support printing out at the client's(user's) default printer, we tried to use DISPLAY DOCUMENT instead.
But now the problem is, that display document doesn't display all the documents as expected, instead only 1 document is delivered, the others are missing; in other words: DISPLAY DOCUMENT doesn't deliver the same results als PRINT DOCUMENT
More details:
we have a business object PrintPackage, that has multiple objects of type PrintRecord in inline presentation. In object PrintRecord, we havefor each document type a Yes/No field, where the user can check this field, if he wants the document type to be printed out.
The rule for printing is:
If PrintPackage.PrintRecord WAS CHANGED Then
PrintPackageDoPrint // implements the DISPLAY DOCUMENT statements
FIND PrintRecord WHERE PrintRecord.PrintPackage=PrintPackage
PrintRecord.Active='No'
PrintRecord.NrCopies=0
The find statement unchecks the checkboxes after printing, what works fine with PRINT DOCUMENT, but works WRONG with DISPLAY DOCUMENT.
It seems, that PrintRecord.Active='No' is executed before the DISPLAY DOCUMENT statement is finished (with the Continue-buttons and so on).
Is this a bug?
This functionality is very important for us
Kind regards
Chris