From 5fd9ee39934c3d2b0fdde63422678ba20f528190 Mon Sep 17 00:00:00 2001 From: Wolfgang Koch Date: Tue, 10 Nov 2020 11:24:05 +0100 Subject: [PATCH] cleanup --- gdpr/db/schema.cds | 6 +++--- gdpr/srv/pdm-service.cds | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gdpr/db/schema.cds b/gdpr/db/schema.cds index 93251ecc..c3747fc0 100644 --- a/gdpr/db/schema.cds +++ b/gdpr/db/schema.cds @@ -11,9 +11,9 @@ extend Orders with { } entity Customers : cuid, managed { - email : String; - firstName : String; - lastName : String; + email : String; + firstName : String; + lastName : String; creditCardNo : String; dateOfBirth : Date; } diff --git a/gdpr/srv/pdm-service.cds b/gdpr/srv/pdm-service.cds index ccb1530b..c11364ea 100644 --- a/gdpr/srv/pdm-service.cds +++ b/gdpr/srv/pdm-service.cds @@ -15,12 +15,12 @@ using { sap.capire.bookshop.OrderItems } from '@capire/orders'; entity OrderItemView as SELECT from Orders { key ID, - key Items.ID as Item_ID, + key Items.ID as Item_ID, OrderNo, - Customer.ID as Customer_ID, - Customer.email as Customer_Email, - Items.book.ID as Item_Book_ID, - Items.amount as Item_Amount, + Customer.ID as Customer_ID, + Customer.email as Customer_Email, + Items.book.ID as Item_Book_ID, + Items.amount as Item_Amount, Items.netAmount as Item_NetAmount}; // annotate new view