Snapshot: new training tasks (balanced generation), docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Product quality totals'
|
||||
define view entity {{P}}I_PRODUCT_QUALITY
|
||||
as select from {{p}}i_batch_quality
|
||||
{
|
||||
key product as product,
|
||||
count( * ) as batch_count,
|
||||
max( bars_total ) as bars_total,
|
||||
sum( bars_good ) as bars_good,
|
||||
sum( bars_scrap ) as bars_scrap,
|
||||
cast( cast( sum( bars_good ) as abap.dec(15,2) ) * 100
|
||||
/ cast( sum( bars_total ) as abap.dec(15,2) )
|
||||
as abap.dec(5,2) ) as yield_pct
|
||||
}
|
||||
group by product
|
||||
@@ -0,0 +1,15 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Product quality totals'
|
||||
define view entity {{P}}I_PRODUCT_QUALITY
|
||||
as select from {{p}}i_batch_quality
|
||||
{
|
||||
key product as product,
|
||||
count( * ) as batch_count,
|
||||
sum( bars_total ) as bars_total,
|
||||
max( bars_good ) as bars_good,
|
||||
sum( bars_scrap ) as bars_scrap,
|
||||
cast( cast( sum( bars_good ) as abap.dec(15,2) ) * 100
|
||||
/ cast( sum( bars_total ) as abap.dec(15,2) )
|
||||
as abap.dec(5,2) ) as yield_pct
|
||||
}
|
||||
group by product
|
||||
@@ -0,0 +1,15 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Product quality totals'
|
||||
define view entity {{P}}I_PRODUCT_QUALITY
|
||||
as select from {{p}}i_batch_quality
|
||||
{
|
||||
key product as product,
|
||||
count( * ) as batch_count,
|
||||
sum( bars_total ) as bars_total,
|
||||
sum( bars_good ) as bars_good,
|
||||
max( bars_scrap ) as bars_scrap,
|
||||
cast( cast( sum( bars_good ) as abap.dec(15,2) ) * 100
|
||||
/ cast( sum( bars_total ) as abap.dec(15,2) )
|
||||
as abap.dec(5,2) ) as yield_pct
|
||||
}
|
||||
group by product
|
||||
@@ -0,0 +1,15 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Product quality totals'
|
||||
define view entity {{P}}I_PRODUCT_QUALITY
|
||||
as select from {{p}}i_batch_quality
|
||||
{
|
||||
key product as product,
|
||||
count( * ) as batch_count,
|
||||
sum( bars_total ) as bars_total,
|
||||
sum( bars_good ) as bars_good,
|
||||
sum( bars_scrap ) as bars_scrap,
|
||||
cast( cast( max( bars_good ) as abap.dec(15,2) ) * 100
|
||||
/ cast( sum( bars_total ) as abap.dec(15,2) )
|
||||
as abap.dec(5,2) ) as yield_pct
|
||||
}
|
||||
group by product
|
||||
@@ -0,0 +1,15 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Product quality totals'
|
||||
define view entity {{P}}I_PRODUCT_QUALITY
|
||||
as select from {{p}}i_batch_quality
|
||||
{
|
||||
key product as product,
|
||||
count( * ) as batch_count,
|
||||
sum( bars_total ) as bars_total,
|
||||
sum( bars_good ) as bars_good,
|
||||
sum( bars_scrap ) as bars_scrap,
|
||||
cast( cast( sum( bars_good ) as abap.dec(15,2) ) * 100
|
||||
/ cast( max( bars_total ) as abap.dec(15,2) )
|
||||
as abap.dec(5,2) ) as yield_pct
|
||||
}
|
||||
group by product
|
||||
Reference in New Issue
Block a user