This commit is contained in:
Daniel
2020-03-02 01:22:59 +01:00
parent 26d7fc767c
commit 9921b2f3de
56 changed files with 34 additions and 66 deletions

View File

@@ -0,0 +1,15 @@
namespace sap.capire.orders;
using { Currency, cuid, managed } from '@sap/cds/common';
entity Orders : cuid, managed {
OrderNo : String @title:'Order Number'; //> readable key
Items : Composition of many OrderItems on Items.parent = $self;
currency : Currency;
}
entity OrderItems : cuid {
parent : Association to Orders not null;
article : String;
amount : Integer;
}