新增销售订单字段映射
- 在 AfterApprovingSynchronizeRuleMES 类中新增字段映射 - 将客户订单号和客户订单序号映射到销售订单的自定义字段 - 优化销售订单与 MES 系统的数据同步
This commit is contained in:
parent
69392ee61c
commit
5768663b2c
|
@ -188,8 +188,10 @@ public class AfterApprovingSynchronizeRuleMES implements IRule<SaleOrderVO> {
|
|||
// 传递电缆公司的组织编码
|
||||
detailItem.put("factoryId", transferCodeByPk(SalesOrgVO.getDefaultTableName(), SalesOrgVO.CODE, SalesOrgVO.PK_SALESORG, head.getPk_org()));
|
||||
detailItem.put("customMtId", null);
|
||||
detailItem.put("customNo", null);
|
||||
detailItem.put("customSN", null);
|
||||
|
||||
// 销售订单新增两个字段 vbdef22-->MES客户订单号 vbdef13-->MES客户订单序号
|
||||
detailItem.put("customNo", body.getVbdef22()); // 客户订单号
|
||||
detailItem.put("customSN", body.getVbdef13()); // 客户订单序号
|
||||
// 添加是否定制
|
||||
detailItem.put("customized", body.getVbdef18());
|
||||
detailItem.put("remarks", null);
|
||||
|
|
Loading…
Reference in New Issue