PInstanceProcessData.insertPInstanceParam(this, pinstance, "30", "regularization", strregularization, vars.getClient(), vars.getOrg(), vars.getUser());
String strabc = vars.getStringParameter("inpabc");
PInstanceProcessData.insertPInstanceParam(this, pinstance, "40", "ABC", strabc, vars.getClient(), vars.getOrg(), vars.getUser());
ProcessBundle bundle = ProcessBundle.pinstance(pinstance, vars, this);
new ProcessRunner(bundle).execute(this);
PInstanceProcessData[] pinstanceData = PInstanceProcessData.select(this, pinstance);
myMessage = Utility.getProcessInstanceMessage(this, vars, pinstanceData);
} catch (ServletException ex) {
myMessage = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage());
if (!myMessage.isConnectionAvailable()) {
bdErrorConnection(response);
return;
} else vars.setMessage(tabId, myMessage);
}
//close popup
if (myMessage!=null) {
if (log4j.isDebugEnabled()) log4j.debug(myMessage.getMessage());
vars.setMessage(tabId, myMessage);
}
printPageClosePopUp(response, vars);
} else if (vars.commandIn("SAVE_BUTTONUpdateQty106")) {
String strM_Inventory_ID = vars.getGlobalVariable("inpKey", windowId + "|M_Inventory_ID", "");
@SuppressWarnings("unused")
String strupdateqty = vars.getStringParameter("inpupdateqty");
String strProcessing = vars.getStringParameter("inpprocessing");
OBError myMessage = null;
try {
String pinstance = SequenceIdData.getUUID();
PInstanceProcessData.insertPInstance(this, pinstance, "106", (("M_Inventory_ID".equalsIgnoreCase("AD_Language"))?"0":strM_Inventory_ID), strProcessing, vars.getUser(), vars.getClient(), vars.getOrg());
ProcessBundle bundle = ProcessBundle.pinstance(pinstance, vars, this);
new ProcessRunner(bundle).execute(this);
PInstanceProcessData[] pinstanceData = PInstanceProcessData.select(this, pinstance);
myMessage = Utility.getProcessInstanceMessage(this, vars, pinstanceData);
} catch (ServletException ex) {
myMessage = Utility.translateError(this, vars, vars.getLanguage(), ex.getMessage());
if (!myMessage.isConnectionAvailable()) {
bdErrorConnection(response);
return;
} else vars.setMessage(tabId, myMessage);
}
//close popup
if (myMessage!=null) {
if (log4j.isDebugEnabled()) log4j.debug(myMessage.getMessage());
vars.setMessage(tabId, myMessage);
}
printPageClosePopUp(response, vars);
} else if (vars.commandIn("SAVE_BUTTONProcessing107")) {
String strM_Inventory_ID = vars.getGlobalVariable("inpKey", windowId + "|M_Inventory_ID", "");
@SuppressWarnings("unused")
String strprocessing = vars.getStringParameter("inpprocessing");
String strProcessing = vars.getStringParameter("inpprocessing");
OBError myMessage = null;
try {
String pinstance = SequenceIdData.getUUID();
PInstanceProcessData.insertPInstance(this, pinstance, "107", (("M_Inventory_ID".equalsIgnoreCase("AD_Language"))?"0":strM_Inventory_ID), strProcessing, vars.getUser(), vars.getClient(), vars.getOrg());
ProcessBundle bundle = ProcessBundle.pinstance(pinstance, vars, this);
new ProcessRunner(bundle).execute(this);
PInstanceProcessData[] pinstanceData = PInstanceProcessData.select(this, pinstance);
myMessage = Utility.getProcessInstanceMessage(this, vars, pinstanceData);
} catch (ServletException ex) {