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,18 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Container weight check'
define view entity {{P}}I_CONT_WEIGHT
as select from {{p}}cont as cont
inner join {{p}}weigh as weigh on weigh.cont_id = cont.cont_id
{
key cont.cont_id as cont_id,
cont.customer as customer,
cont.decl_kg as decl_kg,
weigh.meas_kg as meas_kg,
cast( abs( weigh.meas_kg - cont.decl_kg ) as abap.dec(15,2) ) as deviation_kg,
division( abs( weigh.meas_kg - cont.decl_kg ) * 100, cont.decl_kg, 2 ) as deviation_pct,
case
when weigh.meas_kg > cont.max_kg then 'HOLD'
when division( abs( weigh.meas_kg - cont.decl_kg ) * 100, cont.decl_kg, 2 ) > 5 then 'WARN'
else 'LOAD'
end as status
}