IDEMPIERE-4053 Can't get a conversion rate if ConvDate is not truncated

This commit is contained in:
Nicolas Micoud 2019-09-30 14:28:17 +02:00
parent 392abbc764
commit f579549cba
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ public class MConversionRate extends X_C_Conversion_Rate
pstmt.setInt(1, CurFrom_ID);
pstmt.setInt(2, CurTo_ID);
pstmt.setInt(3, C_ConversionType_ID);
pstmt.setTimestamp(4, ConvDate);
pstmt.setTimestamp(4, TimeUtil.getDay(ConvDate));
pstmt.setInt(5, AD_Client_ID);
pstmt.setInt(6, AD_Org_ID);
rs = pstmt.executeQuery();