From 58ac1426be283f3dce63ef52f211b337df7720f8 Mon Sep 17 00:00:00 2001 From: 10002327 Date: Tue, 27 Aug 2024 08:41:56 +0800 Subject: [PATCH] =?UTF-8?q?pbom=E5=8F=91=E5=B8=83=E5=92=8C=E5=AF=BC?= =?UTF-8?q?=E5=85=A5SAP=E6=97=B6=E9=A1=B9=E7=9B=AE=E7=B1=BB=E5=88=AB?= =?UTF-8?q?=E4=B8=BAF=E9=A1=B9=EF=BC=8C=E5=88=99=E7=BB=99POTX1=20=E8=B5=8B?= =?UTF-8?q?=E5=80=BC=E6=9D=A5=E6=BA=90EBOM=E7=9A=84=E7=88=B6=E7=BA=A7?= =?UTF-8?q?=E7=89=A9=E6=96=99=E7=BC=96=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../product/bomnew/service/BomNewPbomExportToSAPImpl.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomExportToSAPImpl.java b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomExportToSAPImpl.java index db3ea11b..81ba2b60 100644 --- a/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomExportToSAPImpl.java +++ b/nflg_project_dev/nflg-bom-new/src/main/java/com/nflg/product/bomnew/service/BomNewPbomExportToSAPImpl.java @@ -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; }