new ui annotations
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user