Skip to content

Commit 4eafea8

Browse files
authored
Update admin-service.cds
1 parent 01f299d commit 4eafea8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

srv/admin-service.cds

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ annotate AdminService.Books with @cds.search : {
3232
title
3333
};
3434

35-
annotate AdminService.OrderItems with {
36-
@mandatory
37-
@assert.range: [(0), _]
38-
quantity
39-
};
40-
4135
// Enable Fiori Draft for Orders
4236
annotate AdminService.Orders with @odata.draft.enabled;
4337
annotate AdminService.Books with @odata.draft.enabled;
@@ -68,4 +62,4 @@ annotate AdminService.Orders with @changelog: [OrderNo];
6862
annotate AdminService.OrderItems with @changelog: [
6963
parent.OrderNo,
7064
book.title,
71-
];
65+
];

0 commit comments

Comments
 (0)