Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
14 lines
382 B
Plaintext
14 lines
382 B
Plaintext
@AccessControl.authorizationCheck: #NOT_REQUIRED
|
|
@EndUserText.label: 'Employee'
|
|
define view entity {{P}}I_EMPLOYEE
|
|
as select from {{p}}emp
|
|
association [0..1] to {{P}}I_MANAGER as _Manager
|
|
on $projection.manager_id <> _Manager.mgr_id
|
|
{
|
|
key emp_id as emp_id,
|
|
manager_id as manager_id,
|
|
emp_name as emp_name,
|
|
department as department,
|
|
_Manager
|
|
}
|