Using managed compositions for Order.Items (#273)

* Using managed compositions for Order.Items
Co-authored-by: sjvans <30337871+sjvans@users.noreply.github.com>
This commit is contained in:
Daniel Hutzel
2021-11-08 17:41:33 +01:00
committed by GitHub
parent 482b71e60b
commit 8cc2db7118
7 changed files with 16 additions and 22 deletions

View File

@@ -20,9 +20,11 @@ extend Books with {
//
// Extend Orders with Books as Products
//
using { sap.capire.orders.Orders_Items } from '@capire/orders';
extend Orders_Items with {
book : Association to Books on product.ID = book.ID
using { sap.capire.orders.Orders } from '@capire/orders';
extend Orders with {
extend Items with {
book : Association to Books on product.ID = book.ID
}
}