haorenhui
2023-10-25 a5530f694660a51af01c7d9fc6e7453c2286309d
Merge branch 'test'
已修改1个文件
6 ■■■■■ 文件已修改
_Main/BL/Type_MacroPlan/Method_DoASyncMappingOperationBOMData.qbl 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Method_DoASyncMappingOperationBOMData.qbl
@@ -94,9 +94,15 @@
        toCreateBomList := toCreateBomList.Union( alterCodes);
        traverse( toCreateBomList, Elements, key ) {
            boms := selectset( bomList, Elements, item, item.ComponentType() = "P" and item.OrganCode() + item.ComponentCode() = key );
            if( boms.Size()=0){
              boms := selectset( bomList, Elements, item, item.ComponentType() = "P" and item.OrganCode() + item.AlternativeMaterialCode() = key );
            }
            if( boms.Size()>0){
            bom := boms.First();
            this.MappingOperationBOMDataSupplyPurchase( bom.OrganCode(), bom.ComponentCode(), bom.ComponentType());
        }
        }
    }