PM-1185 Los triggers UserInfo y WSInformationUser despliegan el codigo del calendar y del campo replaced by en lugar de la descripcióCausa : Definida asi.

Solució Se agrego 2 campos mas que muestran su descripciion
This commit is contained in:
dheeyi
2015-05-13 10:43:37 -04:00
parent 08de7e7256
commit 5730151a21
2 changed files with 17 additions and 1 deletions

View File

@@ -450,5 +450,14 @@ class CalendarDefinition extends BaseCalendarDefinition
$oDataset->next();
return $oDataset->getRow();
}
public function calendarName ($calendarUid)
{
$tr = CalendarDefinitionPeer::retrieveByPK( $calendarUid );
if ((is_object( $tr ) && get_class( $tr ) == 'CalendarDefinition')) {
return $tr->getCalendarName();
}
return false;
}
}