I’m trying to open the printPoForm from a custom screen. However it doesnt seem to be working -
This is the function as I currently have it written -
var childwnd = toolbox.openWindow(“printPoForm”, 0, 0, 0);
var params = new Object;
params.pohead_id = _results.id();
params.reportname = “PurchaseOrder”;
var tmp = toolbox.lastWindow().set(params);
I’m not getting an error and I’ve used similar code to get screen to open before. Any help would be appreciated.