Stage 2 summary at 50 accepted trajectories
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
17
tasks_gen/train/G1091/faulty/m0_i_po_value.ddls.asddls
Normal file
17
tasks_gen/train/G1091/faulty/m0_i_po_value.ddls.asddls
Normal file
@@ -0,0 +1,17 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Purchase order value'
|
||||
define view entity {{P}}I_PO_VALUE
|
||||
as select from {{p}}po_head as head
|
||||
left outer join {{p}}po_item as item on item.po_no = head.po_no
|
||||
and item.fiscal_year = head.fiscal_year
|
||||
{
|
||||
key head.po_no as po_no,
|
||||
key head.fiscal_year as fiscal_year,
|
||||
head.supplier as supplier,
|
||||
count( * ) as item_count,
|
||||
sum( cast( item.quantity as abap.dec( 13, 0 ) ) * item.price ) as total_value
|
||||
}
|
||||
group by
|
||||
head.po_no,
|
||||
head.fiscal_year,
|
||||
head.supplier
|
||||
17
tasks_gen/train/G1091/faulty/m1_i_po_value.ddls.asddls
Normal file
17
tasks_gen/train/G1091/faulty/m1_i_po_value.ddls.asddls
Normal file
@@ -0,0 +1,17 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Purchase order value'
|
||||
define view entity {{P}}I_PO_VALUE
|
||||
as select from {{p}}po_head as head
|
||||
inner join {{p}}po_item as item on item.po_no <> head.po_no
|
||||
and item.fiscal_year = head.fiscal_year
|
||||
{
|
||||
key head.po_no as po_no,
|
||||
key head.fiscal_year as fiscal_year,
|
||||
head.supplier as supplier,
|
||||
count( * ) as item_count,
|
||||
sum( cast( item.quantity as abap.dec( 13, 0 ) ) * item.price ) as total_value
|
||||
}
|
||||
group by
|
||||
head.po_no,
|
||||
head.fiscal_year,
|
||||
head.supplier
|
||||
17
tasks_gen/train/G1091/faulty/m2_i_po_value.ddls.asddls
Normal file
17
tasks_gen/train/G1091/faulty/m2_i_po_value.ddls.asddls
Normal file
@@ -0,0 +1,17 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Purchase order value'
|
||||
define view entity {{P}}I_PO_VALUE
|
||||
as select from {{p}}po_head as head
|
||||
inner join {{p}}po_item as item on item.po_no = head.po_no
|
||||
or item.fiscal_year = head.fiscal_year
|
||||
{
|
||||
key head.po_no as po_no,
|
||||
key head.fiscal_year as fiscal_year,
|
||||
head.supplier as supplier,
|
||||
count( * ) as item_count,
|
||||
sum( cast( item.quantity as abap.dec( 13, 0 ) ) * item.price ) as total_value
|
||||
}
|
||||
group by
|
||||
head.po_no,
|
||||
head.fiscal_year,
|
||||
head.supplier
|
||||
17
tasks_gen/train/G1091/faulty/m3_i_po_value.ddls.asddls
Normal file
17
tasks_gen/train/G1091/faulty/m3_i_po_value.ddls.asddls
Normal file
@@ -0,0 +1,17 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Purchase order value'
|
||||
define view entity {{P}}I_PO_VALUE
|
||||
as select from {{p}}po_head as head
|
||||
inner join {{p}}po_item as item on item.po_no = head.po_no
|
||||
and item.fiscal_year <> head.fiscal_year
|
||||
{
|
||||
key head.po_no as po_no,
|
||||
key head.fiscal_year as fiscal_year,
|
||||
head.supplier as supplier,
|
||||
count( * ) as item_count,
|
||||
sum( cast( item.quantity as abap.dec( 13, 0 ) ) * item.price ) as total_value
|
||||
}
|
||||
group by
|
||||
head.po_no,
|
||||
head.fiscal_year,
|
||||
head.supplier
|
||||
17
tasks_gen/train/G1091/faulty/m4_i_po_value.ddls.asddls
Normal file
17
tasks_gen/train/G1091/faulty/m4_i_po_value.ddls.asddls
Normal file
@@ -0,0 +1,17 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Purchase order value'
|
||||
define view entity {{P}}I_PO_VALUE
|
||||
as select from {{p}}po_head as head
|
||||
inner join {{p}}po_item as item on item.po_no = head.po_no
|
||||
and item.fiscal_year = head.fiscal_year
|
||||
{
|
||||
key head.po_no as po_no,
|
||||
key head.fiscal_year as fiscal_year,
|
||||
head.supplier as supplier,
|
||||
count( * ) as item_count,
|
||||
max( cast( item.quantity as abap.dec( 13, 0 ) ) * item.price ) as total_value
|
||||
}
|
||||
group by
|
||||
head.po_no,
|
||||
head.fiscal_year,
|
||||
head.supplier
|
||||
Reference in New Issue
Block a user