Step F first pass: 81/92 accepted; budget floor 60 calls; rejected slots moved for regeneration

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
This commit is contained in:
Kral
2026-10-03 12:10:52 +02:00
parent d3250acfb8
commit 39769afce8
741 changed files with 40573 additions and 317 deletions

View File

@@ -0,0 +1,15 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Play statistics'
define view entity {{P}}I_PLAY_STATS
as select from {{p}}play as play
inner join {{p}}perf as perf on perf.play_id = play.play_id
{
key play.play_id as play_id,
play.title as title,
count( * ) as performance_count,
sum( perf.tickets_sold ) as total_tickets,
sum( perf.revenue ) as total_revenue
}
group by
play.play_id,
play.title