new ui annotations

This commit is contained in:
Wolfgang Koch
2021-09-22 10:38:00 +02:00
parent 1e034e964e
commit 35bec41f0e
149 changed files with 2321 additions and 7891 deletions

View File

@@ -6,11 +6,8 @@ using {
cuid, managed, Country, sap.common.CodeList
} from '@sap/cds/common';
namespace Z_bookshop.extension;
// extend existing entity
extend orders.Orders with {
Z_Customer : Association to one Z_Customers;
@@ -19,7 +16,6 @@ extend orders.Orders with {
Z_Remarks : Composition of many Z_Remarks on Z_Remarks.parent = $self;
}
// new entity - as association target
entity Z_Customers : cuid, managed
{
@@ -54,7 +50,6 @@ entity Z_SalesRegion: CodeList {
key regionCode : String(11);
}
// new entity - as composition target
entity Z_Remarks : cuid, managed
{
@@ -63,3 +58,4 @@ entity Z_Remarks : cuid, managed
remarksLine : String;
}