I have a custom screen that optimizes the workflow of some coworkers. I have created the js that will post production to work orders somewhat silently in the background.
var _postp = toolbox.openWindow("postProduction",mywindow,0,1);
postp.findChild("qty").text = _produced.text
This works great until I need to do the same thing on a Lot Serial controlled item.
Somehow I need to be able to controll the screen created by
I have the Lot Serial and I have the Quantity. But I cant find a way to pass those variables into the screen.
If I can get that Step All I need to do is
_bc.text = _ls.number
_bcQty = _qty
After looking into the code further, I can see that I can set the pPresetLotnum parameter in the distributeInventory::SeriesAdjust function. This would also accomplish what i want to do. But I have no way of doing this. I think in my case I will simply have to re-write the core code into a JS script and totally bypass the _postp.sPost() function.