Hi ,
I'm doing using this way in python AS
from java.util import Hashtable
from psdi.webclient.system.controller import WebClientEvent
reportInfo=Hashtable()
reportInfo.put("appname", "PO");
reportInfo.put("reportname", "poprint.rptdesign")
reportInfo.put("whereclause", "ponum='" + mbo.getString("ponum") + "'")
sessioncontext=service.webclientsession().getAdaptorInstance()
webclientevent=WebClientEvent("RUNREPORTBYNAME", "mainrec", reportInfo, sessioncontext)
sessioncontext.queueEvent(webclientevent)
------------------------------
Abdelmonem Boughdiri
------------------------------
Original Message:
Sent: Mon October 18, 2021 09:44 AM
From: MAX092012
Subject: Perform direct print using Automation script
Hi All,
I would like to know whether there is a way to perform direct print on action launch point automation script on Maximo 7.6.1.2? I have button which invokes an automation script and based on some condition a custom report should get printed just the way how work order details report direct print works.
I see submitPrint method in ReportDialogBean which probably performs the direct print however I'm unable to invoke it in the automation script.
------------------------------
MAX092012
------------------------------
#Maximo
#AssetandFacilitiesManagement