From 92bf470989c9f60459647e4352bc63979a197de4 Mon Sep 17 00:00:00 2001 From: Christian Georgi Date: Mon, 16 Mar 2020 10:21:38 +0100 Subject: [PATCH] Remove order.total Up to now, we don't have a best-practise way to calculate this on the fly. --- orders/db/schema.cds | 1 - 1 file changed, 1 deletion(-) diff --git a/orders/db/schema.cds b/orders/db/schema.cds index bcb34f3a..048aba28 100644 --- a/orders/db/schema.cds +++ b/orders/db/schema.cds @@ -5,7 +5,6 @@ namespace sap.capire.bookshop; 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; }