IDEMPIERE-2116 Cannot correct Inventory OnHand ORA-01861 / thanks to David Garcia for the hint
This commit is contained in:
parent
1c351ddd23
commit
5b37a986c4
|
@ -3014,6 +3014,8 @@ public abstract class PO
|
||||||
{
|
{
|
||||||
if (m_KeyColumns[i].endsWith("_ID"))
|
if (m_KeyColumns[i].endsWith("_ID"))
|
||||||
sb.append(m_IDs[i]);
|
sb.append(m_IDs[i]);
|
||||||
|
else if(m_IDs[i] instanceof Timestamp)
|
||||||
|
sb.append(DB.TO_DATE((Timestamp)m_IDs[i], false));
|
||||||
else {
|
else {
|
||||||
sb.append("'");
|
sb.append("'");
|
||||||
if (m_IDs[i] instanceof Boolean) {
|
if (m_IDs[i] instanceof Boolean) {
|
||||||
|
|
Loading…
Reference in New Issue