From ea989d8496bdd6b9450b570b1e23771b28725813 Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Wed, 27 Jul 2022 16:56:39 +0200 Subject: [PATCH] Simplified UI annos --- fiori-ext/app/extension.cds | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/fiori-ext/app/extension.cds b/fiori-ext/app/extension.cds index 5579bfff..5a89ca2b 100644 --- a/fiori-ext/app/extension.cds +++ b/fiori-ext/app/extension.cds @@ -15,13 +15,8 @@ entity Z_SalesRegion: common.CodeList { // --- UI --- -annotate orders.Orders with { - Z_priority @title : '{i18n>Orders_priority_col}' -}; - -annotate Z_SalesRegion with { - name @title : '{i18n>SalesRegion_name_col}' -}; +annotate orders.Orders : Z_priority with @title : '{i18n>Orders_priority_col}'; +annotate Z_SalesRegion : name with @title : '{i18n>SalesRegion_name_col}'; annotate OrdersService.Orders with @UI.LineItem : [ ... up to { Value: OrderNo },