Snapshot: new training tasks (balanced generation), docs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-05 22:08:59 +02:00
parent eb13453097
commit 6984fc7917
572 changed files with 30024 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Milling charge'
define view entity {{P}}I_MILL_CHARGE
with parameters
p_min_charge : abap.dec( 15, 2 )
as select from {{p}}milllot as lot
inner join {{p}}milljob as job on job.job_id = lot.job_id
{
key job.job_id as job_id,
job.farmer as farmer,
count( * ) as lot_count,
sum( lot.sacks ) as sack_count,
sum( lot.sacks * lot.mill_rate ) as mill_amount,
case when sum( lot.sacks * lot.mill_rate ) < $parameters.p_min_charge
then $parameters.p_min_charge
else sum( lot.sacks * lot.mill_rate )
end as charge_amount
}
group by
job.job_id,
job.farmer