Solve Bug ID [ 1618469 ] ORA-01400 on Import BPartner (Column not updateable error when new)

This commit is contained in:
Carlos Ruiz 2006-12-19 01:11:14 +00:00
parent 6e8cba19df
commit 03482c29b1
1 changed files with 4 additions and 2 deletions

View File

@ -649,8 +649,10 @@ public abstract class PO
log.log(Level.SEVERE, "Virtual Column" + colInfo); log.log(Level.SEVERE, "Virtual Column" + colInfo);
return false; return false;
} }
// //
if (!p_info.isColumnUpdateable(index)) // globalqss -- Bug 1618469 - is throwing not updateable even on new records
// if (!p_info.isColumnUpdateable(index))
if ( ( ! p_info.isColumnUpdateable(index) ) && ( ! is_new() ) )
{ {
colInfo += " - NewValue=" + value + " - OldValue=" + get_Value(index); colInfo += " - NewValue=" + value + " - OldValue=" + get_Value(index);
log.log(Level.SEVERE, "Column not updateable" + colInfo); log.log(Level.SEVERE, "Column not updateable" + colInfo);