Stage 2 summary at 50 accepted trajectories
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
18
tasks_gen/train/G1111/seed/i_tour_load.ddls.asddls
Normal file
18
tasks_gen/train/G1111/seed/i_tour_load.ddls.asddls
Normal file
@@ -0,0 +1,18 @@
|
||||
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
||||
@EndUserText.label: 'Tour load'
|
||||
define view entity {{P}}I_TOUR_LOAD
|
||||
as select from {{p}}tour as tour
|
||||
inner join {{p}}parcel as parcel on parcel.tour_id = tour.tour_id
|
||||
{
|
||||
key tour.tour_id as tour_id,
|
||||
tour.driver as driver,
|
||||
tour.depot as depot,
|
||||
parcel.dest_zone as dest_zone,
|
||||
count( * ) as parcel_count,
|
||||
sum( parcel.weight ) as total_weight
|
||||
}
|
||||
group by
|
||||
tour.tour_id,
|
||||
tour.driver,
|
||||
tour.depot,
|
||||
parcel.dest_zone
|
||||
12
tasks_gen/train/G1111/seed/parcel.tabl.asabap
Normal file
12
tasks_gen/train/G1111/seed/parcel.tabl.asabap
Normal file
@@ -0,0 +1,12 @@
|
||||
@EndUserText.label : 'Parcel of a tour'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}parcel {
|
||||
key client : abap.clnt not null;
|
||||
key tour_id : abap.char(10) not null;
|
||||
key parcel_no : abap.int4 not null;
|
||||
dest_zone : abap.char(4);
|
||||
weight : abap.dec(8,3);
|
||||
}
|
||||
12
tasks_gen/train/G1111/seed/tour.tabl.asabap
Normal file
12
tasks_gen/train/G1111/seed/tour.tabl.asabap
Normal file
@@ -0,0 +1,12 @@
|
||||
@EndUserText.label : 'Tour header'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}tour {
|
||||
key client : abap.clnt not null;
|
||||
key tour_id : abap.char(10) not null;
|
||||
driver : abap.char(10);
|
||||
depot : abap.char(4);
|
||||
tour_date : abap.dats;
|
||||
}
|
||||
Reference in New Issue
Block a user