fix:
1.订舱通知单分录变更
This commit is contained in:
parent
fed2764e22
commit
ce129ac8e0
@ -68,9 +68,11 @@ public class VerifyExistOrPush extends AbstractOperationServicePlugIn {
|
|||||||
e.setCancel(true);
|
e.setCancel(true);
|
||||||
throw new KDBizException("当前单据没有下游单,不允许变更");
|
throw new KDBizException("当前单据没有下游单,不允许变更");
|
||||||
}
|
}
|
||||||
DynamicObjectCollection yemEsSalescontracS = dataEntity.getDynamicObjectCollection("yem_creditdetail");
|
if ("yem_es_storagetrans".equals(entityNumber)) {
|
||||||
if (yemEsSalescontracS.size()>0) {
|
DynamicObjectCollection yemEsSalescontracS = dataEntity.getDynamicObjectCollection("yem_creditdetail");
|
||||||
throw new KDBizException("信报明细分录存在分录,不允许变更!!!");
|
if (yemEsSalescontracS.size() > 0) {
|
||||||
|
throw new KDBizException("信报明细分录存在分录,不允许变更!!!");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//变更单未审核时,不允许下推单据
|
//变更单未审核时,不允许下推单据
|
||||||
|
Loading…
Reference in New Issue
Block a user