and don’t forgot cleanup after delete custom field.
This code can be run to both generate the PDF parameters and send the PDF in one hit, to either negate the need to create the PDF parameters or to override the existing PDF parameters. Note the expansion of the ATTR_ data. Now it would be nice to be able to change the email subject and body. DECLARE LAYOUT_NAME_ VARCHAR(2000):='PurchaseOrderPrintRep.rdl'; REPORT_ID_ VARCHAR2(2000):= 'PURCHASE_ORDER_PRINT_REP'; REPORT_ATTR_ VARCHAR2(2000):= ''; PARAMETER_ATTR_ VARCHAR2(2000):= ''; DISTRIBUTION_LIST_ VARCHAR2(2000):= ''; INSTANCE_ATTR_ VARCHAR2(2000):= ''; PRINT_JOB_ID_ VARCHAR2(2000):= ''; PRINT_ATTR_ VARCHAR2(2000):= ''; PRINTER_ID_ VARCHAR2(2000):= 'PDF_PRINTER'; PUR_ORDER_PRINT_OPTION_ VARCHAR(2000) := 'Order'; --PUR_ORDER_PRINT_OPTION_ VARCHAR(2000) := 'Order Work Copy'; ORDER_NO_ VARCHAR2(2000):= ORDER_NO; RESULT_KEY_ VARCHAR2(2000):= ''; ATTR_ VARCHAR2(2000):= '';BEGIN REPORT_ATTR_:= 'REPORT_ID'||CHR(31)||'PURCHASE_ORDER_PRINT_REP'||CHR(30)||'LAYOUT_NAME'||CHR(31)||'PurchaseOrde
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.