0

我试图修改 IDL 模块中的 ProductsProcess.java 但不知何故不是很成功。谁可以帮我这个事。

// 搜索产品制造属性 (M_Product_Org)

  ProductOrg productOrg = findDALInstance(false, ProductOrg.class, new Value(
    "organization", Organization,"product", product));
  if (productOrg == null) {
      ProductOrg proOrg = OBProvider.getInstance().get(ProductOrg.class);
      proOrg.setActive(true);
      proOrg.setOrganization(rowOrganization); 
      proOrg.setProduct(product);
      proOrg.setStorageBin("DEFAULT");
      OBDal.getInstance().save(proOrg);
      OBDal.getInstance().flush();
} else {
      proOrg.setCapacity (100);  
      proOrg.setMinimumLeadTime(1);
      OBDal.getInstance().save(proOrg);
      OBDal.getInstance().flush();

}

4

0 回答 0