Quintiq file version 2.0
|
#parent: #root
|
Method HasPotentialEventsToSubscribeTo (
|
LibCal_Calendar calendar_i
|
) as Boolean id:Method_LibCal_GlobalState_HasPotentialEventsToSubscribeTo
|
{
|
#keys: '[131094.1.603541216]'
|
Body:
|
[*
|
feedback := FeedbackObject::LocalFeedback();
|
hasPotentialEvents := false;
|
|
if( not isnull( calendar_i ) )
|
{
|
hasPotentialEvents := calendar_i.GetPotentialEventsToSubscribeTo().Size() > 0;
|
|
if( not feedback.CheckHard( hasPotentialEvents ) )
|
{
|
feedback.AddHard( Translations::Calendar_NoEventsToSubscribeTo() );
|
}
|
}
|
|
return hasPotentialEvents;
|
*]
|
}
|