getObject(); $object->SetDBField( 'Amount', abs($object->GetDBField('Amount')) ); } function OnBeforeItemCreate(&$event) { $this->OnBeforeItemUpdate($event); } } ?>