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,32 @@
@AbapCatalog.sqlViewName: '{{P}}VGRN'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Green fee per tee time'
define view {{P}}I_GREEN_FEE as select from {{p}}tee as tee
inner join {{p}}member as mem on mem.member_id = tee.member_id
{
key tee.tee_id as tee_id,
tee.member_id as member_id,
mem.member_kind as member_kind,
tee.day_kind as day_kind,
tee.player_count as player_count,
case mem.member_kind
when 'J' then
case tee.day_kind
when 'W' then cast( 8 as abap.dec(7,2) ) * tee.player_count
when 'E' then cast( 12 as abap.dec(7,2) ) * tee.player_count
else cast( 12 as abap.dec(7,2) ) * tee.player_count
end
when 'S' then
case tee.day_kind
when 'W' then cast( 20 as abap.dec(7,2) ) * tee.player_count
when 'E' then cast( 30 as abap.dec(7,2) ) * tee.player_count
else cast( 35 as abap.dec(7,2) ) * tee.player_count
end
else
case tee.day_kind
when 'W' then cast( 35 as abap.dec(7,2) ) * tee.player_count
when 'E' then cast( 55 as abap.dec(7,2) ) * tee.player_count
else cast( 60 as abap.dec(7,2) ) * tee.player_count
end
end as green_fee
}

View File

@@ -0,0 +1,11 @@
@EndUserText.label : 'Club member'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}member {
key client : abap.clnt not null;
key member_id : abap.char(10) not null;
member_kind : abap.char(1);
member_name : abap.char(40);
}

View File

@@ -0,0 +1,12 @@
@EndUserText.label : 'Tee time'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}tee {
key client : abap.clnt not null;
key tee_id : abap.char(10) not null;
member_id : abap.char(10);
day_kind : abap.char(1);
player_count : abap.int4;
}