QA: Victor, always use getSQLValue*Ex instead of getSQLValue

This commit is contained in:
teo_sarca 2009-01-15 06:26:51 +00:00
parent 6f5bd0e5a1
commit 18f5fa4585
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ public class Doc_InOut extends Doc
//Define if Outside Processing
String sql = "SELECT PP_Cost_Collector_ID FROM C_OrderLine WHERE C_OrderLine_ID=? AND PP_Cost_Collector_ID IS NOT NULL";
int PP_Cost_Collector_ID = DB.getSQLValue(getTrxName(), sql, new Object[]{line.getC_OrderLine_ID()});
int PP_Cost_Collector_ID = DB.getSQLValueEx(getTrxName(), sql, new Object[]{line.getC_OrderLine_ID()});
docLine.setPP_Cost_Collector_ID(PP_Cost_Collector_ID);
//
log.fine(docLine.toString());