diff --git a/orders/db/schema.cds b/orders/db/schema.cds index 048aba28..f72f737a 100644 --- a/orders/db/schema.cds +++ b/orders/db/schema.cds @@ -14,3 +14,7 @@ entity OrderItems : cuid { amount : Integer; netAmount : Decimal(9,2); } + +// Have IDs auto-computed. TODO revisit w/ Fiori how long this is needed +// see https://answers.sap.com/questions/13091274/sample-fiori-app-creating-a-new-order-shows-a-popu.html +annotate cuid with { ID @Core.Computed; }