Pipeline controller: plan 2 (hard +, error +50 %), backlog throttle, 2 trajectory workers, stop rules, summaries every 50; budget reserve

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-05 13:35:54 +02:00
parent 1c4667a0fc
commit 13360292dd
781 changed files with 50211 additions and 22 deletions

View File

@@ -0,0 +1,20 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Fabric roll grade'
define view entity {{P}}I_ROLL_GRADE
as select from {{p}}roll as roll
inner join {{p}}fabric as fabric on fabric.fabric = roll.fabric
{
key roll.roll_id as roll_id,
fabric.fabric_name as fabric_name,
case when fabric.fibre = 'C' or fabric.fibre = 'W'
or fabric.fibre = 'S'
then 'N'
else 'S' end as fibre_class,
substring( roll.roll_id, 1, 3 ) as loom,
round( cast( roll.length_cm as abap.dec(15,2) )
* cast( roll.width_cm as abap.dec(15,2) )
/ 10000, 2 ) as area_sqm,
case when roll.defects = 0 then 'A'
when roll.defects <= 3 then 'B'
else 'C' end as grade
}