Hi Adempiere Community
I created a personalized form in adempiere which among other things creates a sale invoice, at the end of the process I require open invoice created and show it to the user, anyone know how can I open the window and show a specific invoice from a custom form or process?
Thank you for help in advance
The zoom across function does something like that. See client/src/org.compiere.apps.AZoomAcross.java.
* Launch Zoom
* @param pp KeyPair
private void launchZoom (final ZoomInfoFactory.ZoomInfo zoomInfo)
final int AD_Window_ID = zoomInfo.windowId;
final MQuery query = zoomInfo.query;
logger.info("AD_Window_ID=" + AD_Window_ID
+ " - " + query);
AWindow frame = new AWindow();
if (!frame.initWindow(AD_Window_ID, query))
if (Ini.isPropertyBool(Ini.P_OPEN_WINDOW_MAXIMIZED) )
frame = null;
} // launchZoom
Hope this helps.
Hi Mike, thank you for your quick response.
I think this method you suggest me is to open the window using the desktop client, opening the window I'm centrate do is using web methods and I have a conflict here because I can not use swing classes. You know if there is another class that allows me to do that on web?
Thanks a lot!!