Delete calendar
rillsoft_calendar_deleteDelete a calendar in Rillsoft Project, but only if no idref_calendar references it and it's not the last in a pool. Valid only within an open unit of work.
Instructions
Deletes a calendar. Where at least one idref_calendar points at it, the call is refused and names what refers to it - that reference lives inside the pool and would point nowhere. The last calendar of a pool stays. Inside an open unit of work only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | id of the calendar; give exactly one of 'id', 'code' and 'name' | |
| code | No | code of the calendar | |
| name | No | name of the calendar |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | id of the calendar | |
| code | No | code of the calendar; missing when none is set | |
| name | No | name of the calendar | |
| outcome | Yes | what the call did |