IDEMPIERE-2116 Cannot correct Inventory OnHand ORA-01861 / thanks to David Garcia for the hint

This commit is contained in:
Carlos Ruiz 2014-10-29 13:32:29 -05:00
parent 1c351ddd23
commit 5b37a986c4
1 changed files with 2 additions and 0 deletions

View File

@ -3014,6 +3014,8 @@ public abstract class PO
{
if (m_KeyColumns[i].endsWith("_ID"))
sb.append(m_IDs[i]);
else if(m_IDs[i] instanceof Timestamp)
sb.append(DB.TO_DATE((Timestamp)m_IDs[i], false));
else {
sb.append("'");
if (m_IDs[i] instanceof Boolean) {