标准供应商审批流程
--初始化poplist LinkedList actionListText = new LinkedList(); LinkedList actionListValue = new LinkedList(); populateSupplierActions(paramOAPageContext, paramOAWebBean); populateBuyerActions(paramOAPageContext, paramOAWebBean); --审批选项的返回值为100 addAction(paramOAPageContext.getMessage("POS", "POS_SUPP_APPROVE_ACTN", null), 100); --触发页面的查找事件 if (paramOAPageContext.getParameter("GoBtn") != null) { try { localObject1 = Integer.valueOf(Integer.parseInt(paramOAPageContext.getParameter("ActionList"))); } catch (Exception localException1) { localObject1 = Integer.valueOf(-1); } } --被选择的值为审批 if (((Integer)localObject1).intValue() == 100) --执行批准方法 localObject4 = (String)paramOAPageContext.getApplicationModule(paramOAWebBean).invokeMethod("ameApproveSupplier", new Serializable[] { localObject3 }); oracle.apps.pos.onboard.server.FlexRegAMImpl; ameApproveSupplier --进入审批 String str = OnboardServerHelper.ameApproveSupplierReg(localNumber, paramString, getOADBTransaction()); oracle.apps.pos.onboard.server.OnboardServerHelper; --进行验证巴拉巴拉 --审批 else { if (paramOADBTransaction.isLoggingEnabled(1)) { paramOADBTransaction.writeDiagnostics("oracle.apps.pos.onboard.server.OnboardServerHelper", "Invoking method - approveSupplierReg", 1); } approveSupplierReg(paramNumber, paramOADBTransaction); updateActionHistory(paramOADBTransaction, paramNumber.toString(), "APPROVED", paramString, String.valueOf(paramOADBTransaction.getEmployeeId()), null); str1 = "APPROVED"; } --执行approveSupplierReg方法 localOracleCallableStatement = (OracleCallableStatement)paramOADBTransaction.createCallableStatement("BEGIN POS_VENDOR_REG_PKG.approve_supplier_reg(:1, :2, :3, :4); END;", -1);
时间: 2024-11-05 19:13:50