|
@@ -135,16 +135,16 @@ public class M25PfxxPlugin extends AbstractPuPfxxPlugin {
|
|
|
orderHVO.setFinvoicetype(0);
|
|
|
vo.setParentVO(orderHVO);
|
|
|
AggregatedValueObject[] savedVos = (new InvoiceInsertAction()).insert(new InvoiceVO[]{(InvoiceVO) vo}, (InvoiceUIToBSEnv) null);
|
|
|
- try {
|
|
|
- HashMap<String, Object> pfparam = new HashMap<String, Object>(); // 该参数用于控制自动审批时按钮的审批状态
|
|
|
- pfparam.put(PfParameterUtil.ORIGIN_VO_PARAMETER, CloneUtil.deepClone(savedVos));
|
|
|
- //采购发票审批
|
|
|
- NCLocator.getInstance().lookup(IPFBusiAction.class) .processBatch("APPROVE", "25",savedVos, null, null, pfparam);
|
|
|
- } catch (BusinessException e) {
|
|
|
- // TODO 自动生成的 catch 块
|
|
|
- ExceptionUtils.wrappException(e);
|
|
|
- return null;
|
|
|
- }
|
|
|
+// try {
|
|
|
+// HashMap<String, Object> pfparam = new HashMap<String, Object>(); // 该参数用于控制自动审批时按钮的审批状态
|
|
|
+// pfparam.put(PfParameterUtil.ORIGIN_VO_PARAMETER, CloneUtil.deepClone(savedVos));
|
|
|
+// //采购发票审批
|
|
|
+// NCLocator.getInstance().lookup(IPFBusiAction.class) .processBatch("APPROVE", "25",savedVos, null, null, pfparam);
|
|
|
+// } catch (BusinessException e) {
|
|
|
+// // TODO 自动生成的 catch 块
|
|
|
+// ExceptionUtils.wrappException(e);
|
|
|
+// return null;
|
|
|
+// }
|
|
|
return savedVos[0];
|
|
|
}
|
|
|
|