Stage 2 summary at 50 accepted trajectories
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
16
tasks_gen/train/G1091/seed/i_po_value.ddls.asddls
Normal file
16
tasks_gen/train/G1091/seed/i_po_value.ddls.asddls
Normal file
@@ -0,0 +1,16 @@
|
||||
@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
|
||||
{
|
||||
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
|
||||
12
tasks_gen/train/G1091/seed/po_head.tabl.asabap
Normal file
12
tasks_gen/train/G1091/seed/po_head.tabl.asabap
Normal file
@@ -0,0 +1,12 @@
|
||||
@EndUserText.label : 'Purchase order header'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}po_head {
|
||||
key client : abap.clnt not null;
|
||||
key po_no : abap.char(10) not null;
|
||||
key fiscal_year : abap.char(4) not null;
|
||||
supplier : abap.char(10);
|
||||
po_date : abap.dats;
|
||||
}
|
||||
13
tasks_gen/train/G1091/seed/po_item.tabl.asabap
Normal file
13
tasks_gen/train/G1091/seed/po_item.tabl.asabap
Normal file
@@ -0,0 +1,13 @@
|
||||
@EndUserText.label : 'Purchase order item'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}po_item {
|
||||
key client : abap.clnt not null;
|
||||
key po_no : abap.char(10) not null;
|
||||
key fiscal_year : abap.char(4) not null;
|
||||
key item_no : abap.int4 not null;
|
||||
quantity : abap.int4;
|
||||
price : abap.dec(15,2);
|
||||
}
|
||||
Reference in New Issue
Block a user