Update code sample

This commit is contained in:
Elena Oresharova
2020-02-10 17:24:24 +01:00
parent b7aee4e0e0
commit 64adf115f3
5 changed files with 36 additions and 13 deletions

View File

@@ -1,12 +0,0 @@
namespace sap.capire.bookshop;
using { Currency, managed } from '@sap/cds/common';
entity Products : managed {
key ID : Integer;
title : localized String(111);
descr : localized String(1111);
stock : Integer;
price : Decimal(9,2);
currency : Currency;
}

View File

@@ -1,6 +1,6 @@
namespace sap.capire.bookshop;
using { Currency, managed, cuid } from '@sap/cds/common';
using { sap.capire.bookshop.Products } from './products';
using { sap.capire.products.Products } from '../../products';
/*
entity Books : managed {