码迷,mamicode.com
首页 > 其他好文 > 详细

OAF 标准的供应商管理员批准流程

时间:2015-05-25 14:22:05      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:

标准供应商审批流程

--初始化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);

 

OAF 标准的供应商管理员批准流程

标签:

原文地址:http://www.cnblogs.com/huanghongbo/p/4527719.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!