removed total and netAmount

This commit is contained in:
Daniel
2019-11-18 14:50:45 +01:00
parent 88c1aa0282
commit 345d7fa37b
5 changed files with 12 additions and 51 deletions

View File

@@ -5,7 +5,6 @@ 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;
total : Decimal(9,2) @readonly;
currency : Currency;
}
@@ -13,5 +12,4 @@ entity OrderItems : cuid {
parent : Association to Orders not null;
article : String;
amount : Integer;
netAmount : Decimal(9,2);
}