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
Problem with DISPLAY DOCUMENT
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
-
- Posts: 68
- Joined: Wed Oct 04, 2006 2:46 pm
The problem is, that DISPLAY DOCUMENT only delivers one document, although two checkboxes were activated.
---> After click onto "CONTINUE", AwareIM navigates back to the previous view - in that case to the PrintPackage overview.
---> PRINT DOCUMENT does the work fine and delivers all the documents.
After printing, the rule should clear the checkboxes.
PrintPackageDoPrint consists of:
Rule PrintPackageDoPrint
===========================
FIND PrintRecord WHERE PrintRecord.PrintPackageID=PrintPackage.PrintPackageID AND PrintRecord.Active='Yes'
Rule PrintPackageDoPrint2
===========================
If PrintRecord.PrintRecordText='Contract' Then
DISPLAY DOCUMENT PackageVerificationSheet
Rule PrintPackageDoPrint3
=========================
If PrintRecord.PrintRecordText='Creditcard Authorisation' Then
DISPLAY DOCUMENT CreditcardAuthorisationEnglish
kind regards
chris
---> After click onto "CONTINUE", AwareIM navigates back to the previous view - in that case to the PrintPackage overview.
---> PRINT DOCUMENT does the work fine and delivers all the documents.
After printing, the rule should clear the checkboxes.
PrintPackageDoPrint consists of:
Rule PrintPackageDoPrint
===========================
FIND PrintRecord WHERE PrintRecord.PrintPackageID=PrintPackage.PrintPackageID AND PrintRecord.Active='Yes'
Rule PrintPackageDoPrint2
===========================
If PrintRecord.PrintRecordText='Contract' Then
DISPLAY DOCUMENT PackageVerificationSheet
Rule PrintPackageDoPrint3
=========================
If PrintRecord.PrintRecordText='Creditcard Authorisation' Then
DISPLAY DOCUMENT CreditcardAuthorisationEnglish
kind regards
chris
-
- Posts: 68
- Joined: Wed Oct 04, 2006 2:46 pm
Hello Support,
have you already found out where the problem is with the DISPLAY DOCUMENT statement?
I repeat it again, that PRINT DOCUMENT works fine!!!!
This is a very important issue for us. If this functionality doesn't work for 100 percent, we'll suffer a big setback on account of the printing issue.
Kind regards
Chris
have you already found out where the problem is with the DISPLAY DOCUMENT statement?
I repeat it again, that PRINT DOCUMENT works fine!!!!
This is a very important issue for us. If this functionality doesn't work for 100 percent, we'll suffer a big setback on account of the printing issue.
Kind regards
Chris
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
-
- Posts: 68
- Joined: Wed Oct 04, 2006 2:46 pm
Have send the BSV file.
Another question:
when there are the continue buttons for displaying more pdf documents displayed, and I click onto the URL to display the document,
an additional blank page is displayed.
(http://localhost:8080/cerberusdata/repo ... ortResults)
Is this blank page necessary or could it be prevented to display this page ?
That blank page is annoying for the users.
Kind regards
Chris
Another question:
when there are the continue buttons for displaying more pdf documents displayed, and I click onto the URL to display the document,
an additional blank page is displayed.
(http://localhost:8080/cerberusdata/repo ... ortResults)
Is this blank page necessary or could it be prevented to display this page ?
That blank page is annoying for the users.
Kind regards
Chris
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
-
- Posts: 68
- Joined: Wed Oct 04, 2006 2:46 pm
Hello,
I tried to reconstruct the BLANK BROWSER WINDOW PROBLEM:
I got the same results on a Windows XP SP2 system and on a SUSE LINUX 10 with
Firefox 1.5.0.4 AND Acrobat Reader
- I started Library live sample at the AWAREIM website
- login as operator
- start report "borrowed items"
- Text appears: "Please click here to see document"
- LINUX/Windows asks me: You have chosen to open RDDOc49246.PDF, which is a: PDF document from http://208.109.48.98
What should Firefox do with this file?
( o ) Open with [ acrocread (default) ]
( ) save to disk
[X] do this automatically for files ... (is checked)
- I click onto "Open"
- then Acrobat Reader Opens the report RDDoc49246.PDF
- Additionally, a BLANK Firefox window without a URL is displayed, too.
- So what is with this blank browser window?
Bye the way, static PDF links like librarycasestudy.pdf are opened correctly in a new browser window WITHOUT a blank window.
Kind regards
Chris
I tried to reconstruct the BLANK BROWSER WINDOW PROBLEM:
I got the same results on a Windows XP SP2 system and on a SUSE LINUX 10 with
Firefox 1.5.0.4 AND Acrobat Reader
- I started Library live sample at the AWAREIM website
- login as operator
- start report "borrowed items"
- Text appears: "Please click here to see document"
- LINUX/Windows asks me: You have chosen to open RDDOc49246.PDF, which is a: PDF document from http://208.109.48.98
What should Firefox do with this file?
( o ) Open with [ acrocread (default) ]
( ) save to disk
[X] do this automatically for files ... (is checked)
- I click onto "Open"
- then Acrobat Reader Opens the report RDDoc49246.PDF
- Additionally, a BLANK Firefox window without a URL is displayed, too.
- So what is with this blank browser window?
Bye the way, static PDF links like librarycasestudy.pdf are opened correctly in a new browser window WITHOUT a blank window.
Kind regards
Chris
-
- Posts: 68
- Joined: Wed Oct 04, 2006 2:46 pm
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact: