postgresql7.1
select acs_activity__new (
null,
:name,
:description,
'f',
null,
'acs_activity',
now(),
:creation_user,
:creation_ip,
null
)
select timespan__new (
:start_date::timestamptz,
:end_date::timestamptz
)
select cal_item__new (
null,
:on_which_calendar,
null,
null,
null,
null,
:timespan_id,
:activity_id,
null,
'cal_item',
:on_which_calendar,
now(),
:creation_user,
:creation_ip
)
select time_interval__edit (
:interval_id,
:start_date::timestamptz,
:end_date::timestamptz
)
select cal_item__delete (
:cal_item_id
)
select cal_item__delete_all (
:recurrence_id
)
select
acs_event__recurrence_timespan_edit (
:event_id,
:start_date,
:end_date
)