Files
abap-llm/tasks_gen/train/G1048/faulty/m3_i_truck.ddls.asddls
2026-10-05 18:02:52 +02:00

15 lines
507 B
Plaintext

@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Truck with depot'
define view entity {{P}}I_TRUCK
as select from {{p}}truck as truck
inner join {{p}}depot as depot on depot.depot_id = truck.depot_id
association [0..1] to {{p}}depot as _Depot on truck.depot_id = _Depot.depot_id
{
key truck.truck_id as truck_id,
truck.depot_id as depot_id,
truck.capacity_kg as capacity_kg,
truck.truck_type as truck_type,
_Depot
}
where truck.capacity_kg <= 0