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:
20
tasks_gen/train/G1040/faulty/m1_i_roll_grade.ddls.asddls
Normal file
20
tasks_gen/train/G1040/faulty/m1_i_roll_grade.ddls.asddls
Normal 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 'Z' 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
|
||||
}
|
||||
Reference in New Issue
Block a user