Creating PDF of Order Confirmation: PDF is blank? (12 replies)
Yes, we set up Customization directories for the IMAN and ADMIN users.
So, I just tested this 2 ways and I still can't quite get it to print, but I was able to generate different errors.
- Remove customization directories entirely (not sure if that's what you were getting at). Put full file path to custom Order.rpt form in the "Order Form" field. Error: Accpac Print Error Crystal Reports Error: The type initializer for 'a4wcrInterop.ParameterDialogConstant' threw an exception. Error while exporting report to file.
- Added customization directories back. Put just the .rpt name in the "Order Form" map field. Error: Automation error The remote procedure call failed.
I see this in Errors.txt but I think it might relate to attempt #1.
Accpac Print Error Crystal Reports Error: The type initializer for 'a4wcrInterop.ParameterDialogConstant' threw an exception.
Error while exporting report to file.
Time='04/01/20 08:15:45' App='Sage300PrintSpooler:2.1.0' ADO-version='6.3' Computer='ECHOSAGE'
Method: AccpacPrintCoordinator.HandleError
Number: 11154 = &H2B92 = vbObjectError + 2147232658 = ERRMAP_APP_FIRST + 2147227460
Source: Sage300V62Printer.PrintReport
Description: Accpac Print Error Crystal Reports Error: The type initializer for 'a4wcrInterop.ParameterDialogConstant' threw an exception.
Error while exporting report to file.
Call Stack: AccpacPrintCoordinator.HandleError(aecAccpacErrCollection={IAccpacErrors}) -----------
Env: lCount=1, sErrReason={Text}
Value Of sErrReason:
'Crystal Reports Error: The type initializer for 'a4wcrInterop.ParameterDialogConstant' threw an exception.
Error while exporting report to file.'
Accpac Print Error Crystal Reports Error: The type initializer for 'a4wcrInterop.ParameterDialogConstant' threw an exception.
Error while exporting report to file.
Time='04/01/20 08:17:08' App='Sage300PrintSpooler:2.1.0' ADO-version='6.3' Computer='ECHOSAGE'
Method: AccpacPrintCoordinator.HandleError
Number: 11154 = &H2B92 = vbObjectError + 2147232658 = ERRMAP_APP_FIRST + 2147227460
Source: Sage300V62Printer.PrintReport
Description: Accpac Print Error Crystal Reports Error: The type initializer for 'a4wcrInterop.ParameterDialogConstant' threw an exception.
Error while exporting report to file.
Call Stack: AccpacPrintCoordinator.HandleError(aecAccpacErrCollection={IAccpacErrors}) -----------
Env: lCount=1, sErrReason={Text}
Value Of sErrReason:
'Crystal Reports Error: The type initializer for 'a4wcrInterop.ParameterDialogConstant' threw an exception.
Error while exporting report to file.'
Any suggestions on what I might need to fix here?
I am trying to create a PDF of an order confirmation and I've encountered issues with 2 different forms. Hoping you can advise me?
Route 1: custom form: Ideally: I'd go this route: I use the Order Confirmation Print dialog in the Sage 300 connector. I use the "Order Form" map transform to point to the specific Crystal Report I want. When I do that, I get this error consistently:
Accpac Print Error Crystal Reports Error: The type initializer for 'a4wcrInterop.ParameterDialogConstant' threw an exception. Error while exporting report to file.
Can you help me understand this? From what I've read online it seems like there's a Crystal dll that needs to be registered on the machine but I'm not sure.
Route 2: Basic OE Conf Form: Just as a test, I tried to print the regular Order Confirmation Form. In the "Order Form" Map I tried both of these things and they both printed a totally blank PDF.
Tried: OECONF01.rpt
Tried: E:\Sage\Sage300\Programs\OE66A\ENG\OECONF01.rpt
I can easily print this form through the Sage 300 O/E Forms dialog. Why is it producing a blank PDF?
Thanks for any advice.