Files
abap-llm/tasks_gen/eval/G0154/seed/i_job_cost.ddls.asddls

12 lines
338 B
Plaintext

@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Cost of each cleaning job'
define view entity {{P}}I_JOB_COST
as select from {{p}}cln_job
{
key job_id as job_id,
site_id as site_id,
duration as work_hours,
cast( duration * hour_rate as abap.dec(15,2) ) as job_cost
}
where job_status <> 'C'