cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user