我试图在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();
}