dao.executeUpdate();
}
public static void insertri(Row correspondenceRow, int r, int ri, String ld, String txt256, String tc, double tamt, String rDate) {
DAO dao = DAO.getInstance();
String lc = FamilyClass.getLocalCurrency();
double xr = TaxClass.getXR(lc, tc, rDate);//USE TaxClass
double lamt = tamt * xr;
dao.update(Resources.INSERT_RI_VALUE_SQL_CORR);
dao.setObject(1, r);
dao.setObject(2, ri);
dao.setObject(3, txt256);
dao.setObject(4, ld);
dao.setObject(5, tc);
dao.setObject(6, tamt);
dao.setObject(7, lc);
dao.setObject(8, xr);
dao.setObject(9, lamt);
dao.setObject(10, ObjectUtil.findNewCell(correspondenceRow, "T", "NS").getColumnValue());
dao.setObject(11, ObjectUtil.findNewCell(correspondenceRow, "T", "P").getColumnValue());
dao.setObject(12, ObjectUtil.findNewCell(correspondenceRow, "T", "PA").getColumnValue());
dao.setObject(13, ObjectUtil.findNewCell(correspondenceRow, "TI", "M").getColumnValue());
dao.setObject(14, ObjectUtil.findNewCell(correspondenceRow, "TI", "MUOM").getColumnValue());
dao.setObject(15, ObjectUtil.findNewCell(correspondenceRow, "TI", "MQUAN").getColumnValue());
dao.setObject(16, ObjectUtil.findNewCell(correspondenceRow, "TI", "MPRICE").getColumnValue());
dao.setObject(17, ObjectUtil.findNewCell(correspondenceRow, "TI", "IM").getColumnValue());
dao.setObject(18, ObjectUtil.findNewCell(correspondenceRow, "TI", "IP").getColumnValue());
dao.setObject(19, ObjectUtil.findNewCell(correspondenceRow, "TI", "IPUOM").getColumnValue());
dao.setObject(20, ObjectUtil.findNewCell(correspondenceRow, "TI", "IPQUAN").getColumnValue());
dao.setObject(21, ObjectUtil.findNewCell(correspondenceRow, "TI", "IPPRICE").getColumnValue());
dao.executeUpdate();
// System.err.println("ObjectUtil.findNewCell(correspondenceRow, 'TI', 'MPRICE') = " + ObjectUtil.findNewCell(correspondenceRow, "TI", "MPRICE").getColumnValue());
}