*/
public VOListResponse insertWarehouseMotives(ArrayList list,String serverLanguageId,String username,String defCompanyCodeSys01SYS03) throws Throwable {
Connection conn = null;
try {
if (this.conn==null) conn = getConn(); else conn = this.conn;
MotiveVO vo = null;
Map attribute2dbField = new HashMap();
attribute2dbField.put("warehouseMotiveWAR04","WAREHOUSE_MOTIVE");
attribute2dbField.put("progressiveSys10WAR04","PROGRESSIVE_SYS10");
attribute2dbField.put("enabledWAR04","ENABLED");
attribute2dbField.put("itemTypeWAR04","ITEM_TYPE");
attribute2dbField.put("qtySignWAR04","QTY_SIGN");
BigDecimal progressiveSYS10 = null;
Response res = null;
for(int i=0;i<list.size();i++) {
vo = (MotiveVO)list.get(i);
vo.setEnabledWAR04("Y");
// insert record in SYS10...
progressiveSYS10 = TranslationUtils.insertTranslations(vo.getDescriptionSYS10(),username,conn);
vo.setProgressiveSys10WAR04(progressiveSYS10);
// insert into WAR04...
res = org.jallinone.commons.server.QueryUtilExtension.insertTable(
conn,
new UserSessionParameters(username),