如果是事后补单,不推送bip
This commit is contained in:
parent
006a7f0293
commit
ad989848b3
|
@ -151,6 +151,10 @@ public class YongyouBIPOperation extends AbstractOperationServicePlugIn implemen
|
|||
if("audit".equals(eok)){
|
||||
prinfo = BusinessDataServiceHelper.loadSingle(dos[i].getPkValue(),dos[i].getDataEntityType().getName());
|
||||
}
|
||||
//如果是事后补单,不推送bip
|
||||
if(prinfo.getBoolean("supplementflag")){
|
||||
continue;
|
||||
}
|
||||
//如果bip单据号为空则需要调用bip接口,否则不需要(操作之后系统会把对象的所有属性加载出来)
|
||||
if(!DobeDWUtils.isEmpty(prinfo.getString("qeug_yynum"))){
|
||||
this.operationResult.setSuccess(false);
|
||||
|
|
Loading…
Reference in New Issue