Stage 2 summary at 50 accepted trajectories

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-05 18:02:52 +02:00
parent 332fb4601d
commit 5bcd1bf9cd
1230 changed files with 77563 additions and 33 deletions

View 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

View 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);
}

View 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;
}