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,16 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Tour load'
define view entity {{P}}I_TOUR_LOAD
as select from {{p}}tour as tour
left outer 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,
count( * ) as parcel_count,
sum( parcel.weight ) as total_weight
}
group by
tour.tour_id,
tour.driver,
tour.depot

View File

@@ -0,0 +1,16 @@
@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,
count( * ) as parcel_count,
sum( parcel.weight ) as total_weight
}
group by
tour.tour_id,
tour.driver,
tour.depot

View File

@@ -0,0 +1,16 @@
@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,
count( * ) as parcel_count,
max( parcel.weight ) as total_weight
}
group by
tour.tour_id,
tour.driver,
tour.depot