This commit is contained in:
Wolfgang Koch
2020-11-10 11:24:05 +01:00
parent 8160997eec
commit 5fd9ee3993
2 changed files with 8 additions and 8 deletions

View File

@@ -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;
}

View File

@@ -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