Compare commits
2 Commits
key-user-e
...
preview
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9af7b242d | ||
|
|
8a55c2e68b |
1
.env
1
.env
@@ -1 +1,2 @@
|
|||||||
cds.features.snapi = y
|
cds.features.snapi = y
|
||||||
|
cds.cdsc.beta.aspectCompositions = true
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
ID;amount;parent_ID;book_ID;netAmount
|
ID;amount;parent_ID;book_ID
|
||||||
58040e66-1dcd-4ffb-ab10-fdce32028b79;1;7e2f2640-6866-4dcf-8f4d-3027aa831cad;201;11.11
|
58040e66-1dcd-4ffb-ab10-fdce32028b79;1;7e2f2640-6866-4dcf-8f4d-3027aa831cad;201
|
||||||
64e718c9-ff99-47f1-8ca3-950c850777d4;1;7e2f2640-6866-4dcf-8f4d-3027aa831cad;271;15
|
64e718c9-ff99-47f1-8ca3-950c850777d4;1;7e2f2640-6866-4dcf-8f4d-3027aa831cad;271
|
||||||
e9641166-e050-4261-bfee-d1e797e6cb7f;2;64e718c9-ff99-47f1-8ca3-950c850777d4;252;28
|
e9641166-e050-4261-bfee-d1e797e6cb7f;2;64e718c9-ff99-47f1-8ca3-950c850777d4;252
|
||||||
|
@@ -4,13 +4,10 @@ namespace sap.capire.bookshop;
|
|||||||
|
|
||||||
entity Orders : cuid, managed {
|
entity Orders : cuid, managed {
|
||||||
OrderNo : String @title:'Order Number'; //> readable key
|
OrderNo : String @title:'Order Number'; //> readable key
|
||||||
Items : Composition of many OrderItems on Items.parent = $self;
|
Items : Composition of many {
|
||||||
currency : Currency;
|
key pos : Integer;
|
||||||
}
|
|
||||||
|
|
||||||
entity OrderItems : cuid {
|
|
||||||
parent : Association to Orders;
|
|
||||||
book : Association to Books;
|
book : Association to Books;
|
||||||
amount : Integer;
|
amount : Integer;
|
||||||
netAmount : Decimal(9,2);
|
};
|
||||||
|
currency : Currency;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user