pbom发布和导入SAP时项目类别为F项,则给POTX1 赋值来源EBOM的父级物料编码

This commit is contained in:
10002327 2024-08-27 08:41:56 +08:00
parent 03158f4578
commit 58ac1426be
1 changed files with 4 additions and 0 deletions

View File

@ -265,6 +265,10 @@ public class BomNewPbomExportToSAPImpl implements IBomNewPbomExportToSAP {
t.setIDNRK("");
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());
return t;
}