无备料领料-材料出库记录启源id和单号
This commit is contained in:
parent
e3ce6d8831
commit
7b7fa5bb6e
|
|
@ -87,6 +87,7 @@ public class NoItemsDeliverMaterialRule implements IRule<PurchaseInVO> {
|
||||||
PurchaseInHeadVO head = inVO.getHead();
|
PurchaseInHeadVO head = inVO.getHead();
|
||||||
PurchaseInBodyVO[] bodys = inVO.getBodys();
|
PurchaseInBodyVO[] bodys = inVO.getBodys();
|
||||||
String pkOrg = head.getPk_org();
|
String pkOrg = head.getPk_org();
|
||||||
|
String vbillcode = head.getVbillcode();
|
||||||
// 判断是否是精密铸造(C038)
|
// 判断是否是精密铸造(C038)
|
||||||
if (!"null".equals(orgId) && orgId.equals(pkOrg)) {
|
if (!"null".equals(orgId) && orgId.equals(pkOrg)) {
|
||||||
Map<String, String> configParams = MyHelper.getConfigParams("jm-config", null);
|
Map<String, String> configParams = MyHelper.getConfigParams("jm-config", null);
|
||||||
|
|
@ -207,6 +208,8 @@ public class NoItemsDeliverMaterialRule implements IRule<PurchaseInVO> {
|
||||||
itemVO.setAttributeValue("nquotastnum", nshouldnum);// 定额用量
|
itemVO.setAttributeValue("nquotastnum", nshouldnum);// 定额用量
|
||||||
itemVO.setAttributeValue("nquotnum", nshouldnum);// 主定额用量
|
itemVO.setAttributeValue("nquotnum", nshouldnum);// 主定额用量
|
||||||
itemVO.setFsupplytype(1);// 供应方式 一般发料=0,定量发料=1
|
itemVO.setFsupplytype(1);// 供应方式 一般发料=0,定量发料=1
|
||||||
|
itemVO.setAttributeValue("vbdef34", vbillcode);// 폘都흙욋데데뵀
|
||||||
|
itemVO.setAttributeValue("vbdef35", body.getVbdef20());// 폘都흙욋데契ID
|
||||||
itemVO.setStatus(VOStatus.NEW);
|
itemVO.setStatus(VOStatus.NEW);
|
||||||
itemVOS.add(itemVO);
|
itemVOS.add(itemVO);
|
||||||
// 调用无备料领料的标准业务方法
|
// 调用无备料领料的标准业务方法
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue