Merge pull request 'master-pbom-lhj0827' (#12) from master-pbom-lhj0827 into feature/DM/nflg-bom-transition

Reviewed-on: http://192.168.0.40:3000/root/nflg_project/pulls/12
This commit is contained in:
10002327 2024-08-27 08:44:36 +08:00
commit 0e9c573068
1 changed files with 4 additions and 0 deletions

View File

@ -265,6 +265,10 @@ public class BomNewPbomExportToSAPImpl implements IBomNewPbomExportToSAP {
t.setIDNRK(""); t.setIDNRK("");
t.setPOTX1(child.getMaterialDesc()); t.setPOTX1(child.getMaterialDesc());
} }
//项目类别为F项则给POTX1 赋值来源EBOM的父级物料编码 by luohj 20240826
if(ProjectTypeInputTypeEnum.ProjectTypeEnum.TYPE_F.getValue().equalsIgnoreCase(child.getProjectType())){
t.setPOTX1(child.getSourceParentMaterialNo());
}
t.setChildRowId(child.getRowId()); t.setChildRowId(child.getRowId());
return t; return t;
} }