Updating Datetime field

It looks like there is an issue with updating datatime type fields that initially have some value setting them to no value. I verified it with baseapp and those datetime fields that were set to "" are not included in "update" statement.

-Andrew

Thanks Andrew to detecting

Thanks Andrew to detecting it. Will commit it to SVN.

- support

The problem is with line 120

The problem is with line 120 in BizDataObj_SQLHelper.php.

Original line is the following:

         if ($fldobj->m_Value == "" && ($fldobj->m_Type == "Date" || $fldobj->m_Type == "Datetime"))

which should be changed to:

         if (($fldobj->m_Value == "" && $fldobj->m_OldValue == "") && ($fldobj->m_Type == "Date" || $fldobj->m_Type == "Datetime"))

Thanks,

Andrew

What is the update SQL like

What is the update SQL like with datetime columns? Thanks.

- support