Adding demo codebase of OpenSAP week3 unit1

This commit is contained in:
Harini Gunabalan
2020-03-21 23:39:12 +01:00
parent 06755978b2
commit 6cc2741c3e
65 changed files with 991 additions and 1602 deletions

View File

@@ -5,3 +5,12 @@ service AdminService @(_requires:'authenticated-user') {
entity Authors as projection on my.Authors;
entity Orders as select from my.Orders;
}
// Enable Fiori Draft for Orders
annotate AdminService.Orders with @odata.draft.enabled;
// annotate AdminService.Books with @odata.draft.enabled;
// Temporary workaround -> cap/issues#3121
extend service AdminService with {
entity OrderItems as select from my.OrderItems;
}