From 35bec41f0e26cc4c337af8af2cfb01937f7562cc Mon Sep 17 00:00:00 2001 From: Wolfgang Koch Date: Wed, 22 Sep 2021 10:38:00 +0200 Subject: [PATCH] new ui annotations --- db/extension.cds | 6 +- gen/{srv => db}/.cfignore | 0 ...op.extension-Z_CustomerPostalAddresses.csv | 5 + .../data/Z_bookshop.extension-Z_Customers.csv | 3 + .../Z_bookshop.extension-Z_SalesRegion.csv | 4 + gen/db/data/sap.capire.bookshop-Authors.csv | 5 + gen/db/data/sap.capire.bookshop-Books.csv | 6 + gen/db/data/sap.capire.bookshop-Genres.csv | 16 + gen/db/data/sap.capire.orders-Orders.csv | 3 + .../data/sap.capire.orders-Orders_Items.csv | 4 + gen/db/data/sap.common-Countries.csv | 12 + gen/db/data/sap.common-Currencies.csv | 12 + gen/db/data/sap.common-Languages.csv | 5 + gen/db/manifest.yml | 11 + gen/db/package.json | 9 + gen/db/src/gen/.hdiconfig | 163 + gen/db/src/gen/.hdinamespace | 4 + gen/db/src/gen/ADMINSERVICE_AUTHORS.hdbcds | 17 + gen/db/src/gen/ADMINSERVICE_BOOKS.hdbcds | 31 + .../src/gen/ADMINSERVICE_BOOKS_DRAFTS.hdbcds | 30 + .../src/gen/ADMINSERVICE_BOOKS_TEXTS.hdbcds | 8 + .../ADMINSERVICE_BOOKS_TEXTS_DRAFTS.hdbcds | 13 + gen/db/src/gen/ADMINSERVICE_CURRENCIES.hdbcds | 16 + .../gen/ADMINSERVICE_CURRENCIES_TEXTS.hdbcds | 7 + ...DMINSERVICE_DRAFTADMINISTRATIVEDATA.hdbcds | 11 + gen/db/src/gen/ADMINSERVICE_GENRES.hdbcds | 17 + .../src/gen/ADMINSERVICE_GENRES_TEXTS.hdbcds | 7 + gen/db/src/gen/ADMINSERVICE_LANGUAGES.hdbcds | 12 + .../gen/ADMINSERVICE_LANGUAGES_TEXTS.hdbcds | 7 + gen/db/src/gen/CATALOGSERVICE_BOOKS.hdbcds | 27 + .../src/gen/CATALOGSERVICE_BOOKS_TEXTS.hdbcds | 8 + .../src/gen/CATALOGSERVICE_CURRENCIES.hdbcds | 16 + .../CATALOGSERVICE_CURRENCIES_TEXTS.hdbcds | 7 + gen/db/src/gen/CATALOGSERVICE_GENRES.hdbcds | 17 + .../gen/CATALOGSERVICE_GENRES_TEXTS.hdbcds | 7 + .../src/gen/CATALOGSERVICE_LISTOFBOOKS.hdbcds | 25 + .../gen/DRAFT_DRAFTADMINISTRATIVEDATA.hdbcds | 10 + .../gen/LOCALIZED_ADMINSERVICE_AUTHORS.hdbcds | 17 + .../gen/LOCALIZED_ADMINSERVICE_BOOKS.hdbcds | 31 + .../LOCALIZED_ADMINSERVICE_CURRENCIES.hdbcds | 16 + .../gen/LOCALIZED_ADMINSERVICE_GENRES.hdbcds | 17 + .../LOCALIZED_ADMINSERVICE_LANGUAGES.hdbcds | 12 + .../gen/LOCALIZED_CATALOGSERVICE_BOOKS.hdbcds | 27 + ...LOCALIZED_CATALOGSERVICE_CURRENCIES.hdbcds | 16 + .../LOCALIZED_CATALOGSERVICE_GENRES.hdbcds | 17 + ...OCALIZED_CATALOGSERVICE_LISTOFBOOKS.hdbcds | 25 + .../gen/LOCALIZED_ORDERSSERVICE_CITIES.hdbcds | 19 + .../LOCALIZED_ORDERSSERVICE_COUNTRIES.hdbcds | 15 + .../LOCALIZED_ORDERSSERVICE_CURRENCIES.hdbcds | 16 + .../LOCALIZED_ORDERSSERVICE_DISTRICTS.hdbcds | 16 + .../gen/LOCALIZED_ORDERSSERVICE_ORDERS.hdbcds | 30 + ...OCALIZED_ORDERSSERVICE_ORDERS_ITEMS.hdbcds | 16 + .../LOCALIZED_ORDERSSERVICE_REGIONS.hdbcds | 18 + ...RSSERVICE_Z_CUSTOMERPOSTALADDRESSES.hdbcds | 20 + ...LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS.hdbcds | 19 + .../LOCALIZED_ORDERSSERVICE_Z_REMARKS.hdbcds | 15 + ...CALIZED_ORDERSSERVICE_Z_SALESREGION.hdbcds | 12 + ...CALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS.hdbcds | 17 + ...LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS.hdbcds | 31 + ...OCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES.hdbcds | 17 + .../LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS.hdbcds | 30 + ...IZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS.hdbcds | 16 + .../gen/LOCALIZED_SAP_COMMON_COUNTRIES.hdbcds | 15 + ...CALIZED_SAP_COMMON_COUNTRIES_CITIES.hdbcds | 19 + ...IZED_SAP_COMMON_COUNTRIES_DISTRICTS.hdbcds | 16 + ...ALIZED_SAP_COMMON_COUNTRIES_REGIONS.hdbcds | 18 + .../LOCALIZED_SAP_COMMON_CURRENCIES.hdbcds | 16 + .../gen/LOCALIZED_SAP_COMMON_LANGUAGES.hdbcds | 12 + ...EXTENSION_Z_CUSTOMERPOSTALADDRESSES.hdbcds | 20 + ...ED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS.hdbcds | 19 + ...IZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS.hdbcds | 15 + ..._Z_BOOKSHOP_EXTENSION_Z_SALESREGION.hdbcds | 12 + gen/db/src/gen/ORDERSSERVICE_CITIES.hdbcds | 19 + .../src/gen/ORDERSSERVICE_CITIES_TEXTS.hdbcds | 7 + gen/db/src/gen/ORDERSSERVICE_COUNTRIES.hdbcds | 15 + .../gen/ORDERSSERVICE_COUNTRIES_TEXTS.hdbcds | 7 + .../src/gen/ORDERSSERVICE_CURRENCIES.hdbcds | 16 + .../gen/ORDERSSERVICE_CURRENCIES_TEXTS.hdbcds | 7 + gen/db/src/gen/ORDERSSERVICE_DISTRICTS.hdbcds | 16 + .../gen/ORDERSSERVICE_DISTRICTS_TEXTS.hdbcds | 7 + ...DERSSERVICE_DRAFTADMINISTRATIVEDATA.hdbcds | 11 + gen/db/src/gen/ORDERSSERVICE_ORDERS.hdbcds | 30 + .../gen/ORDERSSERVICE_ORDERS_DRAFTS.hdbcds | 29 + .../src/gen/ORDERSSERVICE_ORDERS_ITEMS.hdbcds | 16 + .../ORDERSSERVICE_ORDERS_ITEMS_DRAFTS.hdbcds | 18 + gen/db/src/gen/ORDERSSERVICE_REGIONS.hdbcds | 18 + .../gen/ORDERSSERVICE_REGIONS_TEXTS.hdbcds | 7 + ...RSSERVICE_Z_CUSTOMERPOSTALADDRESSES.hdbcds | 20 + ...CE_Z_CUSTOMERPOSTALADDRESSES_DRAFTS.hdbcds | 22 + .../src/gen/ORDERSSERVICE_Z_CUSTOMERS.hdbcds | 19 + .../ORDERSSERVICE_Z_CUSTOMERS_DRAFTS.hdbcds | 22 + gen/db/src/gen/ORDERSSERVICE_Z_REMARKS.hdbcds | 15 + .../gen/ORDERSSERVICE_Z_REMARKS_DRAFTS.hdbcds | 18 + .../gen/ORDERSSERVICE_Z_SALESREGION.hdbcds | 12 + .../ORDERSSERVICE_Z_SALESREGION_DRAFTS.hdbcds | 14 + .../ORDERSSERVICE_Z_SALESREGION_TEXTS.hdbcds | 7 + .../gen/SAP_CAPIRE_BOOKSHOP_AUTHORS.hdbcds | 14 + .../src/gen/SAP_CAPIRE_BOOKSHOP_BOOKS.hdbcds | 24 + .../SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS.hdbcds | 10 + .../src/gen/SAP_CAPIRE_BOOKSHOP_GENRES.hdbcds | 11 + .../SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS.hdbcds | 6 + .../src/gen/SAP_CAPIRE_ORDERS_ORDERS.hdbcds | 23 + .../gen/SAP_CAPIRE_ORDERS_ORDERS_ITEMS.hdbcds | 12 + .../src/gen/SAP_CAPIRE_ORDERS_PRODUCTS.hdbcds | 3 + gen/db/src/gen/SAP_COMMON_COUNTRIES.hdbcds | 10 + .../gen/SAP_COMMON_COUNTRIES_CITIES.hdbcds | 13 + .../SAP_COMMON_COUNTRIES_CITIES_TEXTS.hdbcds | 6 + .../gen/SAP_COMMON_COUNTRIES_DISTRICTS.hdbcds | 11 + ...AP_COMMON_COUNTRIES_DISTRICTS_TEXTS.hdbcds | 6 + .../gen/SAP_COMMON_COUNTRIES_REGIONS.hdbcds | 12 + .../SAP_COMMON_COUNTRIES_REGIONS_TEXTS.hdbcds | 6 + .../src/gen/SAP_COMMON_COUNTRIES_TEXTS.hdbcds | 6 + gen/db/src/gen/SAP_COMMON_CURRENCIES.hdbcds | 12 + .../gen/SAP_COMMON_CURRENCIES_TEXTS.hdbcds | 6 + gen/db/src/gen/SAP_COMMON_LANGUAGES.hdbcds | 8 + .../src/gen/SAP_COMMON_LANGUAGES_TEXTS.hdbcds | 6 + ...EXTENSION_Z_CUSTOMERPOSTALADDRESSES.hdbcds | 16 + .../Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS.hdbcds | 19 + .../gen/Z_BOOKSHOP_EXTENSION_Z_REMARKS.hdbcds | 12 + .../Z_BOOKSHOP_EXTENSION_Z_SALESREGION.hdbcds | 8 + ...KSHOP_EXTENSION_Z_SALESREGION_TEXTS.hdbcds | 6 + ...op.extension-Z_CustomerPostalAddresses.csv | 5 + ...ion-Z_CustomerPostalAddresses.hdbtabledata | 43 + .../data/Z_bookshop.extension-Z_Customers.csv | 3 + ...ookshop.extension-Z_Customers.hdbtabledata | 47 + .../Z_bookshop.extension-Z_SalesRegion.csv | 4 + ...kshop.extension-Z_SalesRegion.hdbtabledata | 29 + .../gen/data/sap.capire.bookshop-Authors.csv | 5 + .../sap.capire.bookshop-Authors.hdbtabledata | 35 + .../gen/data/sap.capire.bookshop-Books.csv | 6 + .../sap.capire.bookshop-Books.hdbtabledata | 39 + .../gen/data/sap.capire.bookshop-Genres.csv | 16 + .../sap.capire.bookshop-Genres.hdbtabledata | 29 + .../src/gen/data/sap.capire.orders-Orders.csv | 3 + .../sap.capire.orders-Orders.hdbtabledata | 41 + .../data/sap.capire.orders-Orders_Items.csv | 4 + ...ap.capire.orders-Orders_Items.hdbtabledata | 35 + gen/db/src/gen/data/sap.common-Countries.csv | 12 + .../data/sap.common-Countries.hdbtabledata | 29 + gen/db/src/gen/data/sap.common-Currencies.csv | 12 + .../data/sap.common-Currencies.hdbtabledata | 37 + gen/db/src/gen/data/sap.common-Languages.csv | 5 + .../data/sap.common-Languages.hdbtabledata | 27 + gen/srv/manifest.yml | 8 - gen/srv/package.json | 6 - gen/srv/srv/_i18n/i18n.json | 1302 ---- gen/srv/srv/csn.json | 6511 ----------------- .../_base/app/orders/fiori-service.cds | 4 +- srv/extension_service_ui.cds | 69 +- 149 files changed, 2321 insertions(+), 7891 deletions(-) rename gen/{srv => db}/.cfignore (100%) create mode 100644 gen/db/data/Z_bookshop.extension-Z_CustomerPostalAddresses.csv create mode 100644 gen/db/data/Z_bookshop.extension-Z_Customers.csv create mode 100644 gen/db/data/Z_bookshop.extension-Z_SalesRegion.csv create mode 100644 gen/db/data/sap.capire.bookshop-Authors.csv create mode 100644 gen/db/data/sap.capire.bookshop-Books.csv create mode 100644 gen/db/data/sap.capire.bookshop-Genres.csv create mode 100644 gen/db/data/sap.capire.orders-Orders.csv create mode 100644 gen/db/data/sap.capire.orders-Orders_Items.csv create mode 100644 gen/db/data/sap.common-Countries.csv create mode 100644 gen/db/data/sap.common-Currencies.csv create mode 100644 gen/db/data/sap.common-Languages.csv create mode 100644 gen/db/manifest.yml create mode 100644 gen/db/package.json create mode 100644 gen/db/src/gen/.hdiconfig create mode 100644 gen/db/src/gen/.hdinamespace create mode 100644 gen/db/src/gen/ADMINSERVICE_AUTHORS.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_BOOKS.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_BOOKS_DRAFTS.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_BOOKS_TEXTS.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_BOOKS_TEXTS_DRAFTS.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_CURRENCIES.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_CURRENCIES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_DRAFTADMINISTRATIVEDATA.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_GENRES.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_GENRES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_LANGUAGES.hdbcds create mode 100644 gen/db/src/gen/ADMINSERVICE_LANGUAGES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/CATALOGSERVICE_BOOKS.hdbcds create mode 100644 gen/db/src/gen/CATALOGSERVICE_BOOKS_TEXTS.hdbcds create mode 100644 gen/db/src/gen/CATALOGSERVICE_CURRENCIES.hdbcds create mode 100644 gen/db/src/gen/CATALOGSERVICE_CURRENCIES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/CATALOGSERVICE_GENRES.hdbcds create mode 100644 gen/db/src/gen/CATALOGSERVICE_GENRES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/CATALOGSERVICE_LISTOFBOOKS.hdbcds create mode 100644 gen/db/src/gen/DRAFT_DRAFTADMINISTRATIVEDATA.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ADMINSERVICE_AUTHORS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ADMINSERVICE_BOOKS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ADMINSERVICE_CURRENCIES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ADMINSERVICE_GENRES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ADMINSERVICE_LANGUAGES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_CATALOGSERVICE_BOOKS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_CATALOGSERVICE_CURRENCIES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_CATALOGSERVICE_GENRES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_CATALOGSERVICE_LISTOFBOOKS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_CITIES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_COUNTRIES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_CURRENCIES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_DISTRICTS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_ORDERS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_ORDERS_ITEMS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_REGIONS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_REMARKS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_SALESREGION.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_CITIES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_COMMON_CURRENCIES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_SAP_COMMON_LANGUAGES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS.hdbcds create mode 100644 gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_CITIES.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_CITIES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_COUNTRIES.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_COUNTRIES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_CURRENCIES.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_CURRENCIES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_DISTRICTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_DISTRICTS_TEXTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_DRAFTADMINISTRATIVEDATA.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_ORDERS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_ORDERS_DRAFTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_ORDERS_ITEMS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_ORDERS_ITEMS_DRAFTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_REGIONS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_REGIONS_TEXTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES_DRAFTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERS_DRAFTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_Z_REMARKS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_Z_REMARKS_DRAFTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION_DRAFTS.hdbcds create mode 100644 gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION_TEXTS.hdbcds create mode 100644 gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_AUTHORS.hdbcds create mode 100644 gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_BOOKS.hdbcds create mode 100644 gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS.hdbcds create mode 100644 gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_GENRES.hdbcds create mode 100644 gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/SAP_CAPIRE_ORDERS_ORDERS.hdbcds create mode 100644 gen/db/src/gen/SAP_CAPIRE_ORDERS_ORDERS_ITEMS.hdbcds create mode 100644 gen/db/src/gen/SAP_CAPIRE_ORDERS_PRODUCTS.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_COUNTRIES.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_COUNTRIES_CITIES.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_COUNTRIES_CITIES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_COUNTRIES_DISTRICTS.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_COUNTRIES_REGIONS.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_COUNTRIES_REGIONS_TEXTS.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_COUNTRIES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_CURRENCIES.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_CURRENCIES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_LANGUAGES.hdbcds create mode 100644 gen/db/src/gen/SAP_COMMON_LANGUAGES_TEXTS.hdbcds create mode 100644 gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES.hdbcds create mode 100644 gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS.hdbcds create mode 100644 gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_REMARKS.hdbcds create mode 100644 gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_SALESREGION.hdbcds create mode 100644 gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS.hdbcds create mode 100644 gen/db/src/gen/data/Z_bookshop.extension-Z_CustomerPostalAddresses.csv create mode 100644 gen/db/src/gen/data/Z_bookshop.extension-Z_CustomerPostalAddresses.hdbtabledata create mode 100644 gen/db/src/gen/data/Z_bookshop.extension-Z_Customers.csv create mode 100644 gen/db/src/gen/data/Z_bookshop.extension-Z_Customers.hdbtabledata create mode 100644 gen/db/src/gen/data/Z_bookshop.extension-Z_SalesRegion.csv create mode 100644 gen/db/src/gen/data/Z_bookshop.extension-Z_SalesRegion.hdbtabledata create mode 100644 gen/db/src/gen/data/sap.capire.bookshop-Authors.csv create mode 100644 gen/db/src/gen/data/sap.capire.bookshop-Authors.hdbtabledata create mode 100644 gen/db/src/gen/data/sap.capire.bookshop-Books.csv create mode 100644 gen/db/src/gen/data/sap.capire.bookshop-Books.hdbtabledata create mode 100644 gen/db/src/gen/data/sap.capire.bookshop-Genres.csv create mode 100644 gen/db/src/gen/data/sap.capire.bookshop-Genres.hdbtabledata create mode 100644 gen/db/src/gen/data/sap.capire.orders-Orders.csv create mode 100644 gen/db/src/gen/data/sap.capire.orders-Orders.hdbtabledata create mode 100644 gen/db/src/gen/data/sap.capire.orders-Orders_Items.csv create mode 100644 gen/db/src/gen/data/sap.capire.orders-Orders_Items.hdbtabledata create mode 100644 gen/db/src/gen/data/sap.common-Countries.csv create mode 100644 gen/db/src/gen/data/sap.common-Countries.hdbtabledata create mode 100644 gen/db/src/gen/data/sap.common-Currencies.csv create mode 100644 gen/db/src/gen/data/sap.common-Currencies.hdbtabledata create mode 100644 gen/db/src/gen/data/sap.common-Languages.csv create mode 100644 gen/db/src/gen/data/sap.common-Languages.hdbtabledata delete mode 100644 gen/srv/manifest.yml delete mode 100644 gen/srv/package.json delete mode 100644 gen/srv/srv/_i18n/i18n.json delete mode 100644 gen/srv/srv/csn.json diff --git a/db/extension.cds b/db/extension.cds index 51f433e4..9e713208 100644 --- a/db/extension.cds +++ b/db/extension.cds @@ -6,11 +6,8 @@ using { cuid, managed, Country, sap.common.CodeList } from '@sap/cds/common'; - - namespace Z_bookshop.extension; - // extend existing entity extend orders.Orders with { Z_Customer : Association to one Z_Customers; @@ -19,7 +16,6 @@ extend orders.Orders with { Z_Remarks : Composition of many Z_Remarks on Z_Remarks.parent = $self; } - // new entity - as association target entity Z_Customers : cuid, managed { @@ -54,7 +50,6 @@ entity Z_SalesRegion: CodeList { key regionCode : String(11); } - // new entity - as composition target entity Z_Remarks : cuid, managed { @@ -63,3 +58,4 @@ entity Z_Remarks : cuid, managed remarksLine : String; } + diff --git a/gen/srv/.cfignore b/gen/db/.cfignore similarity index 100% rename from gen/srv/.cfignore rename to gen/db/.cfignore diff --git a/gen/db/data/Z_bookshop.extension-Z_CustomerPostalAddresses.csv b/gen/db/data/Z_bookshop.extension-Z_CustomerPostalAddresses.csv new file mode 100644 index 00000000..c4ebd778 --- /dev/null +++ b/gen/db/data/Z_bookshop.extension-Z_CustomerPostalAddresses.csv @@ -0,0 +1,5 @@ +ID;modifiedAt;createdAt;createdBy;modifiedBy;Customer_ID;description;street;town;country_code +1e2f2640-6866-4dcf-8f4d-3027aa831cad;2019-04-04;2019-01-31;admin@business.com;admin@business.com;8e2f2640-6866-4dcf-8f4d-3027aa831cad;Home;Hauptstrasse 11;Berlin;DE +24e718c9-ff99-47f1-8ca3-950c850777d4;2019-04-04;2019-01-30;admin@business.com;admin@business.com;74e718c9-ff99-47f1-8ca3-950c850777d4;Home;Main Street 22;London;GB +3e2f2640-6866-4dcf-8f4d-3027aa831cad;2019-04-04;2019-01-31;admin@business.com;admin@business.com;8e2f2640-6866-4dcf-8f4d-3027aa831cad;Work;Siemensstrasse 21;Berlin;DE +44e718c9-ff99-47f1-8ca3-950c850777d4;2019-04-04;2019-01-30;admin@business.com;admin@business.com;74e718c9-ff99-47f1-8ca3-950c850777d4;Work;Work Street 34;London;GB diff --git a/gen/db/data/Z_bookshop.extension-Z_Customers.csv b/gen/db/data/Z_bookshop.extension-Z_Customers.csv new file mode 100644 index 00000000..9359a945 --- /dev/null +++ b/gen/db/data/Z_bookshop.extension-Z_Customers.csv @@ -0,0 +1,3 @@ +ID;modifiedAt;createdAt;createdBy;modifiedBy;email;firstName;lastName;creditCardNo;dateOfBirth;status;creditScore +8e2f2640-6866-4dcf-8f4d-3027aa831cad;2019-04-04;2019-01-31;admin@business.com;admin@business.com;john.doe@test.com;John;Doe;9977-6655-4433-2211;1970-01-01;gold;80.0 +74e718c9-ff99-47f1-8ca3-950c850777d4;2019-04-04;2019-01-30;admin@business.com;admin@business.com;jane.doe@sap.com;Jane;Doe;2211-3344-5566-7788;1980-11-11;platinum;100.0 \ No newline at end of file diff --git a/gen/db/data/Z_bookshop.extension-Z_SalesRegion.csv b/gen/db/data/Z_bookshop.extension-Z_SalesRegion.csv new file mode 100644 index 00000000..e05b5c42 --- /dev/null +++ b/gen/db/data/Z_bookshop.extension-Z_SalesRegion.csv @@ -0,0 +1,4 @@ +regionCode;name;descr +AMER;Americas;North, Central and South America +EMEA;Europe, the Middle East and Africa;Europe, the Middle East and Africa +APJ;Asia Pacific and Japan;Asia Pacific and Japan \ No newline at end of file diff --git a/gen/db/data/sap.capire.bookshop-Authors.csv b/gen/db/data/sap.capire.bookshop-Authors.csv new file mode 100644 index 00000000..f97bfeed --- /dev/null +++ b/gen/db/data/sap.capire.bookshop-Authors.csv @@ -0,0 +1,5 @@ +ID;name;dateOfBirth;placeOfBirth;dateOfDeath;placeOfDeath +101;Emily Brontë;1818-07-30;Thornton, Yorkshire;1848-12-19;Haworth, Yorkshire +107;Charlotte Brontë;1818-04-21;Thornton, Yorkshire;1855-03-31;Haworth, Yorkshire +150;Edgar Allen Poe;1809-01-19;Boston, Massachusetts;1849-10-07;Baltimore, Maryland +170;Richard Carpenter;1929-08-14;King’s Lynn, Norfolk;2012-02-26;Hertfordshire, England \ No newline at end of file diff --git a/gen/db/data/sap.capire.bookshop-Books.csv b/gen/db/data/sap.capire.bookshop-Books.csv new file mode 100644 index 00000000..cb3044aa --- /dev/null +++ b/gen/db/data/sap.capire.bookshop-Books.csv @@ -0,0 +1,6 @@ +ID;title;descr;author_ID;stock;price;currency_code;genre_ID +201;Wuthering Heights;"Wuthering Heights, Emily Brontë's only novel, was published in 1847 under the pseudonym ""Ellis Bell"". It was written between October 1845 and June 1846. Wuthering Heights and Anne Brontë's Agnes Grey were accepted by publisher Thomas Newby before the success of their sister Charlotte's novel Jane Eyre. After Emily's death, Charlotte edited the manuscript of Wuthering Heights and arranged for the edited version to be published as a posthumous second edition in 1850.";101;12;11.11;GBP;11 +207;Jane Eyre;"Jane Eyre /ɛər/ (originally published as Jane Eyre: An Autobiography) is a novel by English writer Charlotte Brontë, published under the pen name ""Currer Bell"", on 16 October 1847, by Smith, Elder & Co. of London. The first American edition was published the following year by Harper & Brothers of New York. Primarily a bildungsroman, Jane Eyre follows the experiences of its eponymous heroine, including her growth to adulthood and her love for Mr. Rochester, the brooding master of Thornfield Hall. The novel revolutionised prose fiction in that the focus on Jane's moral and spiritual development is told through an intimate, first-person narrative, where actions and events are coloured by a psychological intensity. The book contains elements of social criticism, with a strong sense of Christian morality at its core and is considered by many to be ahead of its time because of Jane's individualistic character and how the novel approaches the topics of class, sexuality, religion and feminism.";107;11;12.34;GBP;11 +251;The Raven;"""The Raven"" is a narrative poem by American writer Edgar Allan Poe. First published in January 1845, the poem is often noted for its musicality, stylized language, and supernatural atmosphere. It tells of a talking raven's mysterious visit to a distraught lover, tracing the man's slow fall into madness. The lover, often identified as being a student, is lamenting the loss of his love, Lenore. Sitting on a bust of Pallas, the raven seems to further distress the protagonist with its constant repetition of the word ""Nevermore"". The poem makes use of folk, mythological, religious, and classical references.";150;333;13.13;USD;16 +252;Eleonora;"""Eleonora"" is a short story by Edgar Allan Poe, first published in 1842 in Philadelphia in the literary annual The Gift. It is often regarded as somewhat autobiographical and has a relatively ""happy"" ending.";150;555;14;USD;16 +271;Catweazle;Catweazle is a British fantasy television series, starring Geoffrey Bayldon in the title role, and created by Richard Carpenter for London Weekend Television. The first series, produced and directed by Quentin Lawrence, was screened in the UK on ITV in 1970. The second series, directed by David Reid and David Lane, was shown in 1971. Each series had thirteen episodes, most but not all written by Carpenter, who also published two books based on the scripts.;170;22;15;EUR;13 \ No newline at end of file diff --git a/gen/db/data/sap.capire.bookshop-Genres.csv b/gen/db/data/sap.capire.bookshop-Genres.csv new file mode 100644 index 00000000..1ea3793b --- /dev/null +++ b/gen/db/data/sap.capire.bookshop-Genres.csv @@ -0,0 +1,16 @@ +ID;parent_ID;name +10;;Fiction +11;10;Drama +12;10;Poetry +13;10;Fantasy +14;10;Science Fiction +15;10;Romance +16;10;Mystery +17;10;Thriller +18;10;Dystopia +19;10;Fairy Tale +20;;Non-Fiction +21;20;Biography +22;21;Autobiography +23;20;Essay +24;20;Speech diff --git a/gen/db/data/sap.capire.orders-Orders.csv b/gen/db/data/sap.capire.orders-Orders.csv new file mode 100644 index 00000000..dec45190 --- /dev/null +++ b/gen/db/data/sap.capire.orders-Orders.csv @@ -0,0 +1,3 @@ +ID;createdAt;createdBy;buyer;OrderNo;currency_code;Z_Customer_ID;Z_priority;Z_SalesRegion_regionCode +7e2f2640-6866-4dcf-8f4d-3027aa831cad;2019-01-31;john.doe@test.com;john.doe@test.com;1;EUR;8e2f2640-6866-4dcf-8f4d-3027aa831cad;high;EMEA +64e718c9-ff99-47f1-8ca3-950c850777d4;2019-01-30;jane.doe@test.com;jane.doe@test.com;2;EUR;74e718c9-ff99-47f1-8ca3-950c850777d4;low;APJ \ No newline at end of file diff --git a/gen/db/data/sap.capire.orders-Orders_Items.csv b/gen/db/data/sap.capire.orders-Orders_Items.csv new file mode 100644 index 00000000..b3025abe --- /dev/null +++ b/gen/db/data/sap.capire.orders-Orders_Items.csv @@ -0,0 +1,4 @@ +ID;up__ID;amount;product_ID;title;price +58040e66-1dcd-4ffb-ab10-fdce32028b79;7e2f2640-6866-4dcf-8f4d-3027aa831cad;1;201;Wuthering Heights;11.11 +64e718c9-ff99-47f1-8ca3-950c850777d4;7e2f2640-6866-4dcf-8f4d-3027aa831cad;1;271;Catweazle;15 +e9641166-e050-4261-bfee-d1e797e6cb7f;64e718c9-ff99-47f1-8ca3-950c850777d4;2;252;Eleonora;28 \ No newline at end of file diff --git a/gen/db/data/sap.common-Countries.csv b/gen/db/data/sap.common-Countries.csv new file mode 100644 index 00000000..6614e27a --- /dev/null +++ b/gen/db/data/sap.common-Countries.csv @@ -0,0 +1,12 @@ +code;name;descr +AU;Australia;Commonwealth of Australia +CA;Canada;Canada +CN;China;People's Republic of China (PRC) +FR;France;French Republic +DE;Germany;Federal Republic of Germany +IN;India;Republic of India +IL;Israel;State of Israel +MM;Myanmar;Republic of the Union of Myanmar +GB;United Kingdom;United Kingdom of Great Britain and Northern Ireland +US;United States;United States of America (USA) +EU;European Union;European Union \ No newline at end of file diff --git a/gen/db/data/sap.common-Currencies.csv b/gen/db/data/sap.common-Currencies.csv new file mode 100644 index 00000000..efe4538e --- /dev/null +++ b/gen/db/data/sap.common-Currencies.csv @@ -0,0 +1,12 @@ +code;symbol;name;descr;numcode;minor;exponent +EUR;€;Euro;European Euro;978;Cent;2 +USD;$;US Dollar;United States Dollar;840;Cent;2 +CAD;$;Canadian Dollar;Canadian Dollar;124;Cent;2 +AUD;$;Australian Dollar;Australian Dollar;036;Cent;2 +GBP;£;British Pound;Great Britain Pound;826;Penny;2 +ILS;₪;Shekel;Israeli New Shekel;376;Agorat;2 +INR;₹;Rupee;Indian Rupee;356;Paise;2 +QAR;﷼;Riyal;Katar Riyal;356;Dirham;2 +SAR;﷼;Riyal;Saudi Riyal;682;Halala;2 +JPY;¥;Yen;Japanese Yen;392;Sen;2 +CNY;¥;Yuan;Chinese Yuan Renminbi;156;Jiao;1 \ No newline at end of file diff --git a/gen/db/data/sap.common-Languages.csv b/gen/db/data/sap.common-Languages.csv new file mode 100644 index 00000000..17350b35 --- /dev/null +++ b/gen/db/data/sap.common-Languages.csv @@ -0,0 +1,5 @@ +code;name +de;German +fr;French +en;English +en_GB;British English diff --git a/gen/db/manifest.yml b/gen/db/manifest.yml new file mode 100644 index 00000000..ea61fb07 --- /dev/null +++ b/gen/db/manifest.yml @@ -0,0 +1,11 @@ +--- +applications: + - name: multitenancy-db-deployer + path: . + no-route: true + health-check-type: process + memory: 256M + buildpacks: + - nodejs_buildpack + services: + - multitenancy-db \ No newline at end of file diff --git a/gen/db/package.json b/gen/db/package.json new file mode 100644 index 00000000..20ce56ce --- /dev/null +++ b/gen/db/package.json @@ -0,0 +1,9 @@ +{ + "name": "deploy", + "dependencies": { + "@sap/hdi-deploy": "^4" + }, + "scripts": { + "start": "node node_modules/@sap/hdi-deploy/deploy.js" + } +} \ No newline at end of file diff --git a/gen/db/src/gen/.hdiconfig b/gen/db/src/gen/.hdiconfig new file mode 100644 index 00000000..8b9eb268 --- /dev/null +++ b/gen/db/src/gen/.hdiconfig @@ -0,0 +1,163 @@ +{ + "file_suffixes": { + "csv": { + "plugin_name": "com.sap.hana.di.tabledata.source" + }, + "hdbafllangprocedure": { + "plugin_name": "com.sap.hana.di.afllangprocedure" + }, + "hdbanalyticprivilege": { + "plugin_name": "com.sap.hana.di.analyticprivilege" + }, + "hdbcalculationview": { + "plugin_name": "com.sap.hana.di.calculationview" + }, + "hdbcds": { + "plugin_name": "com.sap.hana.di.cds" + }, + "hdbcollection": { + "plugin_name": "com.sap.hana.di.collection" + }, + "hdbconstraint": { + "plugin_name": "com.sap.hana.di.constraint" + }, + "hdbdropcreatetable": { + "plugin_name": "com.sap.hana.di.dropcreatetable" + }, + "hdbflowgraph": { + "plugin_name": "com.sap.hana.di.flowgraph" + }, + "hdbfulltextindex": { + "plugin_name": "com.sap.hana.di.fulltextindex" + }, + "hdbfunction": { + "plugin_name": "com.sap.hana.di.function" + }, + "hdbgraphworkspace": { + "plugin_name": "com.sap.hana.di.graphworkspace" + }, + "hdbhadoopmrjob": { + "plugin_name": "com.sap.hana.di.virtualfunctionpackage.hadoop" + }, + "hdbindex": { + "plugin_name": "com.sap.hana.di.index" + }, + "hdblibrary": { + "plugin_name": "com.sap.hana.di.library" + }, + "hdbmigrationtable": { + "plugin_name": "com.sap.hana.di.table.migration" + }, + "hdbprocedure": { + "plugin_name": "com.sap.hana.di.procedure" + }, + "hdbprojectionview": { + "plugin_name": "com.sap.hana.di.projectionview" + }, + "hdbprojectionviewconfig": { + "plugin_name": "com.sap.hana.di.projectionview.config" + }, + "hdbreptask": { + "plugin_name": "com.sap.hana.di.reptask" + }, + "hdbresultcache": { + "plugin_name": "com.sap.hana.di.resultcache" + }, + "hdbrole": { + "plugin_name": "com.sap.hana.di.role" + }, + "hdbroleconfig": { + "plugin_name": "com.sap.hana.di.role.config" + }, + "hdbsearchruleset": { + "plugin_name": "com.sap.hana.di.searchruleset" + }, + "hdbsequence": { + "plugin_name": "com.sap.hana.di.sequence" + }, + "hdbstatistics": { + "plugin_name": "com.sap.hana.di.statistics" + }, + "hdbstructuredprivilege": { + "plugin_name": "com.sap.hana.di.structuredprivilege" + }, + "hdbsynonym": { + "plugin_name": "com.sap.hana.di.synonym" + }, + "hdbsynonymconfig": { + "plugin_name": "com.sap.hana.di.synonym.config" + }, + "hdbsystemversioning": { + "plugin_name": "com.sap.hana.di.systemversioning" + }, + "hdbtable": { + "plugin_name": "com.sap.hana.di.table" + }, + "hdbtabledata": { + "plugin_name": "com.sap.hana.di.tabledata" + }, + "hdbtabletype": { + "plugin_name": "com.sap.hana.di.tabletype" + }, + "hdbtextconfig": { + "plugin_name": "com.sap.hana.di.textconfig" + }, + "hdbtextdict": { + "plugin_name": "com.sap.hana.di.textdictionary" + }, + "hdbtextinclude": { + "plugin_name": "com.sap.hana.di.textrule.include" + }, + "hdbtextlexicon": { + "plugin_name": "com.sap.hana.di.textrule.lexicon" + }, + "hdbtextminingconfig": { + "plugin_name": "com.sap.hana.di.textminingconfig" + }, + "hdbtextrule": { + "plugin_name": "com.sap.hana.di.textrule" + }, + "hdbtrigger": { + "plugin_name": "com.sap.hana.di.trigger" + }, + "hdbview": { + "plugin_name": "com.sap.hana.di.view" + }, + "hdbvirtualfunction": { + "plugin_name": "com.sap.hana.di.virtualfunction" + }, + "hdbvirtualfunctionconfig": { + "plugin_name": "com.sap.hana.di.virtualfunction.config" + }, + "hdbvirtualpackagehadoop": { + "plugin_name": "com.sap.hana.di.virtualpackage.hadoop" + }, + "hdbvirtualpackagesparksql": { + "plugin_name": "com.sap.hana.di.virtualpackage.sparksql" + }, + "hdbvirtualprocedure": { + "plugin_name": "com.sap.hana.di.virtualprocedure" + }, + "hdbvirtualprocedureconfig": { + "plugin_name": "com.sap.hana.di.virtualprocedure.config" + }, + "hdbvirtualtable": { + "plugin_name": "com.sap.hana.di.virtualtable" + }, + "hdbvirtualtableconfig": { + "plugin_name": "com.sap.hana.di.virtualtable.config" + }, + "jar": { + "plugin_name": "com.sap.hana.di.virtualfunctionpackage.hadoop" + }, + "properties": { + "plugin_name": "com.sap.hana.di.tabledata.properties" + }, + "tags": { + "plugin_name": "com.sap.hana.di.tabledata.properties" + }, + "txt": { + "plugin_name": "com.sap.hana.di.copyonly" + } + } +} \ No newline at end of file diff --git a/gen/db/src/gen/.hdinamespace b/gen/db/src/gen/.hdinamespace new file mode 100644 index 00000000..025f7f98 --- /dev/null +++ b/gen/db/src/gen/.hdinamespace @@ -0,0 +1,4 @@ +{ + "name": "", + "subfolder": "ignore" +} \ No newline at end of file diff --git a/gen/db/src/gen/ADMINSERVICE_AUTHORS.hdbcds b/gen/db/src/gen/ADMINSERVICE_AUTHORS.hdbcds new file mode 100644 index 00000000..2de61d46 --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_AUTHORS.hdbcds @@ -0,0 +1,17 @@ +using SAP_CAPIRE_BOOKSHOP_AUTHORS as SAP_CAPIRE_BOOKSHOP_AUTHORS; +using ADMINSERVICE_BOOKS as ADMINSERVICE_BOOKS; +view ADMINSERVICE_AUTHORS as select from SAP_CAPIRE_BOOKSHOP_AUTHORS as AUTHORS_0 mixin { + ___BOOKS : association[*] to ADMINSERVICE_BOOKS on ___BOOKS.AUTHOR_ID = $projection.ID; +} into { + AUTHORS_0.CREATEDAT, + AUTHORS_0.CREATEDBY, + AUTHORS_0.MODIFIEDAT, + AUTHORS_0.MODIFIEDBY, + key AUTHORS_0.ID as ID, + AUTHORS_0.NAME, + AUTHORS_0.DATEOFBIRTH, + AUTHORS_0.DATEOFDEATH, + AUTHORS_0.PLACEOFBIRTH, + AUTHORS_0.PLACEOFDEATH, + ___BOOKS as BOOKS +}; diff --git a/gen/db/src/gen/ADMINSERVICE_BOOKS.hdbcds b/gen/db/src/gen/ADMINSERVICE_BOOKS.hdbcds new file mode 100644 index 00000000..93f39e07 --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_BOOKS.hdbcds @@ -0,0 +1,31 @@ +using SAP_CAPIRE_BOOKSHOP_BOOKS as SAP_CAPIRE_BOOKSHOP_BOOKS; +using ADMINSERVICE_AUTHORS as ADMINSERVICE_AUTHORS; +using ADMINSERVICE_GENRES as ADMINSERVICE_GENRES; +using ADMINSERVICE_CURRENCIES as ADMINSERVICE_CURRENCIES; +using ADMINSERVICE_BOOKS_TEXTS as ADMINSERVICE_BOOKS_TEXTS; +view ADMINSERVICE_BOOKS as select from SAP_CAPIRE_BOOKSHOP_BOOKS as BOOKS_0 mixin { + ___AUTHOR : association to ADMINSERVICE_AUTHORS on ___AUTHOR.ID = $projection.AUTHOR_ID; + ___GENRE : association to ADMINSERVICE_GENRES on ___GENRE.ID = $projection.GENRE_ID; + ___CURRENCY : association to ADMINSERVICE_CURRENCIES on ___CURRENCY.CODE = $projection.CURRENCY_CODE; + ___TEXTS : association[*] to ADMINSERVICE_BOOKS_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to ADMINSERVICE_BOOKS_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + BOOKS_0.CREATEDAT, + BOOKS_0.CREATEDBY, + BOOKS_0.MODIFIEDAT, + BOOKS_0.MODIFIEDBY, + key BOOKS_0.ID as ID, + BOOKS_0.TITLE, + BOOKS_0.DESCR, + ___AUTHOR as AUTHOR, + BOOKS_0.AUTHOR_ID, + ___GENRE as GENRE, + BOOKS_0.GENRE_ID, + BOOKS_0.STOCK, + BOOKS_0.PRICE, + ___CURRENCY as CURRENCY, + BOOKS_0.CURRENCY_CODE, + BOOKS_0.IMAGE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ADMINSERVICE_BOOKS_DRAFTS.hdbcds b/gen/db/src/gen/ADMINSERVICE_BOOKS_DRAFTS.hdbcds new file mode 100644 index 00000000..605d6330 --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_BOOKS_DRAFTS.hdbcds @@ -0,0 +1,30 @@ +using ADMINSERVICE_AUTHORS as ADMINSERVICE_AUTHORS; +using ADMINSERVICE_GENRES as ADMINSERVICE_GENRES; +using ADMINSERVICE_CURRENCIES as ADMINSERVICE_CURRENCIES; +using ADMINSERVICE_BOOKS_TEXTS_DRAFTS as ADMINSERVICE_BOOKS_TEXTS_DRAFTS; +using ADMINSERVICE_DRAFTADMINISTRATIVEDATA as ADMINSERVICE_DRAFTADMINISTRATIVEDATA; +entity ADMINSERVICE_BOOKS_DRAFTS { + CREATEDAT : UTCTimestamp null; + CREATEDBY : String(255) null; + MODIFIEDAT : UTCTimestamp null; + MODIFIEDBY : String(255) null; + key ID : Integer; + TITLE : String(111) null; + DESCR : String(1111) null; + AUTHOR : association to ADMINSERVICE_AUTHORS on AUTHOR.ID = AUTHOR_ID; + AUTHOR_ID : Integer null; + GENRE : association to ADMINSERVICE_GENRES on GENRE.ID = GENRE_ID; + GENRE_ID : Integer null; + STOCK : Integer null; + PRICE : DecimalFloat null; + CURRENCY : association to ADMINSERVICE_CURRENCIES on CURRENCY.CODE = CURRENCY_CODE; + CURRENCY_CODE : String(3) null; + IMAGE : LargeBinary null; + TEXTS : association[*] to ADMINSERVICE_BOOKS_TEXTS_DRAFTS on TEXTS.ID = ID; + LOCALIZED : association to ADMINSERVICE_BOOKS_TEXTS_DRAFTS on LOCALIZED.ID = ID and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); + ISACTIVEENTITY : Boolean; + HASACTIVEENTITY : Boolean; + HASDRAFTENTITY : Boolean; + DRAFTADMINISTRATIVEDATA : association[1] to ADMINSERVICE_DRAFTADMINISTRATIVEDATA on DRAFTADMINISTRATIVEDATA.DRAFTUUID = DRAFTADMINISTRATIVEDATA_DRAFTUUID; + DRAFTADMINISTRATIVEDATA_DRAFTUUID : String(36) not null; +}; diff --git a/gen/db/src/gen/ADMINSERVICE_BOOKS_TEXTS.hdbcds b/gen/db/src/gen/ADMINSERVICE_BOOKS_TEXTS.hdbcds new file mode 100644 index 00000000..9be4f7e7 --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_BOOKS_TEXTS.hdbcds @@ -0,0 +1,8 @@ +using SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS as SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS; +view ADMINSERVICE_BOOKS_TEXTS as select from SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS as TEXTS_0 { + key TEXTS_0.ID_TEXTS as ID_TEXTS, + TEXTS_0.LOCALE, + TEXTS_0.ID, + TEXTS_0.TITLE, + TEXTS_0.DESCR +}; diff --git a/gen/db/src/gen/ADMINSERVICE_BOOKS_TEXTS_DRAFTS.hdbcds b/gen/db/src/gen/ADMINSERVICE_BOOKS_TEXTS_DRAFTS.hdbcds new file mode 100644 index 00000000..a90c650c --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_BOOKS_TEXTS_DRAFTS.hdbcds @@ -0,0 +1,13 @@ +using ADMINSERVICE_DRAFTADMINISTRATIVEDATA as ADMINSERVICE_DRAFTADMINISTRATIVEDATA; +entity ADMINSERVICE_BOOKS_TEXTS_DRAFTS { + key ID_TEXTS : String(36); + LOCALE : String(14) null; + ID : Integer null; + TITLE : String(111) null; + DESCR : String(1111) null; + ISACTIVEENTITY : Boolean; + HASACTIVEENTITY : Boolean; + HASDRAFTENTITY : Boolean; + DRAFTADMINISTRATIVEDATA : association[1] to ADMINSERVICE_DRAFTADMINISTRATIVEDATA on DRAFTADMINISTRATIVEDATA.DRAFTUUID = DRAFTADMINISTRATIVEDATA_DRAFTUUID; + DRAFTADMINISTRATIVEDATA_DRAFTUUID : String(36) not null; +}; diff --git a/gen/db/src/gen/ADMINSERVICE_CURRENCIES.hdbcds b/gen/db/src/gen/ADMINSERVICE_CURRENCIES.hdbcds new file mode 100644 index 00000000..a8cb54c1 --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_CURRENCIES.hdbcds @@ -0,0 +1,16 @@ +using SAP_COMMON_CURRENCIES as SAP_COMMON_CURRENCIES; +using ADMINSERVICE_CURRENCIES_TEXTS as ADMINSERVICE_CURRENCIES_TEXTS; +view ADMINSERVICE_CURRENCIES as select from SAP_COMMON_CURRENCIES as CURRENCIES_0 mixin { + ___TEXTS : association[*] to ADMINSERVICE_CURRENCIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ADMINSERVICE_CURRENCIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + CURRENCIES_0.NAME, + CURRENCIES_0.DESCR, + key CURRENCIES_0.CODE as CODE, + CURRENCIES_0.SYMBOL, + CURRENCIES_0.NUMCODE, + CURRENCIES_0.EXPONENT, + CURRENCIES_0.MINOR, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ADMINSERVICE_CURRENCIES_TEXTS.hdbcds b/gen/db/src/gen/ADMINSERVICE_CURRENCIES_TEXTS.hdbcds new file mode 100644 index 00000000..3ee91069 --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_CURRENCIES_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using SAP_COMMON_CURRENCIES_TEXTS as SAP_COMMON_CURRENCIES_TEXTS; +view ADMINSERVICE_CURRENCIES_TEXTS as select from SAP_COMMON_CURRENCIES_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.CODE as CODE +}; diff --git a/gen/db/src/gen/ADMINSERVICE_DRAFTADMINISTRATIVEDATA.hdbcds b/gen/db/src/gen/ADMINSERVICE_DRAFTADMINISTRATIVEDATA.hdbcds new file mode 100644 index 00000000..dd41444f --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_DRAFTADMINISTRATIVEDATA.hdbcds @@ -0,0 +1,11 @@ +using DRAFT_DRAFTADMINISTRATIVEDATA as DRAFT_DRAFTADMINISTRATIVEDATA; +view ADMINSERVICE_DRAFTADMINISTRATIVEDATA as select from DRAFT_DRAFTADMINISTRATIVEDATA as DRAFTADMINISTRATIVEDATA { + key DRAFTADMINISTRATIVEDATA.DRAFTUUID as DRAFTUUID, + DRAFTADMINISTRATIVEDATA.CREATIONDATETIME, + DRAFTADMINISTRATIVEDATA.CREATEDBYUSER, + DRAFTADMINISTRATIVEDATA.DRAFTISCREATEDBYME, + DRAFTADMINISTRATIVEDATA.LASTCHANGEDATETIME, + DRAFTADMINISTRATIVEDATA.LASTCHANGEDBYUSER, + DRAFTADMINISTRATIVEDATA.INPROCESSBYUSER, + DRAFTADMINISTRATIVEDATA.DRAFTISPROCESSEDBYME +}; diff --git a/gen/db/src/gen/ADMINSERVICE_GENRES.hdbcds b/gen/db/src/gen/ADMINSERVICE_GENRES.hdbcds new file mode 100644 index 00000000..9fb3156d --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_GENRES.hdbcds @@ -0,0 +1,17 @@ +using SAP_CAPIRE_BOOKSHOP_GENRES as SAP_CAPIRE_BOOKSHOP_GENRES; +using ADMINSERVICE_GENRES_TEXTS as ADMINSERVICE_GENRES_TEXTS; +view ADMINSERVICE_GENRES as select from SAP_CAPIRE_BOOKSHOP_GENRES as GENRES_0 mixin { + ___PARENT : association to ADMINSERVICE_GENRES on ___PARENT.ID = $projection.PARENT_ID; + ___CHILDREN : association[*] to ADMINSERVICE_GENRES on ___CHILDREN.PARENT_ID = $projection.ID; + ___TEXTS : association[*] to ADMINSERVICE_GENRES_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to ADMINSERVICE_GENRES_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + GENRES_0.NAME, + GENRES_0.DESCR, + key GENRES_0.ID as ID, + ___PARENT as PARENT, + GENRES_0.PARENT_ID, + ___CHILDREN as CHILDREN, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ADMINSERVICE_GENRES_TEXTS.hdbcds b/gen/db/src/gen/ADMINSERVICE_GENRES_TEXTS.hdbcds new file mode 100644 index 00000000..103a3c0e --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_GENRES_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS as SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS; +view ADMINSERVICE_GENRES_TEXTS as select from SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.ID as ID +}; diff --git a/gen/db/src/gen/ADMINSERVICE_LANGUAGES.hdbcds b/gen/db/src/gen/ADMINSERVICE_LANGUAGES.hdbcds new file mode 100644 index 00000000..25175f34 --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_LANGUAGES.hdbcds @@ -0,0 +1,12 @@ +using SAP_COMMON_LANGUAGES as SAP_COMMON_LANGUAGES; +using ADMINSERVICE_LANGUAGES_TEXTS as ADMINSERVICE_LANGUAGES_TEXTS; +view ADMINSERVICE_LANGUAGES as select from SAP_COMMON_LANGUAGES as LANGUAGES_0 mixin { + ___TEXTS : association[*] to ADMINSERVICE_LANGUAGES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ADMINSERVICE_LANGUAGES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + LANGUAGES_0.NAME, + LANGUAGES_0.DESCR, + key LANGUAGES_0.CODE as CODE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ADMINSERVICE_LANGUAGES_TEXTS.hdbcds b/gen/db/src/gen/ADMINSERVICE_LANGUAGES_TEXTS.hdbcds new file mode 100644 index 00000000..861d9398 --- /dev/null +++ b/gen/db/src/gen/ADMINSERVICE_LANGUAGES_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using SAP_COMMON_LANGUAGES_TEXTS as SAP_COMMON_LANGUAGES_TEXTS; +view ADMINSERVICE_LANGUAGES_TEXTS as select from SAP_COMMON_LANGUAGES_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.CODE as CODE +}; diff --git a/gen/db/src/gen/CATALOGSERVICE_BOOKS.hdbcds b/gen/db/src/gen/CATALOGSERVICE_BOOKS.hdbcds new file mode 100644 index 00000000..a54bf4d9 --- /dev/null +++ b/gen/db/src/gen/CATALOGSERVICE_BOOKS.hdbcds @@ -0,0 +1,27 @@ +using SAP_CAPIRE_BOOKSHOP_BOOKS as SAP_CAPIRE_BOOKSHOP_BOOKS; +using SAP_CAPIRE_BOOKSHOP_AUTHORS as SAP_CAPIRE_BOOKSHOP_AUTHORS; +using CATALOGSERVICE_GENRES as CATALOGSERVICE_GENRES; +using CATALOGSERVICE_CURRENCIES as CATALOGSERVICE_CURRENCIES; +using CATALOGSERVICE_BOOKS_TEXTS as CATALOGSERVICE_BOOKS_TEXTS; +view CATALOGSERVICE_BOOKS as select from (SAP_CAPIRE_BOOKSHOP_BOOKS as BOOKS_0 left join SAP_CAPIRE_BOOKSHOP_AUTHORS as AUTHOR_1 on BOOKS_0.AUTHOR_ID = AUTHOR_1.ID) mixin { + ___GENRE : association to CATALOGSERVICE_GENRES on ___GENRE.ID = $projection.GENRE_ID; + ___CURRENCY : association to CATALOGSERVICE_CURRENCIES on ___CURRENCY.CODE = $projection.CURRENCY_CODE; + ___TEXTS : association[*] to CATALOGSERVICE_BOOKS_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to CATALOGSERVICE_BOOKS_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + BOOKS_0.CREATEDAT, + BOOKS_0.MODIFIEDAT, + key BOOKS_0.ID as ID, + BOOKS_0.TITLE, + BOOKS_0.DESCR, + AUTHOR_1.NAME as AUTHOR, + ___GENRE as GENRE, + BOOKS_0.GENRE_ID, + BOOKS_0.STOCK, + BOOKS_0.PRICE, + ___CURRENCY as CURRENCY, + BOOKS_0.CURRENCY_CODE, + BOOKS_0.IMAGE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/CATALOGSERVICE_BOOKS_TEXTS.hdbcds b/gen/db/src/gen/CATALOGSERVICE_BOOKS_TEXTS.hdbcds new file mode 100644 index 00000000..17ba5ec7 --- /dev/null +++ b/gen/db/src/gen/CATALOGSERVICE_BOOKS_TEXTS.hdbcds @@ -0,0 +1,8 @@ +using SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS as SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS; +view CATALOGSERVICE_BOOKS_TEXTS as select from SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS as TEXTS_0 { + key TEXTS_0.ID_TEXTS as ID_TEXTS, + TEXTS_0.LOCALE, + TEXTS_0.ID, + TEXTS_0.TITLE, + TEXTS_0.DESCR +}; diff --git a/gen/db/src/gen/CATALOGSERVICE_CURRENCIES.hdbcds b/gen/db/src/gen/CATALOGSERVICE_CURRENCIES.hdbcds new file mode 100644 index 00000000..7370c0b7 --- /dev/null +++ b/gen/db/src/gen/CATALOGSERVICE_CURRENCIES.hdbcds @@ -0,0 +1,16 @@ +using SAP_COMMON_CURRENCIES as SAP_COMMON_CURRENCIES; +using CATALOGSERVICE_CURRENCIES_TEXTS as CATALOGSERVICE_CURRENCIES_TEXTS; +view CATALOGSERVICE_CURRENCIES as select from SAP_COMMON_CURRENCIES as CURRENCIES_0 mixin { + ___TEXTS : association[*] to CATALOGSERVICE_CURRENCIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to CATALOGSERVICE_CURRENCIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + CURRENCIES_0.NAME, + CURRENCIES_0.DESCR, + key CURRENCIES_0.CODE as CODE, + CURRENCIES_0.SYMBOL, + CURRENCIES_0.NUMCODE, + CURRENCIES_0.EXPONENT, + CURRENCIES_0.MINOR, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/CATALOGSERVICE_CURRENCIES_TEXTS.hdbcds b/gen/db/src/gen/CATALOGSERVICE_CURRENCIES_TEXTS.hdbcds new file mode 100644 index 00000000..505e9e32 --- /dev/null +++ b/gen/db/src/gen/CATALOGSERVICE_CURRENCIES_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using SAP_COMMON_CURRENCIES_TEXTS as SAP_COMMON_CURRENCIES_TEXTS; +view CATALOGSERVICE_CURRENCIES_TEXTS as select from SAP_COMMON_CURRENCIES_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.CODE as CODE +}; diff --git a/gen/db/src/gen/CATALOGSERVICE_GENRES.hdbcds b/gen/db/src/gen/CATALOGSERVICE_GENRES.hdbcds new file mode 100644 index 00000000..7d81b11f --- /dev/null +++ b/gen/db/src/gen/CATALOGSERVICE_GENRES.hdbcds @@ -0,0 +1,17 @@ +using SAP_CAPIRE_BOOKSHOP_GENRES as SAP_CAPIRE_BOOKSHOP_GENRES; +using CATALOGSERVICE_GENRES_TEXTS as CATALOGSERVICE_GENRES_TEXTS; +view CATALOGSERVICE_GENRES as select from SAP_CAPIRE_BOOKSHOP_GENRES as GENRES_0 mixin { + ___PARENT : association to CATALOGSERVICE_GENRES on ___PARENT.ID = $projection.PARENT_ID; + ___CHILDREN : association[*] to CATALOGSERVICE_GENRES on ___CHILDREN.PARENT_ID = $projection.ID; + ___TEXTS : association[*] to CATALOGSERVICE_GENRES_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to CATALOGSERVICE_GENRES_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + GENRES_0.NAME, + GENRES_0.DESCR, + key GENRES_0.ID as ID, + ___PARENT as PARENT, + GENRES_0.PARENT_ID, + ___CHILDREN as CHILDREN, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/CATALOGSERVICE_GENRES_TEXTS.hdbcds b/gen/db/src/gen/CATALOGSERVICE_GENRES_TEXTS.hdbcds new file mode 100644 index 00000000..6b00613b --- /dev/null +++ b/gen/db/src/gen/CATALOGSERVICE_GENRES_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS as SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS; +view CATALOGSERVICE_GENRES_TEXTS as select from SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.ID as ID +}; diff --git a/gen/db/src/gen/CATALOGSERVICE_LISTOFBOOKS.hdbcds b/gen/db/src/gen/CATALOGSERVICE_LISTOFBOOKS.hdbcds new file mode 100644 index 00000000..f9e7acb5 --- /dev/null +++ b/gen/db/src/gen/CATALOGSERVICE_LISTOFBOOKS.hdbcds @@ -0,0 +1,25 @@ +using CATALOGSERVICE_BOOKS as CATALOGSERVICE_BOOKS; +using CATALOGSERVICE_GENRES as CATALOGSERVICE_GENRES; +using CATALOGSERVICE_CURRENCIES as CATALOGSERVICE_CURRENCIES; +using CATALOGSERVICE_BOOKS_TEXTS as CATALOGSERVICE_BOOKS_TEXTS; +view CATALOGSERVICE_LISTOFBOOKS as select from CATALOGSERVICE_BOOKS as BOOKS_0 mixin { + ___GENRE : association to CATALOGSERVICE_GENRES on ___GENRE.ID = $projection.GENRE_ID; + ___CURRENCY : association to CATALOGSERVICE_CURRENCIES on ___CURRENCY.CODE = $projection.CURRENCY_CODE; + ___TEXTS : association[*] to CATALOGSERVICE_BOOKS_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to CATALOGSERVICE_BOOKS_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + BOOKS_0.CREATEDAT, + BOOKS_0.MODIFIEDAT, + key BOOKS_0.ID as ID, + BOOKS_0.TITLE, + BOOKS_0.AUTHOR, + ___GENRE as GENRE, + BOOKS_0.GENRE_ID, + BOOKS_0.STOCK, + BOOKS_0.PRICE, + ___CURRENCY as CURRENCY, + BOOKS_0.CURRENCY_CODE, + BOOKS_0.IMAGE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/DRAFT_DRAFTADMINISTRATIVEDATA.hdbcds b/gen/db/src/gen/DRAFT_DRAFTADMINISTRATIVEDATA.hdbcds new file mode 100644 index 00000000..4561235b --- /dev/null +++ b/gen/db/src/gen/DRAFT_DRAFTADMINISTRATIVEDATA.hdbcds @@ -0,0 +1,10 @@ +entity DRAFT_DRAFTADMINISTRATIVEDATA { + key DRAFTUUID : String(36); + CREATIONDATETIME : UTCTimestamp; + CREATEDBYUSER : String(256); + DRAFTISCREATEDBYME : Boolean; + LASTCHANGEDATETIME : UTCTimestamp; + LASTCHANGEDBYUSER : String(256); + INPROCESSBYUSER : String(256); + DRAFTISPROCESSEDBYME : Boolean; +}; diff --git a/gen/db/src/gen/LOCALIZED_ADMINSERVICE_AUTHORS.hdbcds b/gen/db/src/gen/LOCALIZED_ADMINSERVICE_AUTHORS.hdbcds new file mode 100644 index 00000000..21089fc9 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ADMINSERVICE_AUTHORS.hdbcds @@ -0,0 +1,17 @@ +using LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS as LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS; +using LOCALIZED_ADMINSERVICE_BOOKS as LOCALIZED_ADMINSERVICE_BOOKS; +view LOCALIZED_ADMINSERVICE_AUTHORS as select from LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS as AUTHORS_0 mixin { + ___BOOKS : association[*] to LOCALIZED_ADMINSERVICE_BOOKS on ___BOOKS.AUTHOR_ID = $projection.ID; +} into { + AUTHORS_0.CREATEDAT, + AUTHORS_0.CREATEDBY, + AUTHORS_0.MODIFIEDAT, + AUTHORS_0.MODIFIEDBY, + key AUTHORS_0.ID as ID, + AUTHORS_0.NAME, + AUTHORS_0.DATEOFBIRTH, + AUTHORS_0.DATEOFDEATH, + AUTHORS_0.PLACEOFBIRTH, + AUTHORS_0.PLACEOFDEATH, + ___BOOKS as BOOKS +}; diff --git a/gen/db/src/gen/LOCALIZED_ADMINSERVICE_BOOKS.hdbcds b/gen/db/src/gen/LOCALIZED_ADMINSERVICE_BOOKS.hdbcds new file mode 100644 index 00000000..c9db4ef9 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ADMINSERVICE_BOOKS.hdbcds @@ -0,0 +1,31 @@ +using LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS as LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS; +using LOCALIZED_ADMINSERVICE_AUTHORS as LOCALIZED_ADMINSERVICE_AUTHORS; +using LOCALIZED_ADMINSERVICE_GENRES as LOCALIZED_ADMINSERVICE_GENRES; +using LOCALIZED_ADMINSERVICE_CURRENCIES as LOCALIZED_ADMINSERVICE_CURRENCIES; +using ADMINSERVICE_BOOKS_TEXTS as ADMINSERVICE_BOOKS_TEXTS; +view LOCALIZED_ADMINSERVICE_BOOKS as select from LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS as BOOKS_0 mixin { + ___AUTHOR : association to LOCALIZED_ADMINSERVICE_AUTHORS on ___AUTHOR.ID = $projection.AUTHOR_ID; + ___GENRE : association to LOCALIZED_ADMINSERVICE_GENRES on ___GENRE.ID = $projection.GENRE_ID; + ___CURRENCY : association to LOCALIZED_ADMINSERVICE_CURRENCIES on ___CURRENCY.CODE = $projection.CURRENCY_CODE; + ___TEXTS : association[*] to ADMINSERVICE_BOOKS_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to ADMINSERVICE_BOOKS_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + BOOKS_0.CREATEDAT, + BOOKS_0.CREATEDBY, + BOOKS_0.MODIFIEDAT, + BOOKS_0.MODIFIEDBY, + key BOOKS_0.ID as ID, + BOOKS_0.TITLE, + BOOKS_0.DESCR, + ___AUTHOR as AUTHOR, + BOOKS_0.AUTHOR_ID, + ___GENRE as GENRE, + BOOKS_0.GENRE_ID, + BOOKS_0.STOCK, + BOOKS_0.PRICE, + ___CURRENCY as CURRENCY, + BOOKS_0.CURRENCY_CODE, + BOOKS_0.IMAGE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_ADMINSERVICE_CURRENCIES.hdbcds b/gen/db/src/gen/LOCALIZED_ADMINSERVICE_CURRENCIES.hdbcds new file mode 100644 index 00000000..310c7692 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ADMINSERVICE_CURRENCIES.hdbcds @@ -0,0 +1,16 @@ +using LOCALIZED_SAP_COMMON_CURRENCIES as LOCALIZED_SAP_COMMON_CURRENCIES; +using ADMINSERVICE_CURRENCIES_TEXTS as ADMINSERVICE_CURRENCIES_TEXTS; +view LOCALIZED_ADMINSERVICE_CURRENCIES as select from LOCALIZED_SAP_COMMON_CURRENCIES as CURRENCIES_0 mixin { + ___TEXTS : association[*] to ADMINSERVICE_CURRENCIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ADMINSERVICE_CURRENCIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + CURRENCIES_0.NAME, + CURRENCIES_0.DESCR, + key CURRENCIES_0.CODE as CODE, + CURRENCIES_0.SYMBOL, + CURRENCIES_0.NUMCODE, + CURRENCIES_0.EXPONENT, + CURRENCIES_0.MINOR, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_ADMINSERVICE_GENRES.hdbcds b/gen/db/src/gen/LOCALIZED_ADMINSERVICE_GENRES.hdbcds new file mode 100644 index 00000000..0c1a42a9 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ADMINSERVICE_GENRES.hdbcds @@ -0,0 +1,17 @@ +using LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES as LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES; +using ADMINSERVICE_GENRES_TEXTS as ADMINSERVICE_GENRES_TEXTS; +view LOCALIZED_ADMINSERVICE_GENRES as select from LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES as GENRES_0 mixin { + ___PARENT : association to LOCALIZED_ADMINSERVICE_GENRES on ___PARENT.ID = $projection.PARENT_ID; + ___CHILDREN : association[*] to LOCALIZED_ADMINSERVICE_GENRES on ___CHILDREN.PARENT_ID = $projection.ID; + ___TEXTS : association[*] to ADMINSERVICE_GENRES_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to ADMINSERVICE_GENRES_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + GENRES_0.NAME, + GENRES_0.DESCR, + key GENRES_0.ID as ID, + ___PARENT as PARENT, + GENRES_0.PARENT_ID, + ___CHILDREN as CHILDREN, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_ADMINSERVICE_LANGUAGES.hdbcds b/gen/db/src/gen/LOCALIZED_ADMINSERVICE_LANGUAGES.hdbcds new file mode 100644 index 00000000..362951b2 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ADMINSERVICE_LANGUAGES.hdbcds @@ -0,0 +1,12 @@ +using LOCALIZED_SAP_COMMON_LANGUAGES as LOCALIZED_SAP_COMMON_LANGUAGES; +using ADMINSERVICE_LANGUAGES_TEXTS as ADMINSERVICE_LANGUAGES_TEXTS; +view LOCALIZED_ADMINSERVICE_LANGUAGES as select from LOCALIZED_SAP_COMMON_LANGUAGES as LANGUAGES_0 mixin { + ___TEXTS : association[*] to ADMINSERVICE_LANGUAGES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ADMINSERVICE_LANGUAGES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + LANGUAGES_0.NAME, + LANGUAGES_0.DESCR, + key LANGUAGES_0.CODE as CODE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_BOOKS.hdbcds b/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_BOOKS.hdbcds new file mode 100644 index 00000000..dd204348 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_BOOKS.hdbcds @@ -0,0 +1,27 @@ +using LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS as LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS; +using LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS as LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS; +using LOCALIZED_CATALOGSERVICE_GENRES as LOCALIZED_CATALOGSERVICE_GENRES; +using LOCALIZED_CATALOGSERVICE_CURRENCIES as LOCALIZED_CATALOGSERVICE_CURRENCIES; +using CATALOGSERVICE_BOOKS_TEXTS as CATALOGSERVICE_BOOKS_TEXTS; +view LOCALIZED_CATALOGSERVICE_BOOKS as select from (LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS as BOOKS_0 left join LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS as AUTHOR_1 on BOOKS_0.AUTHOR_ID = AUTHOR_1.ID) mixin { + ___GENRE : association to LOCALIZED_CATALOGSERVICE_GENRES on ___GENRE.ID = $projection.GENRE_ID; + ___CURRENCY : association to LOCALIZED_CATALOGSERVICE_CURRENCIES on ___CURRENCY.CODE = $projection.CURRENCY_CODE; + ___TEXTS : association[*] to CATALOGSERVICE_BOOKS_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to CATALOGSERVICE_BOOKS_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + BOOKS_0.CREATEDAT, + BOOKS_0.MODIFIEDAT, + key BOOKS_0.ID as ID, + BOOKS_0.TITLE, + BOOKS_0.DESCR, + AUTHOR_1.NAME as AUTHOR, + ___GENRE as GENRE, + BOOKS_0.GENRE_ID, + BOOKS_0.STOCK, + BOOKS_0.PRICE, + ___CURRENCY as CURRENCY, + BOOKS_0.CURRENCY_CODE, + BOOKS_0.IMAGE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_CURRENCIES.hdbcds b/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_CURRENCIES.hdbcds new file mode 100644 index 00000000..03bf21df --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_CURRENCIES.hdbcds @@ -0,0 +1,16 @@ +using LOCALIZED_SAP_COMMON_CURRENCIES as LOCALIZED_SAP_COMMON_CURRENCIES; +using CATALOGSERVICE_CURRENCIES_TEXTS as CATALOGSERVICE_CURRENCIES_TEXTS; +view LOCALIZED_CATALOGSERVICE_CURRENCIES as select from LOCALIZED_SAP_COMMON_CURRENCIES as CURRENCIES_0 mixin { + ___TEXTS : association[*] to CATALOGSERVICE_CURRENCIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to CATALOGSERVICE_CURRENCIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + CURRENCIES_0.NAME, + CURRENCIES_0.DESCR, + key CURRENCIES_0.CODE as CODE, + CURRENCIES_0.SYMBOL, + CURRENCIES_0.NUMCODE, + CURRENCIES_0.EXPONENT, + CURRENCIES_0.MINOR, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_GENRES.hdbcds b/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_GENRES.hdbcds new file mode 100644 index 00000000..7db696c9 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_GENRES.hdbcds @@ -0,0 +1,17 @@ +using LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES as LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES; +using CATALOGSERVICE_GENRES_TEXTS as CATALOGSERVICE_GENRES_TEXTS; +view LOCALIZED_CATALOGSERVICE_GENRES as select from LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES as GENRES_0 mixin { + ___PARENT : association to LOCALIZED_CATALOGSERVICE_GENRES on ___PARENT.ID = $projection.PARENT_ID; + ___CHILDREN : association[*] to LOCALIZED_CATALOGSERVICE_GENRES on ___CHILDREN.PARENT_ID = $projection.ID; + ___TEXTS : association[*] to CATALOGSERVICE_GENRES_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to CATALOGSERVICE_GENRES_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + GENRES_0.NAME, + GENRES_0.DESCR, + key GENRES_0.ID as ID, + ___PARENT as PARENT, + GENRES_0.PARENT_ID, + ___CHILDREN as CHILDREN, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_LISTOFBOOKS.hdbcds b/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_LISTOFBOOKS.hdbcds new file mode 100644 index 00000000..652c46a2 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_CATALOGSERVICE_LISTOFBOOKS.hdbcds @@ -0,0 +1,25 @@ +using LOCALIZED_CATALOGSERVICE_BOOKS as LOCALIZED_CATALOGSERVICE_BOOKS; +using LOCALIZED_CATALOGSERVICE_GENRES as LOCALIZED_CATALOGSERVICE_GENRES; +using LOCALIZED_CATALOGSERVICE_CURRENCIES as LOCALIZED_CATALOGSERVICE_CURRENCIES; +using CATALOGSERVICE_BOOKS_TEXTS as CATALOGSERVICE_BOOKS_TEXTS; +view LOCALIZED_CATALOGSERVICE_LISTOFBOOKS as select from LOCALIZED_CATALOGSERVICE_BOOKS as BOOKS_0 mixin { + ___GENRE : association to LOCALIZED_CATALOGSERVICE_GENRES on ___GENRE.ID = $projection.GENRE_ID; + ___CURRENCY : association to LOCALIZED_CATALOGSERVICE_CURRENCIES on ___CURRENCY.CODE = $projection.CURRENCY_CODE; + ___TEXTS : association[*] to CATALOGSERVICE_BOOKS_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to CATALOGSERVICE_BOOKS_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + BOOKS_0.CREATEDAT, + BOOKS_0.MODIFIEDAT, + key BOOKS_0.ID as ID, + BOOKS_0.TITLE, + BOOKS_0.AUTHOR, + ___GENRE as GENRE, + BOOKS_0.GENRE_ID, + BOOKS_0.STOCK, + BOOKS_0.PRICE, + ___CURRENCY as CURRENCY, + BOOKS_0.CURRENCY_CODE, + BOOKS_0.IMAGE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_CITIES.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_CITIES.hdbcds new file mode 100644 index 00000000..1b73c906 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_CITIES.hdbcds @@ -0,0 +1,19 @@ +using LOCALIZED_SAP_COMMON_COUNTRIES_CITIES as LOCALIZED_SAP_COMMON_COUNTRIES_CITIES; +using LOCALIZED_ORDERSSERVICE_REGIONS as LOCALIZED_ORDERSSERVICE_REGIONS; +using LOCALIZED_ORDERSSERVICE_DISTRICTS as LOCALIZED_ORDERSSERVICE_DISTRICTS; +using ORDERSSERVICE_CITIES_TEXTS as ORDERSSERVICE_CITIES_TEXTS; +view LOCALIZED_ORDERSSERVICE_CITIES as select from LOCALIZED_SAP_COMMON_COUNTRIES_CITIES as CITIES_0 mixin { + ___REGION : association to LOCALIZED_ORDERSSERVICE_REGIONS on ___REGION.CODE = $projection.REGION_CODE; + ___DISTRICTS : association[*] to LOCALIZED_ORDERSSERVICE_DISTRICTS on ___DISTRICTS.CITY_CODE = $projection.CODE; + ___TEXTS : association[*] to ORDERSSERVICE_CITIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ORDERSSERVICE_CITIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + CITIES_0.NAME, + CITIES_0.DESCR, + key CITIES_0.CODE as CODE, + ___REGION as REGION, + CITIES_0.REGION_CODE, + ___DISTRICTS as DISTRICTS, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_COUNTRIES.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_COUNTRIES.hdbcds new file mode 100644 index 00000000..4ce800b2 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_COUNTRIES.hdbcds @@ -0,0 +1,15 @@ +using LOCALIZED_SAP_COMMON_COUNTRIES as LOCALIZED_SAP_COMMON_COUNTRIES; +using LOCALIZED_ORDERSSERVICE_REGIONS as LOCALIZED_ORDERSSERVICE_REGIONS; +using ORDERSSERVICE_COUNTRIES_TEXTS as ORDERSSERVICE_COUNTRIES_TEXTS; +view LOCALIZED_ORDERSSERVICE_COUNTRIES as select from LOCALIZED_SAP_COMMON_COUNTRIES as COUNTRIES_0 mixin { + ___REGIONS : association[*] to LOCALIZED_ORDERSSERVICE_REGIONS on ___REGIONS._PARENT = $projection.CODE; + ___TEXTS : association[*] to ORDERSSERVICE_COUNTRIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ORDERSSERVICE_COUNTRIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + COUNTRIES_0.NAME, + COUNTRIES_0.DESCR, + key COUNTRIES_0.CODE as CODE, + ___REGIONS as REGIONS, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_CURRENCIES.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_CURRENCIES.hdbcds new file mode 100644 index 00000000..7c83c9dc --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_CURRENCIES.hdbcds @@ -0,0 +1,16 @@ +using LOCALIZED_SAP_COMMON_CURRENCIES as LOCALIZED_SAP_COMMON_CURRENCIES; +using ORDERSSERVICE_CURRENCIES_TEXTS as ORDERSSERVICE_CURRENCIES_TEXTS; +view LOCALIZED_ORDERSSERVICE_CURRENCIES as select from LOCALIZED_SAP_COMMON_CURRENCIES as CURRENCIES_0 mixin { + ___TEXTS : association[*] to ORDERSSERVICE_CURRENCIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ORDERSSERVICE_CURRENCIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + CURRENCIES_0.NAME, + CURRENCIES_0.DESCR, + key CURRENCIES_0.CODE as CODE, + CURRENCIES_0.SYMBOL, + CURRENCIES_0.NUMCODE, + CURRENCIES_0.EXPONENT, + CURRENCIES_0.MINOR, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_DISTRICTS.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_DISTRICTS.hdbcds new file mode 100644 index 00000000..21a3f586 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_DISTRICTS.hdbcds @@ -0,0 +1,16 @@ +using LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS as LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS; +using LOCALIZED_ORDERSSERVICE_CITIES as LOCALIZED_ORDERSSERVICE_CITIES; +using ORDERSSERVICE_DISTRICTS_TEXTS as ORDERSSERVICE_DISTRICTS_TEXTS; +view LOCALIZED_ORDERSSERVICE_DISTRICTS as select from LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS as DISTRICTS_0 mixin { + ___CITY : association to LOCALIZED_ORDERSSERVICE_CITIES on ___CITY.CODE = $projection.CITY_CODE; + ___TEXTS : association[*] to ORDERSSERVICE_DISTRICTS_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ORDERSSERVICE_DISTRICTS_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + DISTRICTS_0.NAME, + DISTRICTS_0.DESCR, + key DISTRICTS_0.CODE as CODE, + ___CITY as CITY, + DISTRICTS_0.CITY_CODE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_ORDERS.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_ORDERS.hdbcds new file mode 100644 index 00000000..c6eb6df9 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_ORDERS.hdbcds @@ -0,0 +1,30 @@ +using LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS as LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS; +using LOCALIZED_ORDERSSERVICE_ORDERS_ITEMS as LOCALIZED_ORDERSSERVICE_ORDERS_ITEMS; +using LOCALIZED_ORDERSSERVICE_CURRENCIES as LOCALIZED_ORDERSSERVICE_CURRENCIES; +using LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS as LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS; +using LOCALIZED_ORDERSSERVICE_Z_SALESREGION as LOCALIZED_ORDERSSERVICE_Z_SALESREGION; +using LOCALIZED_ORDERSSERVICE_Z_REMARKS as LOCALIZED_ORDERSSERVICE_Z_REMARKS; +view LOCALIZED_ORDERSSERVICE_ORDERS as select from LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS as ORDERS_0 mixin { + ___ITEMS : association[*] to LOCALIZED_ORDERSSERVICE_ORDERS_ITEMS on ___ITEMS.UP__ID = $projection.ID; + ___CURRENCY : association to LOCALIZED_ORDERSSERVICE_CURRENCIES on ___CURRENCY.CODE = $projection.CURRENCY_CODE; + ___Z_CUSTOMER : association[1] to LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS on ___Z_CUSTOMER.ID = $projection.Z_CUSTOMER_ID; + ___Z_SALESREGION : association[1] to LOCALIZED_ORDERSSERVICE_Z_SALESREGION on ___Z_SALESREGION.REGIONCODE = $projection.Z_SALESREGION_REGIONCODE; + ___Z_REMARKS : association[*] to LOCALIZED_ORDERSSERVICE_Z_REMARKS on ___Z_REMARKS.PARENT_ID = $projection.ID; +} into { + key ORDERS_0.ID as ID, + ORDERS_0.CREATEDAT, + ORDERS_0.CREATEDBY, + ORDERS_0.MODIFIEDAT, + ORDERS_0.MODIFIEDBY, + ORDERS_0.ORDERNO, + ___ITEMS as ITEMS, + ORDERS_0.BUYER, + ___CURRENCY as CURRENCY, + ORDERS_0.CURRENCY_CODE, + ___Z_CUSTOMER as Z_CUSTOMER, + ORDERS_0.Z_CUSTOMER_ID, + ___Z_SALESREGION as Z_SALESREGION, + ORDERS_0.Z_SALESREGION_REGIONCODE, + ORDERS_0.Z_PRIORITY, + ___Z_REMARKS as Z_REMARKS +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_ORDERS_ITEMS.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_ORDERS_ITEMS.hdbcds new file mode 100644 index 00000000..52070a20 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_ORDERS_ITEMS.hdbcds @@ -0,0 +1,16 @@ +using LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS as LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS; +using LOCALIZED_ORDERSSERVICE_ORDERS as LOCALIZED_ORDERSSERVICE_ORDERS; +using SAP_CAPIRE_ORDERS_PRODUCTS as SAP_CAPIRE_ORDERS_PRODUCTS; +view LOCALIZED_ORDERSSERVICE_ORDERS_ITEMS as select from LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS as ORDERS_ITEMS_0 mixin { + ___UP_ : association to LOCALIZED_ORDERSSERVICE_ORDERS on ___UP_.ID = $projection.UP__ID; + ___PRODUCT : association to SAP_CAPIRE_ORDERS_PRODUCTS on ___PRODUCT.ID = $projection.PRODUCT_ID; +} into { + key ORDERS_ITEMS_0.ID as ID, + ___UP_ as UP_, + ORDERS_ITEMS_0.UP__ID, + ___PRODUCT as PRODUCT, + ORDERS_ITEMS_0.PRODUCT_ID, + ORDERS_ITEMS_0.AMOUNT, + ORDERS_ITEMS_0.TITLE, + ORDERS_ITEMS_0.PRICE +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_REGIONS.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_REGIONS.hdbcds new file mode 100644 index 00000000..64cb53ae --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_REGIONS.hdbcds @@ -0,0 +1,18 @@ +using LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS as LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS; +using LOCALIZED_ORDERSSERVICE_CITIES as LOCALIZED_ORDERSSERVICE_CITIES; +using ORDERSSERVICE_REGIONS_TEXTS as ORDERSSERVICE_REGIONS_TEXTS; +view LOCALIZED_ORDERSSERVICE_REGIONS as select from LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS as REGIONS_0 mixin { + ___CHILDREN : association[*] to LOCALIZED_ORDERSSERVICE_REGIONS on ___CHILDREN._PARENT = $projection.CODE; + ___CITIES : association[*] to LOCALIZED_ORDERSSERVICE_CITIES on ___CITIES.REGION_CODE = $projection.CODE; + ___TEXTS : association[*] to ORDERSSERVICE_REGIONS_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ORDERSSERVICE_REGIONS_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + REGIONS_0.NAME, + REGIONS_0.DESCR, + key REGIONS_0.CODE as CODE, + ___CHILDREN as CHILDREN, + ___CITIES as CITIES, + REGIONS_0._PARENT, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES.hdbcds new file mode 100644 index 00000000..65574bc9 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES.hdbcds @@ -0,0 +1,20 @@ +using LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES as LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES; +using LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS as LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS; +using LOCALIZED_ORDERSSERVICE_COUNTRIES as LOCALIZED_ORDERSSERVICE_COUNTRIES; +view LOCALIZED_ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES as select from LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES as Z_CUSTOMERPOSTALADDRESSES_0 mixin { + ___CUSTOMER : association[1] to LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS on ___CUSTOMER.ID = $projection.CUSTOMER_ID; + ___COUNTRY : association to LOCALIZED_ORDERSSERVICE_COUNTRIES on ___COUNTRY.CODE = $projection.COUNTRY_CODE; +} into { + key Z_CUSTOMERPOSTALADDRESSES_0.ID as ID, + Z_CUSTOMERPOSTALADDRESSES_0.CREATEDAT, + Z_CUSTOMERPOSTALADDRESSES_0.CREATEDBY, + Z_CUSTOMERPOSTALADDRESSES_0.MODIFIEDAT, + Z_CUSTOMERPOSTALADDRESSES_0.MODIFIEDBY, + ___CUSTOMER as CUSTOMER, + Z_CUSTOMERPOSTALADDRESSES_0.CUSTOMER_ID, + Z_CUSTOMERPOSTALADDRESSES_0.DESCRIPTION, + Z_CUSTOMERPOSTALADDRESSES_0.STREET, + Z_CUSTOMERPOSTALADDRESSES_0.TOWN, + ___COUNTRY as COUNTRY, + Z_CUSTOMERPOSTALADDRESSES_0.COUNTRY_CODE +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS.hdbcds new file mode 100644 index 00000000..1e168ff7 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS.hdbcds @@ -0,0 +1,19 @@ +using LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS; +using LOCALIZED_ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES as LOCALIZED_ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES; +view LOCALIZED_ORDERSSERVICE_Z_CUSTOMERS as select from LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as Z_CUSTOMERS_0 mixin { + ___POSTALADDRESSES : association[*] to LOCALIZED_ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES on ___POSTALADDRESSES.CUSTOMER_ID = $projection.ID; +} into { + key Z_CUSTOMERS_0.ID as ID, + Z_CUSTOMERS_0.CREATEDAT, + Z_CUSTOMERS_0.CREATEDBY, + Z_CUSTOMERS_0.MODIFIEDAT, + Z_CUSTOMERS_0.MODIFIEDBY, + Z_CUSTOMERS_0.EMAIL, + Z_CUSTOMERS_0.FIRSTNAME, + Z_CUSTOMERS_0.LASTNAME, + Z_CUSTOMERS_0.CREDITCARDNO, + Z_CUSTOMERS_0.DATEOFBIRTH, + Z_CUSTOMERS_0.STATUS, + Z_CUSTOMERS_0.CREDITSCORE, + ___POSTALADDRESSES as POSTALADDRESSES +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_REMARKS.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_REMARKS.hdbcds new file mode 100644 index 00000000..31008c75 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_REMARKS.hdbcds @@ -0,0 +1,15 @@ +using LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS as LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS; +using LOCALIZED_ORDERSSERVICE_ORDERS as LOCALIZED_ORDERSSERVICE_ORDERS; +view LOCALIZED_ORDERSSERVICE_Z_REMARKS as select from LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS as Z_REMARKS_0 mixin { + ___PARENT : association[1] to LOCALIZED_ORDERSSERVICE_ORDERS on ___PARENT.ID = $projection.PARENT_ID; +} into { + key Z_REMARKS_0.ID as ID, + Z_REMARKS_0.CREATEDAT, + Z_REMARKS_0.CREATEDBY, + Z_REMARKS_0.MODIFIEDAT, + Z_REMARKS_0.MODIFIEDBY, + ___PARENT as PARENT, + Z_REMARKS_0.PARENT_ID, + Z_REMARKS_0.NUMBER, + Z_REMARKS_0.REMARKSLINE +}; diff --git a/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_SALESREGION.hdbcds b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_SALESREGION.hdbcds new file mode 100644 index 00000000..d2d62440 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_ORDERSSERVICE_Z_SALESREGION.hdbcds @@ -0,0 +1,12 @@ +using LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION as LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION; +using ORDERSSERVICE_Z_SALESREGION_TEXTS as ORDERSSERVICE_Z_SALESREGION_TEXTS; +view LOCALIZED_ORDERSSERVICE_Z_SALESREGION as select from LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION as Z_SALESREGION_0 mixin { + ___TEXTS : association[*] to ORDERSSERVICE_Z_SALESREGION_TEXTS on ___TEXTS.REGIONCODE = $projection.REGIONCODE; + ___LOCALIZED : association to ORDERSSERVICE_Z_SALESREGION_TEXTS on ___LOCALIZED.REGIONCODE = $projection.REGIONCODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + Z_SALESREGION_0.NAME, + Z_SALESREGION_0.DESCR, + key Z_SALESREGION_0.REGIONCODE as REGIONCODE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS.hdbcds new file mode 100644 index 00000000..b5a571c6 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS.hdbcds @@ -0,0 +1,17 @@ +using SAP_CAPIRE_BOOKSHOP_AUTHORS as SAP_CAPIRE_BOOKSHOP_AUTHORS; +using LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS as LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS; +view LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS as select from SAP_CAPIRE_BOOKSHOP_AUTHORS as L mixin { + ___BOOKS : association[*] to LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS on ___BOOKS.AUTHOR_ID = $projection.ID; +} into { + L.CREATEDAT, + L.CREATEDBY, + L.MODIFIEDAT, + L.MODIFIEDBY, + key L.ID as ID, + L.NAME, + L.DATEOFBIRTH, + L.DATEOFDEATH, + L.PLACEOFBIRTH, + L.PLACEOFDEATH, + ___BOOKS as BOOKS +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS.hdbcds new file mode 100644 index 00000000..7ca792b2 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS.hdbcds @@ -0,0 +1,31 @@ +using SAP_CAPIRE_BOOKSHOP_BOOKS as SAP_CAPIRE_BOOKSHOP_BOOKS; +using SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS as SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS; +using LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS as LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS; +using LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES as LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES; +using LOCALIZED_SAP_COMMON_CURRENCIES as LOCALIZED_SAP_COMMON_CURRENCIES; +view LOCALIZED_SAP_CAPIRE_BOOKSHOP_BOOKS as select from (SAP_CAPIRE_BOOKSHOP_BOOKS as L_0 left join SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS as LOCALIZED_1 on LOCALIZED_1.ID = L_0.ID and LOCALIZED_1.LOCALE = SESSION_CONTEXT('LOCALE')) mixin { + ___AUTHOR : association to LOCALIZED_SAP_CAPIRE_BOOKSHOP_AUTHORS on ___AUTHOR.ID = $projection.AUTHOR_ID; + ___GENRE : association to LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES on ___GENRE.ID = $projection.GENRE_ID; + ___CURRENCY : association to LOCALIZED_SAP_COMMON_CURRENCIES on ___CURRENCY.CODE = $projection.CURRENCY_CODE; + ___TEXTS : association[*] to SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + L_0.CREATEDAT, + L_0.CREATEDBY, + L_0.MODIFIEDAT, + L_0.MODIFIEDBY, + key L_0.ID as ID, + coalesce(LOCALIZED_1.TITLE, L_0.TITLE) as TITLE, + coalesce(LOCALIZED_1.DESCR, L_0.DESCR) as DESCR, + ___AUTHOR as AUTHOR, + L_0.AUTHOR_ID, + ___GENRE as GENRE, + L_0.GENRE_ID, + L_0.STOCK, + L_0.PRICE, + ___CURRENCY as CURRENCY, + L_0.CURRENCY_CODE, + L_0.IMAGE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES.hdbcds new file mode 100644 index 00000000..bcc949a2 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES.hdbcds @@ -0,0 +1,17 @@ +using SAP_CAPIRE_BOOKSHOP_GENRES as SAP_CAPIRE_BOOKSHOP_GENRES; +using SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS as SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS; +view LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES as select from (SAP_CAPIRE_BOOKSHOP_GENRES as L_0 left join SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS as LOCALIZED_1 on LOCALIZED_1.ID = L_0.ID and LOCALIZED_1.LOCALE = SESSION_CONTEXT('LOCALE')) mixin { + ___PARENT : association to LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES on ___PARENT.ID = $projection.PARENT_ID; + ___CHILDREN : association[*] to LOCALIZED_SAP_CAPIRE_BOOKSHOP_GENRES on ___CHILDREN.PARENT_ID = $projection.ID; + ___TEXTS : association[*] to SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS on ___TEXTS.ID = $projection.ID; + ___LOCALIZED : association to SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS on ___LOCALIZED.ID = $projection.ID and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + coalesce(LOCALIZED_1.NAME, L_0.NAME) as NAME, + coalesce(LOCALIZED_1.DESCR, L_0.DESCR) as DESCR, + key L_0.ID as ID, + ___PARENT as PARENT, + L_0.PARENT_ID, + ___CHILDREN as CHILDREN, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS.hdbcds new file mode 100644 index 00000000..da1ccf6b --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS.hdbcds @@ -0,0 +1,30 @@ +using SAP_CAPIRE_ORDERS_ORDERS as SAP_CAPIRE_ORDERS_ORDERS; +using LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS as LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS; +using LOCALIZED_SAP_COMMON_CURRENCIES as LOCALIZED_SAP_COMMON_CURRENCIES; +using LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS; +using LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION as LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION; +using LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS as LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS; +view LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS as select from SAP_CAPIRE_ORDERS_ORDERS as L mixin { + ___ITEMS : association[*] to LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS on ___ITEMS.UP__ID = $projection.ID; + ___CURRENCY : association to LOCALIZED_SAP_COMMON_CURRENCIES on ___CURRENCY.CODE = $projection.CURRENCY_CODE; + ___Z_CUSTOMER : association[1] to LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS on ___Z_CUSTOMER.ID = $projection.Z_CUSTOMER_ID; + ___Z_SALESREGION : association[1] to LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION on ___Z_SALESREGION.REGIONCODE = $projection.Z_SALESREGION_REGIONCODE; + ___Z_REMARKS : association[*] to LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS on ___Z_REMARKS.PARENT_ID = $projection.ID; +} into { + key L.ID as ID, + L.CREATEDAT, + L.CREATEDBY, + L.MODIFIEDAT, + L.MODIFIEDBY, + L.ORDERNO, + ___ITEMS as ITEMS, + L.BUYER, + ___CURRENCY as CURRENCY, + L.CURRENCY_CODE, + ___Z_CUSTOMER as Z_CUSTOMER, + L.Z_CUSTOMER_ID, + ___Z_SALESREGION as Z_SALESREGION, + L.Z_SALESREGION_REGIONCODE, + L.Z_PRIORITY, + ___Z_REMARKS as Z_REMARKS +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS.hdbcds new file mode 100644 index 00000000..7f25fa2b --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS.hdbcds @@ -0,0 +1,16 @@ +using SAP_CAPIRE_ORDERS_ORDERS_ITEMS as SAP_CAPIRE_ORDERS_ORDERS_ITEMS; +using LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS as LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS; +using SAP_CAPIRE_ORDERS_PRODUCTS as SAP_CAPIRE_ORDERS_PRODUCTS; +view LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS_ITEMS as select from SAP_CAPIRE_ORDERS_ORDERS_ITEMS as L mixin { + ___UP_ : association to LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS on ___UP_.ID = $projection.UP__ID; + ___PRODUCT : association to SAP_CAPIRE_ORDERS_PRODUCTS on ___PRODUCT.ID = $projection.PRODUCT_ID; +} into { + key L.ID as ID, + ___UP_ as UP_, + L.UP__ID, + ___PRODUCT as PRODUCT, + L.PRODUCT_ID, + L.AMOUNT, + L.TITLE, + L.PRICE +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES.hdbcds new file mode 100644 index 00000000..b88ed237 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES.hdbcds @@ -0,0 +1,15 @@ +using SAP_COMMON_COUNTRIES as SAP_COMMON_COUNTRIES; +using SAP_COMMON_COUNTRIES_TEXTS as SAP_COMMON_COUNTRIES_TEXTS; +using LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS as LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS; +view LOCALIZED_SAP_COMMON_COUNTRIES as select from (SAP_COMMON_COUNTRIES as L_0 left join SAP_COMMON_COUNTRIES_TEXTS as LOCALIZED_1 on LOCALIZED_1.CODE = L_0.CODE and LOCALIZED_1.LOCALE = SESSION_CONTEXT('LOCALE')) mixin { + ___REGIONS : association[*] to LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS on ___REGIONS._PARENT = $projection.CODE; + ___TEXTS : association[*] to SAP_COMMON_COUNTRIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to SAP_COMMON_COUNTRIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + coalesce(LOCALIZED_1.NAME, L_0.NAME) as NAME, + coalesce(LOCALIZED_1.DESCR, L_0.DESCR) as DESCR, + key L_0.CODE as CODE, + ___REGIONS as REGIONS, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_CITIES.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_CITIES.hdbcds new file mode 100644 index 00000000..19aa5772 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_CITIES.hdbcds @@ -0,0 +1,19 @@ +using SAP_COMMON_COUNTRIES_CITIES as SAP_COMMON_COUNTRIES_CITIES; +using SAP_COMMON_COUNTRIES_CITIES_TEXTS as SAP_COMMON_COUNTRIES_CITIES_TEXTS; +using LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS as LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS; +using LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS as LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS; +view LOCALIZED_SAP_COMMON_COUNTRIES_CITIES as select from (SAP_COMMON_COUNTRIES_CITIES as L_0 left join SAP_COMMON_COUNTRIES_CITIES_TEXTS as LOCALIZED_1 on LOCALIZED_1.CODE = L_0.CODE and LOCALIZED_1.LOCALE = SESSION_CONTEXT('LOCALE')) mixin { + ___REGION : association to LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS on ___REGION.CODE = $projection.REGION_CODE; + ___DISTRICTS : association[*] to LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS on ___DISTRICTS.CITY_CODE = $projection.CODE; + ___TEXTS : association[*] to SAP_COMMON_COUNTRIES_CITIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to SAP_COMMON_COUNTRIES_CITIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + coalesce(LOCALIZED_1.NAME, L_0.NAME) as NAME, + coalesce(LOCALIZED_1.DESCR, L_0.DESCR) as DESCR, + key L_0.CODE as CODE, + ___REGION as REGION, + L_0.REGION_CODE, + ___DISTRICTS as DISTRICTS, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS.hdbcds new file mode 100644 index 00000000..f34aa234 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS.hdbcds @@ -0,0 +1,16 @@ +using SAP_COMMON_COUNTRIES_DISTRICTS as SAP_COMMON_COUNTRIES_DISTRICTS; +using SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS as SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS; +using LOCALIZED_SAP_COMMON_COUNTRIES_CITIES as LOCALIZED_SAP_COMMON_COUNTRIES_CITIES; +view LOCALIZED_SAP_COMMON_COUNTRIES_DISTRICTS as select from (SAP_COMMON_COUNTRIES_DISTRICTS as L_0 left join SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS as LOCALIZED_1 on LOCALIZED_1.CODE = L_0.CODE and LOCALIZED_1.LOCALE = SESSION_CONTEXT('LOCALE')) mixin { + ___CITY : association to LOCALIZED_SAP_COMMON_COUNTRIES_CITIES on ___CITY.CODE = $projection.CITY_CODE; + ___TEXTS : association[*] to SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + coalesce(LOCALIZED_1.NAME, L_0.NAME) as NAME, + coalesce(LOCALIZED_1.DESCR, L_0.DESCR) as DESCR, + key L_0.CODE as CODE, + ___CITY as CITY, + L_0.CITY_CODE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS.hdbcds new file mode 100644 index 00000000..ce8f4445 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS.hdbcds @@ -0,0 +1,18 @@ +using SAP_COMMON_COUNTRIES_REGIONS as SAP_COMMON_COUNTRIES_REGIONS; +using SAP_COMMON_COUNTRIES_REGIONS_TEXTS as SAP_COMMON_COUNTRIES_REGIONS_TEXTS; +using LOCALIZED_SAP_COMMON_COUNTRIES_CITIES as LOCALIZED_SAP_COMMON_COUNTRIES_CITIES; +view LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS as select from (SAP_COMMON_COUNTRIES_REGIONS as L_0 left join SAP_COMMON_COUNTRIES_REGIONS_TEXTS as LOCALIZED_1 on LOCALIZED_1.CODE = L_0.CODE and LOCALIZED_1.LOCALE = SESSION_CONTEXT('LOCALE')) mixin { + ___CHILDREN : association[*] to LOCALIZED_SAP_COMMON_COUNTRIES_REGIONS on ___CHILDREN._PARENT = $projection.CODE; + ___CITIES : association[*] to LOCALIZED_SAP_COMMON_COUNTRIES_CITIES on ___CITIES.REGION_CODE = $projection.CODE; + ___TEXTS : association[*] to SAP_COMMON_COUNTRIES_REGIONS_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to SAP_COMMON_COUNTRIES_REGIONS_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + coalesce(LOCALIZED_1.NAME, L_0.NAME) as NAME, + coalesce(LOCALIZED_1.DESCR, L_0.DESCR) as DESCR, + key L_0.CODE as CODE, + ___CHILDREN as CHILDREN, + ___CITIES as CITIES, + L_0._PARENT, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_COMMON_CURRENCIES.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_COMMON_CURRENCIES.hdbcds new file mode 100644 index 00000000..07e922d8 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_COMMON_CURRENCIES.hdbcds @@ -0,0 +1,16 @@ +using SAP_COMMON_CURRENCIES as SAP_COMMON_CURRENCIES; +using SAP_COMMON_CURRENCIES_TEXTS as SAP_COMMON_CURRENCIES_TEXTS; +view LOCALIZED_SAP_COMMON_CURRENCIES as select from (SAP_COMMON_CURRENCIES as L_0 left join SAP_COMMON_CURRENCIES_TEXTS as LOCALIZED_1 on LOCALIZED_1.CODE = L_0.CODE and LOCALIZED_1.LOCALE = SESSION_CONTEXT('LOCALE')) mixin { + ___TEXTS : association[*] to SAP_COMMON_CURRENCIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to SAP_COMMON_CURRENCIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + coalesce(LOCALIZED_1.NAME, L_0.NAME) as NAME, + coalesce(LOCALIZED_1.DESCR, L_0.DESCR) as DESCR, + key L_0.CODE as CODE, + L_0.SYMBOL, + L_0.NUMCODE, + L_0.EXPONENT, + L_0.MINOR, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_SAP_COMMON_LANGUAGES.hdbcds b/gen/db/src/gen/LOCALIZED_SAP_COMMON_LANGUAGES.hdbcds new file mode 100644 index 00000000..eb4efdd7 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_SAP_COMMON_LANGUAGES.hdbcds @@ -0,0 +1,12 @@ +using SAP_COMMON_LANGUAGES as SAP_COMMON_LANGUAGES; +using SAP_COMMON_LANGUAGES_TEXTS as SAP_COMMON_LANGUAGES_TEXTS; +view LOCALIZED_SAP_COMMON_LANGUAGES as select from (SAP_COMMON_LANGUAGES as L_0 left join SAP_COMMON_LANGUAGES_TEXTS as LOCALIZED_1 on LOCALIZED_1.CODE = L_0.CODE and LOCALIZED_1.LOCALE = SESSION_CONTEXT('LOCALE')) mixin { + ___TEXTS : association[*] to SAP_COMMON_LANGUAGES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to SAP_COMMON_LANGUAGES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + coalesce(LOCALIZED_1.NAME, L_0.NAME) as NAME, + coalesce(LOCALIZED_1.DESCR, L_0.DESCR) as DESCR, + key L_0.CODE as CODE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES.hdbcds b/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES.hdbcds new file mode 100644 index 00000000..a44618b7 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES.hdbcds @@ -0,0 +1,20 @@ +using Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES as Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES; +using LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS; +using LOCALIZED_SAP_COMMON_COUNTRIES as LOCALIZED_SAP_COMMON_COUNTRIES; +view LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES as select from Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES as L mixin { + ___CUSTOMER : association[1] to LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS on ___CUSTOMER.ID = $projection.CUSTOMER_ID; + ___COUNTRY : association to LOCALIZED_SAP_COMMON_COUNTRIES on ___COUNTRY.CODE = $projection.COUNTRY_CODE; +} into { + key L.ID as ID, + L.CREATEDAT, + L.CREATEDBY, + L.MODIFIEDAT, + L.MODIFIEDBY, + ___CUSTOMER as CUSTOMER, + L.CUSTOMER_ID, + L.DESCRIPTION, + L.STREET, + L.TOWN, + ___COUNTRY as COUNTRY, + L.COUNTRY_CODE +}; diff --git a/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS.hdbcds b/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS.hdbcds new file mode 100644 index 00000000..ac390b67 --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS.hdbcds @@ -0,0 +1,19 @@ +using Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS; +using LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES as LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES; +view LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as select from Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as L mixin { + ___POSTALADDRESSES : association[*] to LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES on ___POSTALADDRESSES.CUSTOMER_ID = $projection.ID; +} into { + key L.ID as ID, + L.CREATEDAT, + L.CREATEDBY, + L.MODIFIEDAT, + L.MODIFIEDBY, + L.EMAIL, + L.FIRSTNAME, + L.LASTNAME, + L.CREDITCARDNO, + L.DATEOFBIRTH, + L.STATUS, + L.CREDITSCORE, + ___POSTALADDRESSES as POSTALADDRESSES +}; diff --git a/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS.hdbcds b/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS.hdbcds new file mode 100644 index 00000000..ca875aae --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS.hdbcds @@ -0,0 +1,15 @@ +using Z_BOOKSHOP_EXTENSION_Z_REMARKS as Z_BOOKSHOP_EXTENSION_Z_REMARKS; +using LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS as LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS; +view LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_REMARKS as select from Z_BOOKSHOP_EXTENSION_Z_REMARKS as L mixin { + ___PARENT : association[1] to LOCALIZED_SAP_CAPIRE_ORDERS_ORDERS on ___PARENT.ID = $projection.PARENT_ID; +} into { + key L.ID as ID, + L.CREATEDAT, + L.CREATEDBY, + L.MODIFIEDAT, + L.MODIFIEDBY, + ___PARENT as PARENT, + L.PARENT_ID, + L.NUMBER, + L.REMARKSLINE +}; diff --git a/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION.hdbcds b/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION.hdbcds new file mode 100644 index 00000000..3593771d --- /dev/null +++ b/gen/db/src/gen/LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION.hdbcds @@ -0,0 +1,12 @@ +using Z_BOOKSHOP_EXTENSION_Z_SALESREGION as Z_BOOKSHOP_EXTENSION_Z_SALESREGION; +using Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS as Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS; +view LOCALIZED_Z_BOOKSHOP_EXTENSION_Z_SALESREGION as select from (Z_BOOKSHOP_EXTENSION_Z_SALESREGION as L_0 left join Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS as LOCALIZED_1 on LOCALIZED_1.REGIONCODE = L_0.REGIONCODE and LOCALIZED_1.LOCALE = SESSION_CONTEXT('LOCALE')) mixin { + ___TEXTS : association[*] to Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS on ___TEXTS.REGIONCODE = $projection.REGIONCODE; + ___LOCALIZED : association to Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS on ___LOCALIZED.REGIONCODE = $projection.REGIONCODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + coalesce(LOCALIZED_1.NAME, L_0.NAME) as NAME, + coalesce(LOCALIZED_1.DESCR, L_0.DESCR) as DESCR, + key L_0.REGIONCODE as REGIONCODE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_CITIES.hdbcds b/gen/db/src/gen/ORDERSSERVICE_CITIES.hdbcds new file mode 100644 index 00000000..89a4d732 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_CITIES.hdbcds @@ -0,0 +1,19 @@ +using SAP_COMMON_COUNTRIES_CITIES as SAP_COMMON_COUNTRIES_CITIES; +using ORDERSSERVICE_REGIONS as ORDERSSERVICE_REGIONS; +using ORDERSSERVICE_DISTRICTS as ORDERSSERVICE_DISTRICTS; +using ORDERSSERVICE_CITIES_TEXTS as ORDERSSERVICE_CITIES_TEXTS; +view ORDERSSERVICE_CITIES as select from SAP_COMMON_COUNTRIES_CITIES as CITIES_0 mixin { + ___REGION : association to ORDERSSERVICE_REGIONS on ___REGION.CODE = $projection.REGION_CODE; + ___DISTRICTS : association[*] to ORDERSSERVICE_DISTRICTS on ___DISTRICTS.CITY_CODE = $projection.CODE; + ___TEXTS : association[*] to ORDERSSERVICE_CITIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ORDERSSERVICE_CITIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + CITIES_0.NAME, + CITIES_0.DESCR, + key CITIES_0.CODE as CODE, + ___REGION as REGION, + CITIES_0.REGION_CODE, + ___DISTRICTS as DISTRICTS, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_CITIES_TEXTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_CITIES_TEXTS.hdbcds new file mode 100644 index 00000000..1f094f39 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_CITIES_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using SAP_COMMON_COUNTRIES_CITIES_TEXTS as SAP_COMMON_COUNTRIES_CITIES_TEXTS; +view ORDERSSERVICE_CITIES_TEXTS as select from SAP_COMMON_COUNTRIES_CITIES_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.CODE as CODE +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_COUNTRIES.hdbcds b/gen/db/src/gen/ORDERSSERVICE_COUNTRIES.hdbcds new file mode 100644 index 00000000..136457e3 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_COUNTRIES.hdbcds @@ -0,0 +1,15 @@ +using SAP_COMMON_COUNTRIES as SAP_COMMON_COUNTRIES; +using ORDERSSERVICE_REGIONS as ORDERSSERVICE_REGIONS; +using ORDERSSERVICE_COUNTRIES_TEXTS as ORDERSSERVICE_COUNTRIES_TEXTS; +view ORDERSSERVICE_COUNTRIES as select from SAP_COMMON_COUNTRIES as COUNTRIES_0 mixin { + ___REGIONS : association[*] to ORDERSSERVICE_REGIONS on ___REGIONS._PARENT = $projection.CODE; + ___TEXTS : association[*] to ORDERSSERVICE_COUNTRIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ORDERSSERVICE_COUNTRIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + COUNTRIES_0.NAME, + COUNTRIES_0.DESCR, + key COUNTRIES_0.CODE as CODE, + ___REGIONS as REGIONS, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_COUNTRIES_TEXTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_COUNTRIES_TEXTS.hdbcds new file mode 100644 index 00000000..631f2c1b --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_COUNTRIES_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using SAP_COMMON_COUNTRIES_TEXTS as SAP_COMMON_COUNTRIES_TEXTS; +view ORDERSSERVICE_COUNTRIES_TEXTS as select from SAP_COMMON_COUNTRIES_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.CODE as CODE +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_CURRENCIES.hdbcds b/gen/db/src/gen/ORDERSSERVICE_CURRENCIES.hdbcds new file mode 100644 index 00000000..e4eae13b --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_CURRENCIES.hdbcds @@ -0,0 +1,16 @@ +using SAP_COMMON_CURRENCIES as SAP_COMMON_CURRENCIES; +using ORDERSSERVICE_CURRENCIES_TEXTS as ORDERSSERVICE_CURRENCIES_TEXTS; +view ORDERSSERVICE_CURRENCIES as select from SAP_COMMON_CURRENCIES as CURRENCIES_0 mixin { + ___TEXTS : association[*] to ORDERSSERVICE_CURRENCIES_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ORDERSSERVICE_CURRENCIES_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + CURRENCIES_0.NAME, + CURRENCIES_0.DESCR, + key CURRENCIES_0.CODE as CODE, + CURRENCIES_0.SYMBOL, + CURRENCIES_0.NUMCODE, + CURRENCIES_0.EXPONENT, + CURRENCIES_0.MINOR, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_CURRENCIES_TEXTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_CURRENCIES_TEXTS.hdbcds new file mode 100644 index 00000000..5e71a4ea --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_CURRENCIES_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using SAP_COMMON_CURRENCIES_TEXTS as SAP_COMMON_CURRENCIES_TEXTS; +view ORDERSSERVICE_CURRENCIES_TEXTS as select from SAP_COMMON_CURRENCIES_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.CODE as CODE +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_DISTRICTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_DISTRICTS.hdbcds new file mode 100644 index 00000000..147818ed --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_DISTRICTS.hdbcds @@ -0,0 +1,16 @@ +using SAP_COMMON_COUNTRIES_DISTRICTS as SAP_COMMON_COUNTRIES_DISTRICTS; +using ORDERSSERVICE_CITIES as ORDERSSERVICE_CITIES; +using ORDERSSERVICE_DISTRICTS_TEXTS as ORDERSSERVICE_DISTRICTS_TEXTS; +view ORDERSSERVICE_DISTRICTS as select from SAP_COMMON_COUNTRIES_DISTRICTS as DISTRICTS_0 mixin { + ___CITY : association to ORDERSSERVICE_CITIES on ___CITY.CODE = $projection.CITY_CODE; + ___TEXTS : association[*] to ORDERSSERVICE_DISTRICTS_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ORDERSSERVICE_DISTRICTS_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + DISTRICTS_0.NAME, + DISTRICTS_0.DESCR, + key DISTRICTS_0.CODE as CODE, + ___CITY as CITY, + DISTRICTS_0.CITY_CODE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_DISTRICTS_TEXTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_DISTRICTS_TEXTS.hdbcds new file mode 100644 index 00000000..e8d99356 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_DISTRICTS_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS as SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS; +view ORDERSSERVICE_DISTRICTS_TEXTS as select from SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.CODE as CODE +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_DRAFTADMINISTRATIVEDATA.hdbcds b/gen/db/src/gen/ORDERSSERVICE_DRAFTADMINISTRATIVEDATA.hdbcds new file mode 100644 index 00000000..fcb98aaf --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_DRAFTADMINISTRATIVEDATA.hdbcds @@ -0,0 +1,11 @@ +using DRAFT_DRAFTADMINISTRATIVEDATA as DRAFT_DRAFTADMINISTRATIVEDATA; +view ORDERSSERVICE_DRAFTADMINISTRATIVEDATA as select from DRAFT_DRAFTADMINISTRATIVEDATA as DRAFTADMINISTRATIVEDATA { + key DRAFTADMINISTRATIVEDATA.DRAFTUUID as DRAFTUUID, + DRAFTADMINISTRATIVEDATA.CREATIONDATETIME, + DRAFTADMINISTRATIVEDATA.CREATEDBYUSER, + DRAFTADMINISTRATIVEDATA.DRAFTISCREATEDBYME, + DRAFTADMINISTRATIVEDATA.LASTCHANGEDATETIME, + DRAFTADMINISTRATIVEDATA.LASTCHANGEDBYUSER, + DRAFTADMINISTRATIVEDATA.INPROCESSBYUSER, + DRAFTADMINISTRATIVEDATA.DRAFTISPROCESSEDBYME +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_ORDERS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_ORDERS.hdbcds new file mode 100644 index 00000000..e0d1732e --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_ORDERS.hdbcds @@ -0,0 +1,30 @@ +using SAP_CAPIRE_ORDERS_ORDERS as SAP_CAPIRE_ORDERS_ORDERS; +using ORDERSSERVICE_ORDERS_ITEMS as ORDERSSERVICE_ORDERS_ITEMS; +using ORDERSSERVICE_CURRENCIES as ORDERSSERVICE_CURRENCIES; +using ORDERSSERVICE_Z_CUSTOMERS as ORDERSSERVICE_Z_CUSTOMERS; +using ORDERSSERVICE_Z_SALESREGION as ORDERSSERVICE_Z_SALESREGION; +using ORDERSSERVICE_Z_REMARKS as ORDERSSERVICE_Z_REMARKS; +view ORDERSSERVICE_ORDERS as select from SAP_CAPIRE_ORDERS_ORDERS as ORDERS_0 mixin { + ___ITEMS : association[*] to ORDERSSERVICE_ORDERS_ITEMS on ___ITEMS.UP__ID = $projection.ID; + ___CURRENCY : association to ORDERSSERVICE_CURRENCIES on ___CURRENCY.CODE = $projection.CURRENCY_CODE; + ___Z_CUSTOMER : association[1] to ORDERSSERVICE_Z_CUSTOMERS on ___Z_CUSTOMER.ID = $projection.Z_CUSTOMER_ID; + ___Z_SALESREGION : association[1] to ORDERSSERVICE_Z_SALESREGION on ___Z_SALESREGION.REGIONCODE = $projection.Z_SALESREGION_REGIONCODE; + ___Z_REMARKS : association[*] to ORDERSSERVICE_Z_REMARKS on ___Z_REMARKS.PARENT_ID = $projection.ID; +} into { + key ORDERS_0.ID as ID, + ORDERS_0.CREATEDAT, + ORDERS_0.CREATEDBY, + ORDERS_0.MODIFIEDAT, + ORDERS_0.MODIFIEDBY, + ORDERS_0.ORDERNO, + ___ITEMS as ITEMS, + ORDERS_0.BUYER, + ___CURRENCY as CURRENCY, + ORDERS_0.CURRENCY_CODE, + ___Z_CUSTOMER as Z_CUSTOMER, + ORDERS_0.Z_CUSTOMER_ID, + ___Z_SALESREGION as Z_SALESREGION, + ORDERS_0.Z_SALESREGION_REGIONCODE, + ORDERS_0.Z_PRIORITY, + ___Z_REMARKS as Z_REMARKS +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_ORDERS_DRAFTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_ORDERS_DRAFTS.hdbcds new file mode 100644 index 00000000..8dd0e1f9 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_ORDERS_DRAFTS.hdbcds @@ -0,0 +1,29 @@ +using ORDERSSERVICE_ORDERS_ITEMS_DRAFTS as ORDERSSERVICE_ORDERS_ITEMS_DRAFTS; +using ORDERSSERVICE_CURRENCIES as ORDERSSERVICE_CURRENCIES; +using ORDERSSERVICE_Z_CUSTOMERS as ORDERSSERVICE_Z_CUSTOMERS; +using ORDERSSERVICE_Z_SALESREGION as ORDERSSERVICE_Z_SALESREGION; +using ORDERSSERVICE_Z_REMARKS_DRAFTS as ORDERSSERVICE_Z_REMARKS_DRAFTS; +using ORDERSSERVICE_DRAFTADMINISTRATIVEDATA as ORDERSSERVICE_DRAFTADMINISTRATIVEDATA; +entity ORDERSSERVICE_ORDERS_DRAFTS { + key ID : String(36); + CREATEDAT : UTCTimestamp null; + CREATEDBY : String(255) null; + MODIFIEDAT : UTCTimestamp null; + MODIFIEDBY : String(255) null; + ORDERNO : String(5000) null; + ITEMS : association[*] to ORDERSSERVICE_ORDERS_ITEMS_DRAFTS on ITEMS.UP__ID = ID; + BUYER : String(255) null; + CURRENCY : association to ORDERSSERVICE_CURRENCIES on CURRENCY.CODE = CURRENCY_CODE; + CURRENCY_CODE : String(3) null; + Z_CUSTOMER : association[1] to ORDERSSERVICE_Z_CUSTOMERS on Z_CUSTOMER.ID = Z_CUSTOMER_ID; + Z_CUSTOMER_ID : String(36) null; + Z_SALESREGION : association[1] to ORDERSSERVICE_Z_SALESREGION on Z_SALESREGION.REGIONCODE = Z_SALESREGION_REGIONCODE; + Z_SALESREGION_REGIONCODE : String(11) null; + Z_PRIORITY : String(5000) null default 'medium'; + Z_REMARKS : association[*] to ORDERSSERVICE_Z_REMARKS_DRAFTS on Z_REMARKS.PARENT_ID = ID; + ISACTIVEENTITY : Boolean; + HASACTIVEENTITY : Boolean; + HASDRAFTENTITY : Boolean; + DRAFTADMINISTRATIVEDATA : association[1] to ORDERSSERVICE_DRAFTADMINISTRATIVEDATA on DRAFTADMINISTRATIVEDATA.DRAFTUUID = DRAFTADMINISTRATIVEDATA_DRAFTUUID; + DRAFTADMINISTRATIVEDATA_DRAFTUUID : String(36) not null; +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_ORDERS_ITEMS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_ORDERS_ITEMS.hdbcds new file mode 100644 index 00000000..be4e466b --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_ORDERS_ITEMS.hdbcds @@ -0,0 +1,16 @@ +using SAP_CAPIRE_ORDERS_ORDERS_ITEMS as SAP_CAPIRE_ORDERS_ORDERS_ITEMS; +using ORDERSSERVICE_ORDERS as ORDERSSERVICE_ORDERS; +using SAP_CAPIRE_ORDERS_PRODUCTS as SAP_CAPIRE_ORDERS_PRODUCTS; +view ORDERSSERVICE_ORDERS_ITEMS as select from SAP_CAPIRE_ORDERS_ORDERS_ITEMS as ORDERS_ITEMS_0 mixin { + ___UP_ : association to ORDERSSERVICE_ORDERS on ___UP_.ID = $projection.UP__ID; + ___PRODUCT : association to SAP_CAPIRE_ORDERS_PRODUCTS on ___PRODUCT.ID = $projection.PRODUCT_ID; +} into { + key ORDERS_ITEMS_0.ID as ID, + ___UP_ as UP_, + ORDERS_ITEMS_0.UP__ID, + ___PRODUCT as PRODUCT, + ORDERS_ITEMS_0.PRODUCT_ID, + ORDERS_ITEMS_0.AMOUNT, + ORDERS_ITEMS_0.TITLE, + ORDERS_ITEMS_0.PRICE +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_ORDERS_ITEMS_DRAFTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_ORDERS_ITEMS_DRAFTS.hdbcds new file mode 100644 index 00000000..bea5f7f8 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_ORDERS_ITEMS_DRAFTS.hdbcds @@ -0,0 +1,18 @@ +using ORDERSSERVICE_ORDERS_DRAFTS as ORDERSSERVICE_ORDERS_DRAFTS; +using SAP_CAPIRE_ORDERS_PRODUCTS as SAP_CAPIRE_ORDERS_PRODUCTS; +using ORDERSSERVICE_DRAFTADMINISTRATIVEDATA as ORDERSSERVICE_DRAFTADMINISTRATIVEDATA; +entity ORDERSSERVICE_ORDERS_ITEMS_DRAFTS { + key ID : String(36); + UP_ : association to ORDERSSERVICE_ORDERS_DRAFTS on UP_.ID = UP__ID; + UP__ID : String(36) null; + PRODUCT : association to SAP_CAPIRE_ORDERS_PRODUCTS on PRODUCT.ID = PRODUCT_ID; + PRODUCT_ID : String(5000) null; + AMOUNT : Integer null; + TITLE : String(5000) null; + PRICE : Double null; + ISACTIVEENTITY : Boolean; + HASACTIVEENTITY : Boolean; + HASDRAFTENTITY : Boolean; + DRAFTADMINISTRATIVEDATA : association[1] to ORDERSSERVICE_DRAFTADMINISTRATIVEDATA on DRAFTADMINISTRATIVEDATA.DRAFTUUID = DRAFTADMINISTRATIVEDATA_DRAFTUUID; + DRAFTADMINISTRATIVEDATA_DRAFTUUID : String(36) not null; +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_REGIONS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_REGIONS.hdbcds new file mode 100644 index 00000000..36296e42 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_REGIONS.hdbcds @@ -0,0 +1,18 @@ +using SAP_COMMON_COUNTRIES_REGIONS as SAP_COMMON_COUNTRIES_REGIONS; +using ORDERSSERVICE_CITIES as ORDERSSERVICE_CITIES; +using ORDERSSERVICE_REGIONS_TEXTS as ORDERSSERVICE_REGIONS_TEXTS; +view ORDERSSERVICE_REGIONS as select from SAP_COMMON_COUNTRIES_REGIONS as REGIONS_0 mixin { + ___CHILDREN : association[*] to ORDERSSERVICE_REGIONS on ___CHILDREN._PARENT = $projection.CODE; + ___CITIES : association[*] to ORDERSSERVICE_CITIES on ___CITIES.REGION_CODE = $projection.CODE; + ___TEXTS : association[*] to ORDERSSERVICE_REGIONS_TEXTS on ___TEXTS.CODE = $projection.CODE; + ___LOCALIZED : association to ORDERSSERVICE_REGIONS_TEXTS on ___LOCALIZED.CODE = $projection.CODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + REGIONS_0.NAME, + REGIONS_0.DESCR, + key REGIONS_0.CODE as CODE, + ___CHILDREN as CHILDREN, + ___CITIES as CITIES, + REGIONS_0._PARENT, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_REGIONS_TEXTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_REGIONS_TEXTS.hdbcds new file mode 100644 index 00000000..895bec60 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_REGIONS_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using SAP_COMMON_COUNTRIES_REGIONS_TEXTS as SAP_COMMON_COUNTRIES_REGIONS_TEXTS; +view ORDERSSERVICE_REGIONS_TEXTS as select from SAP_COMMON_COUNTRIES_REGIONS_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.CODE as CODE +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES.hdbcds b/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES.hdbcds new file mode 100644 index 00000000..bab17976 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES.hdbcds @@ -0,0 +1,20 @@ +using Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES as Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES; +using ORDERSSERVICE_Z_CUSTOMERS as ORDERSSERVICE_Z_CUSTOMERS; +using ORDERSSERVICE_COUNTRIES as ORDERSSERVICE_COUNTRIES; +view ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES as select from Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES as Z_CUSTOMERPOSTALADDRESSES_0 mixin { + ___CUSTOMER : association[1] to ORDERSSERVICE_Z_CUSTOMERS on ___CUSTOMER.ID = $projection.CUSTOMER_ID; + ___COUNTRY : association to ORDERSSERVICE_COUNTRIES on ___COUNTRY.CODE = $projection.COUNTRY_CODE; +} into { + key Z_CUSTOMERPOSTALADDRESSES_0.ID as ID, + Z_CUSTOMERPOSTALADDRESSES_0.CREATEDAT, + Z_CUSTOMERPOSTALADDRESSES_0.CREATEDBY, + Z_CUSTOMERPOSTALADDRESSES_0.MODIFIEDAT, + Z_CUSTOMERPOSTALADDRESSES_0.MODIFIEDBY, + ___CUSTOMER as CUSTOMER, + Z_CUSTOMERPOSTALADDRESSES_0.CUSTOMER_ID, + Z_CUSTOMERPOSTALADDRESSES_0.DESCRIPTION, + Z_CUSTOMERPOSTALADDRESSES_0.STREET, + Z_CUSTOMERPOSTALADDRESSES_0.TOWN, + ___COUNTRY as COUNTRY, + Z_CUSTOMERPOSTALADDRESSES_0.COUNTRY_CODE +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES_DRAFTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES_DRAFTS.hdbcds new file mode 100644 index 00000000..f8126dff --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES_DRAFTS.hdbcds @@ -0,0 +1,22 @@ +using ORDERSSERVICE_Z_CUSTOMERS_DRAFTS as ORDERSSERVICE_Z_CUSTOMERS_DRAFTS; +using ORDERSSERVICE_COUNTRIES as ORDERSSERVICE_COUNTRIES; +using ORDERSSERVICE_DRAFTADMINISTRATIVEDATA as ORDERSSERVICE_DRAFTADMINISTRATIVEDATA; +entity ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES_DRAFTS { + key ID : String(36); + CREATEDAT : UTCTimestamp null; + CREATEDBY : String(255) null; + MODIFIEDAT : UTCTimestamp null; + MODIFIEDBY : String(255) null; + CUSTOMER : association[1] to ORDERSSERVICE_Z_CUSTOMERS_DRAFTS on CUSTOMER.ID = CUSTOMER_ID; + CUSTOMER_ID : String(36) null; + DESCRIPTION : String(5000) null; + STREET : String(5000) null; + TOWN : String(5000) null; + COUNTRY : association to ORDERSSERVICE_COUNTRIES on COUNTRY.CODE = COUNTRY_CODE; + COUNTRY_CODE : String(3) null; + ISACTIVEENTITY : Boolean; + HASACTIVEENTITY : Boolean; + HASDRAFTENTITY : Boolean; + DRAFTADMINISTRATIVEDATA : association[1] to ORDERSSERVICE_DRAFTADMINISTRATIVEDATA on DRAFTADMINISTRATIVEDATA.DRAFTUUID = DRAFTADMINISTRATIVEDATA_DRAFTUUID; + DRAFTADMINISTRATIVEDATA_DRAFTUUID : String(36) not null; +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERS.hdbcds new file mode 100644 index 00000000..40da6986 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERS.hdbcds @@ -0,0 +1,19 @@ +using Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS; +using ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES as ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES; +view ORDERSSERVICE_Z_CUSTOMERS as select from Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as Z_CUSTOMERS_0 mixin { + ___POSTALADDRESSES : association[*] to ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES on ___POSTALADDRESSES.CUSTOMER_ID = $projection.ID; +} into { + key Z_CUSTOMERS_0.ID as ID, + Z_CUSTOMERS_0.CREATEDAT, + Z_CUSTOMERS_0.CREATEDBY, + Z_CUSTOMERS_0.MODIFIEDAT, + Z_CUSTOMERS_0.MODIFIEDBY, + Z_CUSTOMERS_0.EMAIL, + Z_CUSTOMERS_0.FIRSTNAME, + Z_CUSTOMERS_0.LASTNAME, + Z_CUSTOMERS_0.CREDITCARDNO, + Z_CUSTOMERS_0.DATEOFBIRTH, + Z_CUSTOMERS_0.STATUS, + Z_CUSTOMERS_0.CREDITSCORE, + ___POSTALADDRESSES as POSTALADDRESSES +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERS_DRAFTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERS_DRAFTS.hdbcds new file mode 100644 index 00000000..e351aaea --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_Z_CUSTOMERS_DRAFTS.hdbcds @@ -0,0 +1,22 @@ +using ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES_DRAFTS as ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES_DRAFTS; +using ORDERSSERVICE_DRAFTADMINISTRATIVEDATA as ORDERSSERVICE_DRAFTADMINISTRATIVEDATA; +entity ORDERSSERVICE_Z_CUSTOMERS_DRAFTS { + key ID : String(36); + CREATEDAT : UTCTimestamp null; + CREATEDBY : String(255) null; + MODIFIEDAT : UTCTimestamp null; + MODIFIEDBY : String(255) null; + EMAIL : String(5000) null; + FIRSTNAME : String(5000) null; + LASTNAME : String(5000) null; + CREDITCARDNO : String(5000) null; + DATEOFBIRTH : LocalDate null; + STATUS : String(5000) null default 'bronze'; + CREDITSCORE : DecimalFloat null default 50; + POSTALADDRESSES : association[*] to ORDERSSERVICE_Z_CUSTOMERPOSTALADDRESSES_DRAFTS on POSTALADDRESSES.CUSTOMER_ID = ID; + ISACTIVEENTITY : Boolean; + HASACTIVEENTITY : Boolean; + HASDRAFTENTITY : Boolean; + DRAFTADMINISTRATIVEDATA : association[1] to ORDERSSERVICE_DRAFTADMINISTRATIVEDATA on DRAFTADMINISTRATIVEDATA.DRAFTUUID = DRAFTADMINISTRATIVEDATA_DRAFTUUID; + DRAFTADMINISTRATIVEDATA_DRAFTUUID : String(36) not null; +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_Z_REMARKS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_Z_REMARKS.hdbcds new file mode 100644 index 00000000..27741f35 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_Z_REMARKS.hdbcds @@ -0,0 +1,15 @@ +using Z_BOOKSHOP_EXTENSION_Z_REMARKS as Z_BOOKSHOP_EXTENSION_Z_REMARKS; +using ORDERSSERVICE_ORDERS as ORDERSSERVICE_ORDERS; +view ORDERSSERVICE_Z_REMARKS as select from Z_BOOKSHOP_EXTENSION_Z_REMARKS as Z_REMARKS_0 mixin { + ___PARENT : association[1] to ORDERSSERVICE_ORDERS on ___PARENT.ID = $projection.PARENT_ID; +} into { + key Z_REMARKS_0.ID as ID, + Z_REMARKS_0.CREATEDAT, + Z_REMARKS_0.CREATEDBY, + Z_REMARKS_0.MODIFIEDAT, + Z_REMARKS_0.MODIFIEDBY, + ___PARENT as PARENT, + Z_REMARKS_0.PARENT_ID, + Z_REMARKS_0.NUMBER, + Z_REMARKS_0.REMARKSLINE +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_Z_REMARKS_DRAFTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_Z_REMARKS_DRAFTS.hdbcds new file mode 100644 index 00000000..af7ccdda --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_Z_REMARKS_DRAFTS.hdbcds @@ -0,0 +1,18 @@ +using ORDERSSERVICE_ORDERS_DRAFTS as ORDERSSERVICE_ORDERS_DRAFTS; +using ORDERSSERVICE_DRAFTADMINISTRATIVEDATA as ORDERSSERVICE_DRAFTADMINISTRATIVEDATA; +entity ORDERSSERVICE_Z_REMARKS_DRAFTS { + key ID : String(36); + CREATEDAT : UTCTimestamp null; + CREATEDBY : String(255) null; + MODIFIEDAT : UTCTimestamp null; + MODIFIEDBY : String(255) null; + PARENT : association[1] to ORDERSSERVICE_ORDERS_DRAFTS on PARENT.ID = PARENT_ID; + PARENT_ID : String(36) null; + NUMBER : Integer null; + REMARKSLINE : String(5000) null; + ISACTIVEENTITY : Boolean; + HASACTIVEENTITY : Boolean; + HASDRAFTENTITY : Boolean; + DRAFTADMINISTRATIVEDATA : association[1] to ORDERSSERVICE_DRAFTADMINISTRATIVEDATA on DRAFTADMINISTRATIVEDATA.DRAFTUUID = DRAFTADMINISTRATIVEDATA_DRAFTUUID; + DRAFTADMINISTRATIVEDATA_DRAFTUUID : String(36) not null; +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION.hdbcds b/gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION.hdbcds new file mode 100644 index 00000000..e75110cb --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION.hdbcds @@ -0,0 +1,12 @@ +using Z_BOOKSHOP_EXTENSION_Z_SALESREGION as Z_BOOKSHOP_EXTENSION_Z_SALESREGION; +using ORDERSSERVICE_Z_SALESREGION_TEXTS as ORDERSSERVICE_Z_SALESREGION_TEXTS; +view ORDERSSERVICE_Z_SALESREGION as select from Z_BOOKSHOP_EXTENSION_Z_SALESREGION as Z_SALESREGION_0 mixin { + ___TEXTS : association[*] to ORDERSSERVICE_Z_SALESREGION_TEXTS on ___TEXTS.REGIONCODE = $projection.REGIONCODE; + ___LOCALIZED : association to ORDERSSERVICE_Z_SALESREGION_TEXTS on ___LOCALIZED.REGIONCODE = $projection.REGIONCODE and ___LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +} into { + Z_SALESREGION_0.NAME, + Z_SALESREGION_0.DESCR, + key Z_SALESREGION_0.REGIONCODE as REGIONCODE, + ___TEXTS as TEXTS, + ___LOCALIZED as LOCALIZED +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION_DRAFTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION_DRAFTS.hdbcds new file mode 100644 index 00000000..fe3ae901 --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION_DRAFTS.hdbcds @@ -0,0 +1,14 @@ +using ORDERSSERVICE_Z_SALESREGION_TEXTS as ORDERSSERVICE_Z_SALESREGION_TEXTS; +using ORDERSSERVICE_DRAFTADMINISTRATIVEDATA as ORDERSSERVICE_DRAFTADMINISTRATIVEDATA; +entity ORDERSSERVICE_Z_SALESREGION_DRAFTS { + NAME : String(255) null; + DESCR : String(1000) null; + key REGIONCODE : String(11); + TEXTS : association[*] to ORDERSSERVICE_Z_SALESREGION_TEXTS on TEXTS.REGIONCODE = REGIONCODE; + LOCALIZED : association to ORDERSSERVICE_Z_SALESREGION_TEXTS on LOCALIZED.REGIONCODE = REGIONCODE and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); + ISACTIVEENTITY : Boolean; + HASACTIVEENTITY : Boolean; + HASDRAFTENTITY : Boolean; + DRAFTADMINISTRATIVEDATA : association[1] to ORDERSSERVICE_DRAFTADMINISTRATIVEDATA on DRAFTADMINISTRATIVEDATA.DRAFTUUID = DRAFTADMINISTRATIVEDATA_DRAFTUUID; + DRAFTADMINISTRATIVEDATA_DRAFTUUID : String(36) not null; +}; diff --git a/gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION_TEXTS.hdbcds b/gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION_TEXTS.hdbcds new file mode 100644 index 00000000..f9ed364c --- /dev/null +++ b/gen/db/src/gen/ORDERSSERVICE_Z_SALESREGION_TEXTS.hdbcds @@ -0,0 +1,7 @@ +using Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS as Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS; +view ORDERSSERVICE_Z_SALESREGION_TEXTS as select from Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS as TEXTS_0 { + key TEXTS_0.LOCALE as LOCALE, + TEXTS_0.NAME, + TEXTS_0.DESCR, + key TEXTS_0.REGIONCODE as REGIONCODE +}; diff --git a/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_AUTHORS.hdbcds b/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_AUTHORS.hdbcds new file mode 100644 index 00000000..544a832c --- /dev/null +++ b/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_AUTHORS.hdbcds @@ -0,0 +1,14 @@ +using SAP_CAPIRE_BOOKSHOP_BOOKS as SAP_CAPIRE_BOOKSHOP_BOOKS; +entity SAP_CAPIRE_BOOKSHOP_AUTHORS { + CREATEDAT : UTCTimestamp; + CREATEDBY : String(255); + MODIFIEDAT : UTCTimestamp; + MODIFIEDBY : String(255); + key ID : Integer; + NAME : String(111); + DATEOFBIRTH : LocalDate; + DATEOFDEATH : LocalDate; + PLACEOFBIRTH : String(5000); + PLACEOFDEATH : String(5000); + BOOKS : association[*] to SAP_CAPIRE_BOOKSHOP_BOOKS on BOOKS.AUTHOR_ID = ID; +}; diff --git a/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_BOOKS.hdbcds b/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_BOOKS.hdbcds new file mode 100644 index 00000000..aa6c2e78 --- /dev/null +++ b/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_BOOKS.hdbcds @@ -0,0 +1,24 @@ +using SAP_CAPIRE_BOOKSHOP_AUTHORS as SAP_CAPIRE_BOOKSHOP_AUTHORS; +using SAP_CAPIRE_BOOKSHOP_GENRES as SAP_CAPIRE_BOOKSHOP_GENRES; +using SAP_COMMON_CURRENCIES as SAP_COMMON_CURRENCIES; +using SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS as SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS; +entity SAP_CAPIRE_BOOKSHOP_BOOKS { + CREATEDAT : UTCTimestamp; + CREATEDBY : String(255); + MODIFIEDAT : UTCTimestamp; + MODIFIEDBY : String(255); + key ID : Integer; + TITLE : String(111); + DESCR : String(1111); + AUTHOR : association to SAP_CAPIRE_BOOKSHOP_AUTHORS on AUTHOR.ID = AUTHOR_ID; + AUTHOR_ID : Integer; + GENRE : association to SAP_CAPIRE_BOOKSHOP_GENRES on GENRE.ID = GENRE_ID; + GENRE_ID : Integer; + STOCK : Integer; + PRICE : DecimalFloat; + CURRENCY : association to SAP_COMMON_CURRENCIES on CURRENCY.CODE = CURRENCY_CODE; + CURRENCY_CODE : String(3); + IMAGE : LargeBinary; + TEXTS : association[*] to SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS on TEXTS.ID = ID; + LOCALIZED : association to SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS on LOCALIZED.ID = ID and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +}; diff --git a/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS.hdbcds b/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS.hdbcds new file mode 100644 index 00000000..151da4e9 --- /dev/null +++ b/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS.hdbcds @@ -0,0 +1,10 @@ +entity SAP_CAPIRE_BOOKSHOP_BOOKS_TEXTS { + key ID_TEXTS : String(36); + LOCALE : String(14); + ID : Integer; + TITLE : String(111); + DESCR : String(1111); +} +technical configuration { + unique index LOCALE on (LOCALE, ID); +}; diff --git a/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_GENRES.hdbcds b/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_GENRES.hdbcds new file mode 100644 index 00000000..25a7a0bb --- /dev/null +++ b/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_GENRES.hdbcds @@ -0,0 +1,11 @@ +using SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS as SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS; +entity SAP_CAPIRE_BOOKSHOP_GENRES { + NAME : String(255); + DESCR : String(1000); + key ID : Integer; + PARENT : association to SAP_CAPIRE_BOOKSHOP_GENRES on PARENT.ID = PARENT_ID; + PARENT_ID : Integer; + CHILDREN : association[*] to SAP_CAPIRE_BOOKSHOP_GENRES on CHILDREN.PARENT_ID = ID; + TEXTS : association[*] to SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS on TEXTS.ID = ID; + LOCALIZED : association to SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS on LOCALIZED.ID = ID and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +}; diff --git a/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS.hdbcds b/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS.hdbcds new file mode 100644 index 00000000..8438e61a --- /dev/null +++ b/gen/db/src/gen/SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS.hdbcds @@ -0,0 +1,6 @@ +entity SAP_CAPIRE_BOOKSHOP_GENRES_TEXTS { + key LOCALE : String(14); + NAME : String(255); + DESCR : String(1000); + key ID : Integer; +}; diff --git a/gen/db/src/gen/SAP_CAPIRE_ORDERS_ORDERS.hdbcds b/gen/db/src/gen/SAP_CAPIRE_ORDERS_ORDERS.hdbcds new file mode 100644 index 00000000..5bed5fdf --- /dev/null +++ b/gen/db/src/gen/SAP_CAPIRE_ORDERS_ORDERS.hdbcds @@ -0,0 +1,23 @@ +using SAP_CAPIRE_ORDERS_ORDERS_ITEMS as SAP_CAPIRE_ORDERS_ORDERS_ITEMS; +using SAP_COMMON_CURRENCIES as SAP_COMMON_CURRENCIES; +using Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS; +using Z_BOOKSHOP_EXTENSION_Z_SALESREGION as Z_BOOKSHOP_EXTENSION_Z_SALESREGION; +using Z_BOOKSHOP_EXTENSION_Z_REMARKS as Z_BOOKSHOP_EXTENSION_Z_REMARKS; +entity SAP_CAPIRE_ORDERS_ORDERS { + key ID : String(36); + CREATEDAT : UTCTimestamp; + CREATEDBY : String(255); + MODIFIEDAT : UTCTimestamp; + MODIFIEDBY : String(255); + ORDERNO : String(5000); + ITEMS : association[*] to SAP_CAPIRE_ORDERS_ORDERS_ITEMS on ITEMS.UP__ID = ID; + BUYER : String(255); + CURRENCY : association to SAP_COMMON_CURRENCIES on CURRENCY.CODE = CURRENCY_CODE; + CURRENCY_CODE : String(3); + Z_CUSTOMER : association[1] to Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS on Z_CUSTOMER.ID = Z_CUSTOMER_ID; + Z_CUSTOMER_ID : String(36); + Z_SALESREGION : association[1] to Z_BOOKSHOP_EXTENSION_Z_SALESREGION on Z_SALESREGION.REGIONCODE = Z_SALESREGION_REGIONCODE; + Z_SALESREGION_REGIONCODE : String(11); + Z_PRIORITY : String(5000) default 'medium'; + Z_REMARKS : association[*] to Z_BOOKSHOP_EXTENSION_Z_REMARKS on Z_REMARKS.PARENT_ID = ID; +}; diff --git a/gen/db/src/gen/SAP_CAPIRE_ORDERS_ORDERS_ITEMS.hdbcds b/gen/db/src/gen/SAP_CAPIRE_ORDERS_ORDERS_ITEMS.hdbcds new file mode 100644 index 00000000..bbc09977 --- /dev/null +++ b/gen/db/src/gen/SAP_CAPIRE_ORDERS_ORDERS_ITEMS.hdbcds @@ -0,0 +1,12 @@ +using SAP_CAPIRE_ORDERS_ORDERS as SAP_CAPIRE_ORDERS_ORDERS; +using SAP_CAPIRE_ORDERS_PRODUCTS as SAP_CAPIRE_ORDERS_PRODUCTS; +entity SAP_CAPIRE_ORDERS_ORDERS_ITEMS { + key ID : String(36); + UP_ : association to SAP_CAPIRE_ORDERS_ORDERS on UP_.ID = UP__ID; + UP__ID : String(36); + PRODUCT : association to SAP_CAPIRE_ORDERS_PRODUCTS on PRODUCT.ID = PRODUCT_ID; + PRODUCT_ID : String(5000); + AMOUNT : Integer; + TITLE : String(5000); + PRICE : Double; +}; diff --git a/gen/db/src/gen/SAP_CAPIRE_ORDERS_PRODUCTS.hdbcds b/gen/db/src/gen/SAP_CAPIRE_ORDERS_PRODUCTS.hdbcds new file mode 100644 index 00000000..2d99917c --- /dev/null +++ b/gen/db/src/gen/SAP_CAPIRE_ORDERS_PRODUCTS.hdbcds @@ -0,0 +1,3 @@ +entity SAP_CAPIRE_ORDERS_PRODUCTS { + key ID : String(5000); +}; diff --git a/gen/db/src/gen/SAP_COMMON_COUNTRIES.hdbcds b/gen/db/src/gen/SAP_COMMON_COUNTRIES.hdbcds new file mode 100644 index 00000000..fa894247 --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_COUNTRIES.hdbcds @@ -0,0 +1,10 @@ +using SAP_COMMON_COUNTRIES_REGIONS as SAP_COMMON_COUNTRIES_REGIONS; +using SAP_COMMON_COUNTRIES_TEXTS as SAP_COMMON_COUNTRIES_TEXTS; +entity SAP_COMMON_COUNTRIES { + NAME : String(255); + DESCR : String(1000); + key CODE : String(3); + REGIONS : association[*] to SAP_COMMON_COUNTRIES_REGIONS on REGIONS._PARENT = CODE; + TEXTS : association[*] to SAP_COMMON_COUNTRIES_TEXTS on TEXTS.CODE = CODE; + LOCALIZED : association to SAP_COMMON_COUNTRIES_TEXTS on LOCALIZED.CODE = CODE and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +}; diff --git a/gen/db/src/gen/SAP_COMMON_COUNTRIES_CITIES.hdbcds b/gen/db/src/gen/SAP_COMMON_COUNTRIES_CITIES.hdbcds new file mode 100644 index 00000000..9efff19e --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_COUNTRIES_CITIES.hdbcds @@ -0,0 +1,13 @@ +using SAP_COMMON_COUNTRIES_REGIONS as SAP_COMMON_COUNTRIES_REGIONS; +using SAP_COMMON_COUNTRIES_DISTRICTS as SAP_COMMON_COUNTRIES_DISTRICTS; +using SAP_COMMON_COUNTRIES_CITIES_TEXTS as SAP_COMMON_COUNTRIES_CITIES_TEXTS; +entity SAP_COMMON_COUNTRIES_CITIES { + NAME : String(255); + DESCR : String(1000); + key CODE : String(11); + REGION : association to SAP_COMMON_COUNTRIES_REGIONS on REGION.CODE = REGION_CODE; + REGION_CODE : String(5); + DISTRICTS : association[*] to SAP_COMMON_COUNTRIES_DISTRICTS on DISTRICTS.CITY_CODE = CODE; + TEXTS : association[*] to SAP_COMMON_COUNTRIES_CITIES_TEXTS on TEXTS.CODE = CODE; + LOCALIZED : association to SAP_COMMON_COUNTRIES_CITIES_TEXTS on LOCALIZED.CODE = CODE and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +}; diff --git a/gen/db/src/gen/SAP_COMMON_COUNTRIES_CITIES_TEXTS.hdbcds b/gen/db/src/gen/SAP_COMMON_COUNTRIES_CITIES_TEXTS.hdbcds new file mode 100644 index 00000000..e616d606 --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_COUNTRIES_CITIES_TEXTS.hdbcds @@ -0,0 +1,6 @@ +entity SAP_COMMON_COUNTRIES_CITIES_TEXTS { + key LOCALE : String(14); + NAME : String(255); + DESCR : String(1000); + key CODE : String(11); +}; diff --git a/gen/db/src/gen/SAP_COMMON_COUNTRIES_DISTRICTS.hdbcds b/gen/db/src/gen/SAP_COMMON_COUNTRIES_DISTRICTS.hdbcds new file mode 100644 index 00000000..9e5e273c --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_COUNTRIES_DISTRICTS.hdbcds @@ -0,0 +1,11 @@ +using SAP_COMMON_COUNTRIES_CITIES as SAP_COMMON_COUNTRIES_CITIES; +using SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS as SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS; +entity SAP_COMMON_COUNTRIES_DISTRICTS { + NAME : String(255); + DESCR : String(1000); + key CODE : String(11); + CITY : association to SAP_COMMON_COUNTRIES_CITIES on CITY.CODE = CITY_CODE; + CITY_CODE : String(11); + TEXTS : association[*] to SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS on TEXTS.CODE = CODE; + LOCALIZED : association to SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS on LOCALIZED.CODE = CODE and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +}; diff --git a/gen/db/src/gen/SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS.hdbcds b/gen/db/src/gen/SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS.hdbcds new file mode 100644 index 00000000..3a1ff79f --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS.hdbcds @@ -0,0 +1,6 @@ +entity SAP_COMMON_COUNTRIES_DISTRICTS_TEXTS { + key LOCALE : String(14); + NAME : String(255); + DESCR : String(1000); + key CODE : String(11); +}; diff --git a/gen/db/src/gen/SAP_COMMON_COUNTRIES_REGIONS.hdbcds b/gen/db/src/gen/SAP_COMMON_COUNTRIES_REGIONS.hdbcds new file mode 100644 index 00000000..5f3b823e --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_COUNTRIES_REGIONS.hdbcds @@ -0,0 +1,12 @@ +using SAP_COMMON_COUNTRIES_CITIES as SAP_COMMON_COUNTRIES_CITIES; +using SAP_COMMON_COUNTRIES_REGIONS_TEXTS as SAP_COMMON_COUNTRIES_REGIONS_TEXTS; +entity SAP_COMMON_COUNTRIES_REGIONS { + NAME : String(255); + DESCR : String(1000); + key CODE : String(5); + CHILDREN : association[*] to SAP_COMMON_COUNTRIES_REGIONS on CHILDREN._PARENT = CODE; + CITIES : association[*] to SAP_COMMON_COUNTRIES_CITIES on CITIES.REGION_CODE = CODE; + _PARENT : String(11); + TEXTS : association[*] to SAP_COMMON_COUNTRIES_REGIONS_TEXTS on TEXTS.CODE = CODE; + LOCALIZED : association to SAP_COMMON_COUNTRIES_REGIONS_TEXTS on LOCALIZED.CODE = CODE and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +}; diff --git a/gen/db/src/gen/SAP_COMMON_COUNTRIES_REGIONS_TEXTS.hdbcds b/gen/db/src/gen/SAP_COMMON_COUNTRIES_REGIONS_TEXTS.hdbcds new file mode 100644 index 00000000..4e5da71d --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_COUNTRIES_REGIONS_TEXTS.hdbcds @@ -0,0 +1,6 @@ +entity SAP_COMMON_COUNTRIES_REGIONS_TEXTS { + key LOCALE : String(14); + NAME : String(255); + DESCR : String(1000); + key CODE : String(5); +}; diff --git a/gen/db/src/gen/SAP_COMMON_COUNTRIES_TEXTS.hdbcds b/gen/db/src/gen/SAP_COMMON_COUNTRIES_TEXTS.hdbcds new file mode 100644 index 00000000..c85bc74d --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_COUNTRIES_TEXTS.hdbcds @@ -0,0 +1,6 @@ +entity SAP_COMMON_COUNTRIES_TEXTS { + key LOCALE : String(14); + NAME : String(255); + DESCR : String(1000); + key CODE : String(3); +}; diff --git a/gen/db/src/gen/SAP_COMMON_CURRENCIES.hdbcds b/gen/db/src/gen/SAP_COMMON_CURRENCIES.hdbcds new file mode 100644 index 00000000..9297adf8 --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_CURRENCIES.hdbcds @@ -0,0 +1,12 @@ +using SAP_COMMON_CURRENCIES_TEXTS as SAP_COMMON_CURRENCIES_TEXTS; +entity SAP_COMMON_CURRENCIES { + NAME : String(255); + DESCR : String(1000); + key CODE : String(3); + SYMBOL : String(5); + NUMCODE : Integer; + EXPONENT : Integer; + MINOR : String(5000); + TEXTS : association[*] to SAP_COMMON_CURRENCIES_TEXTS on TEXTS.CODE = CODE; + LOCALIZED : association to SAP_COMMON_CURRENCIES_TEXTS on LOCALIZED.CODE = CODE and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +}; diff --git a/gen/db/src/gen/SAP_COMMON_CURRENCIES_TEXTS.hdbcds b/gen/db/src/gen/SAP_COMMON_CURRENCIES_TEXTS.hdbcds new file mode 100644 index 00000000..05ec1d62 --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_CURRENCIES_TEXTS.hdbcds @@ -0,0 +1,6 @@ +entity SAP_COMMON_CURRENCIES_TEXTS { + key LOCALE : String(14); + NAME : String(255); + DESCR : String(1000); + key CODE : String(3); +}; diff --git a/gen/db/src/gen/SAP_COMMON_LANGUAGES.hdbcds b/gen/db/src/gen/SAP_COMMON_LANGUAGES.hdbcds new file mode 100644 index 00000000..55f2d093 --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_LANGUAGES.hdbcds @@ -0,0 +1,8 @@ +using SAP_COMMON_LANGUAGES_TEXTS as SAP_COMMON_LANGUAGES_TEXTS; +entity SAP_COMMON_LANGUAGES { + NAME : String(255); + DESCR : String(1000); + key CODE : String(14); + TEXTS : association[*] to SAP_COMMON_LANGUAGES_TEXTS on TEXTS.CODE = CODE; + LOCALIZED : association to SAP_COMMON_LANGUAGES_TEXTS on LOCALIZED.CODE = CODE and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +}; diff --git a/gen/db/src/gen/SAP_COMMON_LANGUAGES_TEXTS.hdbcds b/gen/db/src/gen/SAP_COMMON_LANGUAGES_TEXTS.hdbcds new file mode 100644 index 00000000..921e1e00 --- /dev/null +++ b/gen/db/src/gen/SAP_COMMON_LANGUAGES_TEXTS.hdbcds @@ -0,0 +1,6 @@ +entity SAP_COMMON_LANGUAGES_TEXTS { + key LOCALE : String(14); + NAME : String(255); + DESCR : String(1000); + key CODE : String(14); +}; diff --git a/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES.hdbcds b/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES.hdbcds new file mode 100644 index 00000000..a9e5db81 --- /dev/null +++ b/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES.hdbcds @@ -0,0 +1,16 @@ +using Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS as Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS; +using SAP_COMMON_COUNTRIES as SAP_COMMON_COUNTRIES; +entity Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES { + key ID : String(36); + CREATEDAT : UTCTimestamp; + CREATEDBY : String(255); + MODIFIEDAT : UTCTimestamp; + MODIFIEDBY : String(255); + CUSTOMER : association[1] to Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS on CUSTOMER.ID = CUSTOMER_ID; + CUSTOMER_ID : String(36); + DESCRIPTION : String(5000); + STREET : String(5000); + TOWN : String(5000); + COUNTRY : association to SAP_COMMON_COUNTRIES on COUNTRY.CODE = COUNTRY_CODE; + COUNTRY_CODE : String(3); +}; diff --git a/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS.hdbcds b/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS.hdbcds new file mode 100644 index 00000000..8b5d00a7 --- /dev/null +++ b/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS.hdbcds @@ -0,0 +1,19 @@ +using Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES as Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES; +entity Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS { + key ID : String(36); + CREATEDAT : UTCTimestamp; + CREATEDBY : String(255); + MODIFIEDAT : UTCTimestamp; + MODIFIEDBY : String(255); + EMAIL : String(5000); + FIRSTNAME : String(5000); + LASTNAME : String(5000); + CREDITCARDNO : String(5000); + DATEOFBIRTH : LocalDate; + STATUS : String(5000) default 'bronze'; + CREDITSCORE : DecimalFloat default 50; + POSTALADDRESSES : association[*] to Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES on POSTALADDRESSES.CUSTOMER_ID = ID; +} +technical configuration { + unique index EMAIL on (EMAIL); +}; diff --git a/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_REMARKS.hdbcds b/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_REMARKS.hdbcds new file mode 100644 index 00000000..dd735d8b --- /dev/null +++ b/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_REMARKS.hdbcds @@ -0,0 +1,12 @@ +using SAP_CAPIRE_ORDERS_ORDERS as SAP_CAPIRE_ORDERS_ORDERS; +entity Z_BOOKSHOP_EXTENSION_Z_REMARKS { + key ID : String(36); + CREATEDAT : UTCTimestamp; + CREATEDBY : String(255); + MODIFIEDAT : UTCTimestamp; + MODIFIEDBY : String(255); + PARENT : association[1] to SAP_CAPIRE_ORDERS_ORDERS on PARENT.ID = PARENT_ID; + PARENT_ID : String(36); + NUMBER : Integer; + REMARKSLINE : String(5000); +}; diff --git a/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_SALESREGION.hdbcds b/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_SALESREGION.hdbcds new file mode 100644 index 00000000..0e631e3a --- /dev/null +++ b/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_SALESREGION.hdbcds @@ -0,0 +1,8 @@ +using Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS as Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS; +entity Z_BOOKSHOP_EXTENSION_Z_SALESREGION { + NAME : String(255); + DESCR : String(1000); + key REGIONCODE : String(11); + TEXTS : association[*] to Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS on TEXTS.REGIONCODE = REGIONCODE; + LOCALIZED : association to Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS on LOCALIZED.REGIONCODE = REGIONCODE and LOCALIZED.LOCALE = SESSION_CONTEXT('LOCALE'); +}; diff --git a/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS.hdbcds b/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS.hdbcds new file mode 100644 index 00000000..2e5e766d --- /dev/null +++ b/gen/db/src/gen/Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS.hdbcds @@ -0,0 +1,6 @@ +entity Z_BOOKSHOP_EXTENSION_Z_SALESREGION_TEXTS { + key LOCALE : String(14); + NAME : String(255); + DESCR : String(1000); + key REGIONCODE : String(11); +}; diff --git a/gen/db/src/gen/data/Z_bookshop.extension-Z_CustomerPostalAddresses.csv b/gen/db/src/gen/data/Z_bookshop.extension-Z_CustomerPostalAddresses.csv new file mode 100644 index 00000000..c4ebd778 --- /dev/null +++ b/gen/db/src/gen/data/Z_bookshop.extension-Z_CustomerPostalAddresses.csv @@ -0,0 +1,5 @@ +ID;modifiedAt;createdAt;createdBy;modifiedBy;Customer_ID;description;street;town;country_code +1e2f2640-6866-4dcf-8f4d-3027aa831cad;2019-04-04;2019-01-31;admin@business.com;admin@business.com;8e2f2640-6866-4dcf-8f4d-3027aa831cad;Home;Hauptstrasse 11;Berlin;DE +24e718c9-ff99-47f1-8ca3-950c850777d4;2019-04-04;2019-01-30;admin@business.com;admin@business.com;74e718c9-ff99-47f1-8ca3-950c850777d4;Home;Main Street 22;London;GB +3e2f2640-6866-4dcf-8f4d-3027aa831cad;2019-04-04;2019-01-31;admin@business.com;admin@business.com;8e2f2640-6866-4dcf-8f4d-3027aa831cad;Work;Siemensstrasse 21;Berlin;DE +44e718c9-ff99-47f1-8ca3-950c850777d4;2019-04-04;2019-01-30;admin@business.com;admin@business.com;74e718c9-ff99-47f1-8ca3-950c850777d4;Work;Work Street 34;London;GB diff --git a/gen/db/src/gen/data/Z_bookshop.extension-Z_CustomerPostalAddresses.hdbtabledata b/gen/db/src/gen/data/Z_bookshop.extension-Z_CustomerPostalAddresses.hdbtabledata new file mode 100644 index 00000000..fca825c9 --- /dev/null +++ b/gen/db/src/gen/data/Z_bookshop.extension-Z_CustomerPostalAddresses.hdbtabledata @@ -0,0 +1,43 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "Z_BOOKSHOP_EXTENSION_Z_CUSTOMERPOSTALADDRESSES", + "source_data": { + "data_type": "CSV", + "file_name": "Z_bookshop.extension-Z_CustomerPostalAddresses.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "ID", + "MODIFIEDAT", + "CREATEDAT", + "CREATEDBY", + "MODIFIEDBY", + "CUSTOMER_ID", + "DESCRIPTION", + "STREET", + "TOWN", + "COUNTRY_CODE" + ], + "include_filter": [] + }, + "column_mappings": { + "ID": "ID", + "MODIFIEDAT": "modifiedAt", + "CREATEDAT": "createdAt", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "CUSTOMER_ID": "Customer_ID", + "DESCRIPTION": "description", + "STREET": "street", + "TOWN": "town", + "COUNTRY_CODE": "country_code" + } + } + ] +} \ No newline at end of file diff --git a/gen/db/src/gen/data/Z_bookshop.extension-Z_Customers.csv b/gen/db/src/gen/data/Z_bookshop.extension-Z_Customers.csv new file mode 100644 index 00000000..9359a945 --- /dev/null +++ b/gen/db/src/gen/data/Z_bookshop.extension-Z_Customers.csv @@ -0,0 +1,3 @@ +ID;modifiedAt;createdAt;createdBy;modifiedBy;email;firstName;lastName;creditCardNo;dateOfBirth;status;creditScore +8e2f2640-6866-4dcf-8f4d-3027aa831cad;2019-04-04;2019-01-31;admin@business.com;admin@business.com;john.doe@test.com;John;Doe;9977-6655-4433-2211;1970-01-01;gold;80.0 +74e718c9-ff99-47f1-8ca3-950c850777d4;2019-04-04;2019-01-30;admin@business.com;admin@business.com;jane.doe@sap.com;Jane;Doe;2211-3344-5566-7788;1980-11-11;platinum;100.0 \ No newline at end of file diff --git a/gen/db/src/gen/data/Z_bookshop.extension-Z_Customers.hdbtabledata b/gen/db/src/gen/data/Z_bookshop.extension-Z_Customers.hdbtabledata new file mode 100644 index 00000000..5ae016c0 --- /dev/null +++ b/gen/db/src/gen/data/Z_bookshop.extension-Z_Customers.hdbtabledata @@ -0,0 +1,47 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "Z_BOOKSHOP_EXTENSION_Z_CUSTOMERS", + "source_data": { + "data_type": "CSV", + "file_name": "Z_bookshop.extension-Z_Customers.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "ID", + "MODIFIEDAT", + "CREATEDAT", + "CREATEDBY", + "MODIFIEDBY", + "EMAIL", + "FIRSTNAME", + "LASTNAME", + "CREDITCARDNO", + "DATEOFBIRTH", + "STATUS", + "CREDITSCORE" + ], + "include_filter": [] + }, + "column_mappings": { + "ID": "ID", + "MODIFIEDAT": "modifiedAt", + "CREATEDAT": "createdAt", + "CREATEDBY": "createdBy", + "MODIFIEDBY": "modifiedBy", + "EMAIL": "email", + "FIRSTNAME": "firstName", + "LASTNAME": "lastName", + "CREDITCARDNO": "creditCardNo", + "DATEOFBIRTH": "dateOfBirth", + "STATUS": "status", + "CREDITSCORE": "creditScore" + } + } + ] +} \ No newline at end of file diff --git a/gen/db/src/gen/data/Z_bookshop.extension-Z_SalesRegion.csv b/gen/db/src/gen/data/Z_bookshop.extension-Z_SalesRegion.csv new file mode 100644 index 00000000..e05b5c42 --- /dev/null +++ b/gen/db/src/gen/data/Z_bookshop.extension-Z_SalesRegion.csv @@ -0,0 +1,4 @@ +regionCode;name;descr +AMER;Americas;North, Central and South America +EMEA;Europe, the Middle East and Africa;Europe, the Middle East and Africa +APJ;Asia Pacific and Japan;Asia Pacific and Japan \ No newline at end of file diff --git a/gen/db/src/gen/data/Z_bookshop.extension-Z_SalesRegion.hdbtabledata b/gen/db/src/gen/data/Z_bookshop.extension-Z_SalesRegion.hdbtabledata new file mode 100644 index 00000000..21b64759 --- /dev/null +++ b/gen/db/src/gen/data/Z_bookshop.extension-Z_SalesRegion.hdbtabledata @@ -0,0 +1,29 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "Z_BOOKSHOP_EXTENSION_Z_SALESREGION", + "source_data": { + "data_type": "CSV", + "file_name": "Z_bookshop.extension-Z_SalesRegion.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "REGIONCODE", + "NAME", + "DESCR" + ], + "include_filter": [] + }, + "column_mappings": { + "REGIONCODE": "regionCode", + "NAME": "name", + "DESCR": "descr" + } + } + ] +} \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.capire.bookshop-Authors.csv b/gen/db/src/gen/data/sap.capire.bookshop-Authors.csv new file mode 100644 index 00000000..f97bfeed --- /dev/null +++ b/gen/db/src/gen/data/sap.capire.bookshop-Authors.csv @@ -0,0 +1,5 @@ +ID;name;dateOfBirth;placeOfBirth;dateOfDeath;placeOfDeath +101;Emily Brontë;1818-07-30;Thornton, Yorkshire;1848-12-19;Haworth, Yorkshire +107;Charlotte Brontë;1818-04-21;Thornton, Yorkshire;1855-03-31;Haworth, Yorkshire +150;Edgar Allen Poe;1809-01-19;Boston, Massachusetts;1849-10-07;Baltimore, Maryland +170;Richard Carpenter;1929-08-14;King’s Lynn, Norfolk;2012-02-26;Hertfordshire, England \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.capire.bookshop-Authors.hdbtabledata b/gen/db/src/gen/data/sap.capire.bookshop-Authors.hdbtabledata new file mode 100644 index 00000000..734f8142 --- /dev/null +++ b/gen/db/src/gen/data/sap.capire.bookshop-Authors.hdbtabledata @@ -0,0 +1,35 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "SAP_CAPIRE_BOOKSHOP_AUTHORS", + "source_data": { + "data_type": "CSV", + "file_name": "sap.capire.bookshop-Authors.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "ID", + "NAME", + "DATEOFBIRTH", + "PLACEOFBIRTH", + "DATEOFDEATH", + "PLACEOFDEATH" + ], + "include_filter": [] + }, + "column_mappings": { + "ID": "ID", + "NAME": "name", + "DATEOFBIRTH": "dateOfBirth", + "PLACEOFBIRTH": "placeOfBirth", + "DATEOFDEATH": "dateOfDeath", + "PLACEOFDEATH": "placeOfDeath" + } + } + ] +} \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.capire.bookshop-Books.csv b/gen/db/src/gen/data/sap.capire.bookshop-Books.csv new file mode 100644 index 00000000..cb3044aa --- /dev/null +++ b/gen/db/src/gen/data/sap.capire.bookshop-Books.csv @@ -0,0 +1,6 @@ +ID;title;descr;author_ID;stock;price;currency_code;genre_ID +201;Wuthering Heights;"Wuthering Heights, Emily Brontë's only novel, was published in 1847 under the pseudonym ""Ellis Bell"". It was written between October 1845 and June 1846. Wuthering Heights and Anne Brontë's Agnes Grey were accepted by publisher Thomas Newby before the success of their sister Charlotte's novel Jane Eyre. After Emily's death, Charlotte edited the manuscript of Wuthering Heights and arranged for the edited version to be published as a posthumous second edition in 1850.";101;12;11.11;GBP;11 +207;Jane Eyre;"Jane Eyre /ɛər/ (originally published as Jane Eyre: An Autobiography) is a novel by English writer Charlotte Brontë, published under the pen name ""Currer Bell"", on 16 October 1847, by Smith, Elder & Co. of London. The first American edition was published the following year by Harper & Brothers of New York. Primarily a bildungsroman, Jane Eyre follows the experiences of its eponymous heroine, including her growth to adulthood and her love for Mr. Rochester, the brooding master of Thornfield Hall. The novel revolutionised prose fiction in that the focus on Jane's moral and spiritual development is told through an intimate, first-person narrative, where actions and events are coloured by a psychological intensity. The book contains elements of social criticism, with a strong sense of Christian morality at its core and is considered by many to be ahead of its time because of Jane's individualistic character and how the novel approaches the topics of class, sexuality, religion and feminism.";107;11;12.34;GBP;11 +251;The Raven;"""The Raven"" is a narrative poem by American writer Edgar Allan Poe. First published in January 1845, the poem is often noted for its musicality, stylized language, and supernatural atmosphere. It tells of a talking raven's mysterious visit to a distraught lover, tracing the man's slow fall into madness. The lover, often identified as being a student, is lamenting the loss of his love, Lenore. Sitting on a bust of Pallas, the raven seems to further distress the protagonist with its constant repetition of the word ""Nevermore"". The poem makes use of folk, mythological, religious, and classical references.";150;333;13.13;USD;16 +252;Eleonora;"""Eleonora"" is a short story by Edgar Allan Poe, first published in 1842 in Philadelphia in the literary annual The Gift. It is often regarded as somewhat autobiographical and has a relatively ""happy"" ending.";150;555;14;USD;16 +271;Catweazle;Catweazle is a British fantasy television series, starring Geoffrey Bayldon in the title role, and created by Richard Carpenter for London Weekend Television. The first series, produced and directed by Quentin Lawrence, was screened in the UK on ITV in 1970. The second series, directed by David Reid and David Lane, was shown in 1971. Each series had thirteen episodes, most but not all written by Carpenter, who also published two books based on the scripts.;170;22;15;EUR;13 \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.capire.bookshop-Books.hdbtabledata b/gen/db/src/gen/data/sap.capire.bookshop-Books.hdbtabledata new file mode 100644 index 00000000..8df7dca4 --- /dev/null +++ b/gen/db/src/gen/data/sap.capire.bookshop-Books.hdbtabledata @@ -0,0 +1,39 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "SAP_CAPIRE_BOOKSHOP_BOOKS", + "source_data": { + "data_type": "CSV", + "file_name": "sap.capire.bookshop-Books.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "ID", + "TITLE", + "DESCR", + "AUTHOR_ID", + "STOCK", + "PRICE", + "CURRENCY_CODE", + "GENRE_ID" + ], + "include_filter": [] + }, + "column_mappings": { + "ID": "ID", + "TITLE": "title", + "DESCR": "descr", + "AUTHOR_ID": "author_ID", + "STOCK": "stock", + "PRICE": "price", + "CURRENCY_CODE": "currency_code", + "GENRE_ID": "genre_ID" + } + } + ] +} \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.capire.bookshop-Genres.csv b/gen/db/src/gen/data/sap.capire.bookshop-Genres.csv new file mode 100644 index 00000000..1ea3793b --- /dev/null +++ b/gen/db/src/gen/data/sap.capire.bookshop-Genres.csv @@ -0,0 +1,16 @@ +ID;parent_ID;name +10;;Fiction +11;10;Drama +12;10;Poetry +13;10;Fantasy +14;10;Science Fiction +15;10;Romance +16;10;Mystery +17;10;Thriller +18;10;Dystopia +19;10;Fairy Tale +20;;Non-Fiction +21;20;Biography +22;21;Autobiography +23;20;Essay +24;20;Speech diff --git a/gen/db/src/gen/data/sap.capire.bookshop-Genres.hdbtabledata b/gen/db/src/gen/data/sap.capire.bookshop-Genres.hdbtabledata new file mode 100644 index 00000000..192f5723 --- /dev/null +++ b/gen/db/src/gen/data/sap.capire.bookshop-Genres.hdbtabledata @@ -0,0 +1,29 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "SAP_CAPIRE_BOOKSHOP_GENRES", + "source_data": { + "data_type": "CSV", + "file_name": "sap.capire.bookshop-Genres.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "ID", + "PARENT_ID", + "NAME" + ], + "include_filter": [] + }, + "column_mappings": { + "ID": "ID", + "PARENT_ID": "parent_ID", + "NAME": "name" + } + } + ] +} \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.capire.orders-Orders.csv b/gen/db/src/gen/data/sap.capire.orders-Orders.csv new file mode 100644 index 00000000..dec45190 --- /dev/null +++ b/gen/db/src/gen/data/sap.capire.orders-Orders.csv @@ -0,0 +1,3 @@ +ID;createdAt;createdBy;buyer;OrderNo;currency_code;Z_Customer_ID;Z_priority;Z_SalesRegion_regionCode +7e2f2640-6866-4dcf-8f4d-3027aa831cad;2019-01-31;john.doe@test.com;john.doe@test.com;1;EUR;8e2f2640-6866-4dcf-8f4d-3027aa831cad;high;EMEA +64e718c9-ff99-47f1-8ca3-950c850777d4;2019-01-30;jane.doe@test.com;jane.doe@test.com;2;EUR;74e718c9-ff99-47f1-8ca3-950c850777d4;low;APJ \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.capire.orders-Orders.hdbtabledata b/gen/db/src/gen/data/sap.capire.orders-Orders.hdbtabledata new file mode 100644 index 00000000..2b15924c --- /dev/null +++ b/gen/db/src/gen/data/sap.capire.orders-Orders.hdbtabledata @@ -0,0 +1,41 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "SAP_CAPIRE_ORDERS_ORDERS", + "source_data": { + "data_type": "CSV", + "file_name": "sap.capire.orders-Orders.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "ID", + "CREATEDAT", + "CREATEDBY", + "BUYER", + "ORDERNO", + "CURRENCY_CODE", + "Z_CUSTOMER_ID", + "Z_PRIORITY", + "Z_SALESREGION_REGIONCODE" + ], + "include_filter": [] + }, + "column_mappings": { + "ID": "ID", + "CREATEDAT": "createdAt", + "CREATEDBY": "createdBy", + "BUYER": "buyer", + "ORDERNO": "OrderNo", + "CURRENCY_CODE": "currency_code", + "Z_CUSTOMER_ID": "Z_Customer_ID", + "Z_PRIORITY": "Z_priority", + "Z_SALESREGION_REGIONCODE": "Z_SalesRegion_regionCode" + } + } + ] +} \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.capire.orders-Orders_Items.csv b/gen/db/src/gen/data/sap.capire.orders-Orders_Items.csv new file mode 100644 index 00000000..b3025abe --- /dev/null +++ b/gen/db/src/gen/data/sap.capire.orders-Orders_Items.csv @@ -0,0 +1,4 @@ +ID;up__ID;amount;product_ID;title;price +58040e66-1dcd-4ffb-ab10-fdce32028b79;7e2f2640-6866-4dcf-8f4d-3027aa831cad;1;201;Wuthering Heights;11.11 +64e718c9-ff99-47f1-8ca3-950c850777d4;7e2f2640-6866-4dcf-8f4d-3027aa831cad;1;271;Catweazle;15 +e9641166-e050-4261-bfee-d1e797e6cb7f;64e718c9-ff99-47f1-8ca3-950c850777d4;2;252;Eleonora;28 \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.capire.orders-Orders_Items.hdbtabledata b/gen/db/src/gen/data/sap.capire.orders-Orders_Items.hdbtabledata new file mode 100644 index 00000000..e65a2bf8 --- /dev/null +++ b/gen/db/src/gen/data/sap.capire.orders-Orders_Items.hdbtabledata @@ -0,0 +1,35 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "SAP_CAPIRE_ORDERS_ORDERS_ITEMS", + "source_data": { + "data_type": "CSV", + "file_name": "sap.capire.orders-Orders_Items.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "ID", + "UP__ID", + "AMOUNT", + "PRODUCT_ID", + "TITLE", + "PRICE" + ], + "include_filter": [] + }, + "column_mappings": { + "ID": "ID", + "UP__ID": "up__ID", + "AMOUNT": "amount", + "PRODUCT_ID": "product_ID", + "TITLE": "title", + "PRICE": "price" + } + } + ] +} \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.common-Countries.csv b/gen/db/src/gen/data/sap.common-Countries.csv new file mode 100644 index 00000000..6614e27a --- /dev/null +++ b/gen/db/src/gen/data/sap.common-Countries.csv @@ -0,0 +1,12 @@ +code;name;descr +AU;Australia;Commonwealth of Australia +CA;Canada;Canada +CN;China;People's Republic of China (PRC) +FR;France;French Republic +DE;Germany;Federal Republic of Germany +IN;India;Republic of India +IL;Israel;State of Israel +MM;Myanmar;Republic of the Union of Myanmar +GB;United Kingdom;United Kingdom of Great Britain and Northern Ireland +US;United States;United States of America (USA) +EU;European Union;European Union \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.common-Countries.hdbtabledata b/gen/db/src/gen/data/sap.common-Countries.hdbtabledata new file mode 100644 index 00000000..2a26e2f6 --- /dev/null +++ b/gen/db/src/gen/data/sap.common-Countries.hdbtabledata @@ -0,0 +1,29 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "SAP_COMMON_COUNTRIES", + "source_data": { + "data_type": "CSV", + "file_name": "sap.common-Countries.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "CODE", + "NAME", + "DESCR" + ], + "include_filter": [] + }, + "column_mappings": { + "CODE": "code", + "NAME": "name", + "DESCR": "descr" + } + } + ] +} \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.common-Currencies.csv b/gen/db/src/gen/data/sap.common-Currencies.csv new file mode 100644 index 00000000..efe4538e --- /dev/null +++ b/gen/db/src/gen/data/sap.common-Currencies.csv @@ -0,0 +1,12 @@ +code;symbol;name;descr;numcode;minor;exponent +EUR;€;Euro;European Euro;978;Cent;2 +USD;$;US Dollar;United States Dollar;840;Cent;2 +CAD;$;Canadian Dollar;Canadian Dollar;124;Cent;2 +AUD;$;Australian Dollar;Australian Dollar;036;Cent;2 +GBP;£;British Pound;Great Britain Pound;826;Penny;2 +ILS;₪;Shekel;Israeli New Shekel;376;Agorat;2 +INR;₹;Rupee;Indian Rupee;356;Paise;2 +QAR;﷼;Riyal;Katar Riyal;356;Dirham;2 +SAR;﷼;Riyal;Saudi Riyal;682;Halala;2 +JPY;¥;Yen;Japanese Yen;392;Sen;2 +CNY;¥;Yuan;Chinese Yuan Renminbi;156;Jiao;1 \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.common-Currencies.hdbtabledata b/gen/db/src/gen/data/sap.common-Currencies.hdbtabledata new file mode 100644 index 00000000..200035e5 --- /dev/null +++ b/gen/db/src/gen/data/sap.common-Currencies.hdbtabledata @@ -0,0 +1,37 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "SAP_COMMON_CURRENCIES", + "source_data": { + "data_type": "CSV", + "file_name": "sap.common-Currencies.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "CODE", + "SYMBOL", + "NAME", + "DESCR", + "NUMCODE", + "MINOR", + "EXPONENT" + ], + "include_filter": [] + }, + "column_mappings": { + "CODE": "code", + "SYMBOL": "symbol", + "NAME": "name", + "DESCR": "descr", + "NUMCODE": "numcode", + "MINOR": "minor", + "EXPONENT": "exponent" + } + } + ] +} \ No newline at end of file diff --git a/gen/db/src/gen/data/sap.common-Languages.csv b/gen/db/src/gen/data/sap.common-Languages.csv new file mode 100644 index 00000000..17350b35 --- /dev/null +++ b/gen/db/src/gen/data/sap.common-Languages.csv @@ -0,0 +1,5 @@ +code;name +de;German +fr;French +en;English +en_GB;British English diff --git a/gen/db/src/gen/data/sap.common-Languages.hdbtabledata b/gen/db/src/gen/data/sap.common-Languages.hdbtabledata new file mode 100644 index 00000000..0b75f1b9 --- /dev/null +++ b/gen/db/src/gen/data/sap.common-Languages.hdbtabledata @@ -0,0 +1,27 @@ +{ + "format_version": 1, + "imports": [ + { + "target_table": "SAP_COMMON_LANGUAGES", + "source_data": { + "data_type": "CSV", + "file_name": "sap.common-Languages.csv", + "has_header": true, + "type_config": { + "delimiter": ";" + } + }, + "import_settings": { + "import_columns": [ + "CODE", + "NAME" + ], + "include_filter": [] + }, + "column_mappings": { + "CODE": "code", + "NAME": "name" + } + } + ] +} \ No newline at end of file diff --git a/gen/srv/manifest.yml b/gen/srv/manifest.yml deleted file mode 100644 index 5c8bd2aa..00000000 --- a/gen/srv/manifest.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -applications: - - name: multitenancy-srv - path: . - memory: 256M - buildpacks: - - nodejs_buildpack - services: diff --git a/gen/srv/package.json b/gen/srv/package.json deleted file mode 100644 index 8f3ac537..00000000 --- a/gen/srv/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "multitenancy", - "version": "0.1.0", - "description": "cds extension project", - "dependencies": {} -} \ No newline at end of file diff --git a/gen/srv/srv/_i18n/i18n.json b/gen/srv/srv/_i18n/i18n.json deleted file mode 100644 index 87b516b6..00000000 --- a/gen/srv/srv/_i18n/i18n.json +++ /dev/null @@ -1,1302 +0,0 @@ -{ - "": { - "CreatedBy": "Created By", - "CreatedAt": "Created On", - "ChangedBy": "Changed By", - "ChangedAt": "Changed On", - "Currency": "Currency", - "CurrencyCode": "Currency Code", - "CurrencyCode.Description": "A currency code as specified in ISO 4217", - "CurrencySymbol": "Currency Symbol", - "Country": "Country", - "CountryCode": "Country Code", - "CountryCode.Description": "A country code as specified in ISO 3166-1", - "Language": "Language", - "LanguageCode": "Language Code", - "LanguageCode.Description": "A language code as specified in ISO 639-1", - "UserID": "User ID", - "Name": "Name", - "Description": "Description", - "UserID.Description": "A user's unique ID", - "Draft_DraftAdministrativeData": "Draft Administrative Data", - "Draft_DraftUUID": "Draft (Technical ID)", - "Draft_CreationDateTime": "Draft Created On", - "Draft_CreatedByUser": "Draft Created By", - "Draft_DraftIsCreatedByMe": "Draft Created By Me", - "Draft_LastChangeDateTime": "Draft Last Changed On", - "Draft_LastChangedByUser": "Draft Last Changed By", - "Draft_InProcessByUser": "Draft In Process By", - "Draft_DraftIsProcessedByMe": "Draft In Process By Me", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "ar": { - "CreatedBy": "تم الإنشاء بواسطة", - "CreatedAt": "تاريخ الإنشاء", - "ChangedBy": "تم التغيير بواسطة", - "ChangedAt": "تاريخ التغيير", - "Currency": "العملة", - "CurrencyCode": "رمز العملة", - "CurrencyCode.Description": "رمز العملة المحدد حسب ISO 4217", - "CurrencySymbol": "رمز العملة", - "Country": "الدولة", - "CountryCode": "رمز الدولة", - "CountryCode.Description": "رمز الدولة المحدد حسب ISO 4217", - "Language": "اللغة", - "LanguageCode": "رمز اللغة", - "LanguageCode.Description": "رمز الدولة المحدد حسب ISO 639-1", - "UserID": "معرف المستخدم", - "Name": "الاسم", - "Description": "الوصف", - "UserID.Description": "معرف المستخدم الفريد", - "Draft_DraftAdministrativeData": "البيانات الإدارية للمسودة", - "Draft_DraftUUID": "مسودة (المعرف التقني)", - "Draft_CreationDateTime": "تاريخ إنشاء المسودة", - "Draft_CreatedByUser": "منشئ المسودة", - "Draft_DraftIsCreatedByMe": "تم إنشاء المسودة بواسطتي", - "Draft_LastChangeDateTime": "تاريخ آخر تغيير للمسودة", - "Draft_LastChangedByUser": "آخر تغيير للمسودة بواسطة", - "Draft_InProcessByUser": "المسودة قيد المعالجة بواسطة", - "Draft_DraftIsProcessedByMe": "المسودة قيد المعالجة بواسطتي", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "cs": { - "CreatedBy": "Vytvořil", - "CreatedAt": "Vytvořeno dne", - "ChangedBy": "Autor změny", - "ChangedAt": "Změněno dne", - "Currency": "Měna", - "CurrencyCode": "Kód měny", - "CurrencyCode.Description": "Kód měny zadaný dle ISO 4217", - "CurrencySymbol": "Symbol měny", - "Country": "Stát", - "CountryCode": "Kód státu", - "CountryCode.Description": "Kód státu zadaný dle ISO 3166-1", - "Language": "Jazyk", - "LanguageCode": "Kód jazyka", - "LanguageCode.Description": "Kód jazyka zadaný dle ISO 639-1", - "UserID": "ID uživatele", - "Name": "Jméno", - "Description": "Popis", - "UserID.Description": "Jedinečné ID uživatele", - "Draft_DraftAdministrativeData": "Správní data návrhu", - "Draft_DraftUUID": "Návrh (technické ID)", - "Draft_CreationDateTime": "Návrh vytvořen dne", - "Draft_CreatedByUser": "Návrh vytvořil", - "Draft_DraftIsCreatedByMe": "Návrh vytvořen mnou", - "Draft_LastChangeDateTime": "Návrh naposledy změněn dne", - "Draft_LastChangedByUser": "Návrh naposledy změnil", - "Draft_InProcessByUser": "Návrh zpracovává", - "Draft_DraftIsProcessedByMe": "Návrh zpracovávaný mnou", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "da": { - "CreatedBy": "Oprettet af", - "CreatedAt": "Oprettet den", - "ChangedBy": "Ændret af", - "ChangedAt": "Ændret den", - "Currency": "Valuta", - "CurrencyCode": "Valutakode", - "CurrencyCode.Description": "Valutakode som angivet af ISO 4217", - "CurrencySymbol": "Valutasymbol", - "Country": "Land", - "CountryCode": "Landekode", - "CountryCode.Description": "Landekode som angivet af ISO 3166-1", - "Language": "Sprog", - "LanguageCode": "Sprogkode", - "LanguageCode.Description": "Sprogkode som angivet af ISO 639-1", - "UserID": "Bruger-ID", - "Name": "Navn", - "Description": "Beskrivelse", - "UserID.Description": "Brugers entydige ID", - "Draft_DraftAdministrativeData": "Udkast administrationsdata", - "Draft_DraftUUID": "Udkast (teknisk ID)", - "Draft_CreationDateTime": "Udkast oprettet den", - "Draft_CreatedByUser": "Udkast oprettet af", - "Draft_DraftIsCreatedByMe": "Udkast oprettet af mig", - "Draft_LastChangeDateTime": "Udkast senest ændret den", - "Draft_LastChangedByUser": "Udkast senest ændret af", - "Draft_InProcessByUser": "Udkast behandles af", - "Draft_DraftIsProcessedByMe": "Udkast behandles af mig", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "de": { - "CreatedBy": "Angelegt von", - "CreatedAt": "Angelegt am", - "ChangedBy": "Geändert von", - "ChangedAt": "Geändert am", - "Currency": "Währung", - "CurrencyCode": "Währungscode", - "CurrencyCode.Description": "Währungscode gemäß ISO 4217", - "CurrencySymbol": "Währungssymbol", - "Country": "Land", - "CountryCode": "Ländercode", - "CountryCode.Description": "Ländercode gemäß ISO 3166-1", - "Language": "Sprache", - "LanguageCode": "Sprachencode", - "LanguageCode.Description": "Sprachencode gemäß ISO 639-1", - "UserID": "Benutzer-ID", - "Name": "Name", - "Description": "Beschreibung", - "UserID.Description": "Die eindeutige ID eines Benutzers", - "Draft_DraftAdministrativeData": "Verwaltungsdaten des Entwurfs", - "Draft_DraftUUID": "Entwurf (technische ID)", - "Draft_CreationDateTime": "Entwurf angelegt am", - "Draft_CreatedByUser": "Entwurf angelegt von", - "Draft_DraftIsCreatedByMe": "Entwurf angelegt von mir", - "Draft_LastChangeDateTime": "Entwurf zuletzt geändert am", - "Draft_LastChangedByUser": "Entwurf zuletzt geändert von", - "Draft_InProcessByUser": "Entwurf in Bearbeitung durch", - "Draft_DraftIsProcessedByMe": "Entwurf in Bearbeitung durch mich", - "Books": "Bücher", - "Book": "Buch", - "ID": "ID", - "Title": "Titel", - "Author": "Autor", - "AuthorID": "ID des Autors", - "Stock": "Bestand", - "AuthorName": "Name des Autors", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Alter", - "Authors": "Autoren", - "Order": "Bestellung", - "Orders": "Bestellungen", - "Price": "Preis", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "en": { - "CreatedBy": "Created By", - "CreatedAt": "Created On", - "ChangedBy": "Changed By", - "ChangedAt": "Changed On", - "Currency": "Currency", - "CurrencyCode": "Currency Code", - "CurrencyCode.Description": "Currency code as specified by ISO 4217", - "CurrencySymbol": "Currency Symbol", - "Country": "Country", - "CountryCode": "Country Code", - "CountryCode.Description": "Country code as specified by ISO 3166-1", - "Language": "Language", - "LanguageCode": "Language Code", - "LanguageCode.Description": "Language code as specified by ISO 639-1", - "UserID": "User ID", - "Name": "Name", - "Description": "Description", - "UserID.Description": "User's unique ID", - "Draft_DraftAdministrativeData": "Draft Administrative Data", - "Draft_DraftUUID": "Draft (Technical ID)", - "Draft_CreationDateTime": "Draft Created On", - "Draft_CreatedByUser": "Draft Created By", - "Draft_DraftIsCreatedByMe": "Draft Created By Me", - "Draft_LastChangeDateTime": "Draft Last Changed On", - "Draft_LastChangedByUser": "Draft Last Changed By", - "Draft_InProcessByUser": "Draft In Process By", - "Draft_DraftIsProcessedByMe": "Draft In Process By Me", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "es": { - "CreatedBy": "Creado por", - "CreatedAt": "Fecha de creación", - "ChangedBy": "Modificado por", - "ChangedAt": "Modificado el", - "Currency": "Moneda", - "CurrencyCode": "Código de moneda", - "CurrencyCode.Description": "Código de moneda según especificado por ISO 4217", - "CurrencySymbol": "Símbolo de moneda", - "Country": "País", - "CountryCode": "Código de país", - "CountryCode.Description": "Código de país según especificado por ISO 3166-1", - "Language": "Idioma", - "LanguageCode": "Código de idioma", - "LanguageCode.Description": "Código de idioma según especificado por ISO 639-1", - "UserID": "ID de usuario", - "Name": "Nombre", - "Description": "Descripción", - "UserID.Description": "ID único de usuario", - "Draft_DraftAdministrativeData": "Datos administrativos en borrador", - "Draft_DraftUUID": "Borrador (ID técnico)", - "Draft_CreationDateTime": "Borrador creado el", - "Draft_CreatedByUser": "Borrador creado por", - "Draft_DraftIsCreatedByMe": "Borrador creado por mí", - "Draft_LastChangeDateTime": "Fecha del último cambio en borrador", - "Draft_LastChangedByUser": "Autor del último cambio en borrador", - "Draft_InProcessByUser": "Borrador en proceso por", - "Draft_DraftIsProcessedByMe": "Borrador en proceso por mí", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "fi": { - "CreatedBy": "Tekijä", - "CreatedAt": "Luontipäivämäärä", - "ChangedBy": "Muuttaja", - "ChangedAt": "Muutospäivämäärä", - "Currency": "Valuutta", - "CurrencyCode": "Valuuttakoodi", - "CurrencyCode.Description": "ISO 4217:n mukainen valuuttakoodi", - "CurrencySymbol": "Valuuttatunnus", - "Country": "Maa", - "CountryCode": "Maakoodi", - "CountryCode.Description": "ISO 3166-1:n mukainen maakoodi", - "Language": "Kieli", - "LanguageCode": "Kielikoodi", - "LanguageCode.Description": "ISO 639-1:n mukainen kielikoodi", - "UserID": "Käyttäjätunnus", - "Name": "Nimi", - "Description": "Kuvaus", - "UserID.Description": "Käyttäjän yksiselitteinen tunnus", - "Draft_DraftAdministrativeData": "Luonnoksen hallintatiedot", - "Draft_DraftUUID": "Luonnos (tekninen tunnus)", - "Draft_CreationDateTime": "Luonnos luotu", - "Draft_CreatedByUser": "Luonnoksen tekijä", - "Draft_DraftIsCreatedByMe": "Luonnos minun tekemäni", - "Draft_LastChangeDateTime": "Luonnosta muutettu viimeksi", - "Draft_LastChangedByUser": "Luonnoksen viimeisin muuttaja", - "Draft_InProcessByUser": "Luonnos käsiteltävänä -", - "Draft_DraftIsProcessedByMe": "Luonnos minun käsiteltävänäni", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "fr": { - "CreatedBy": "Créé(e) par", - "CreatedAt": "Créé(e) le", - "ChangedBy": "Modifié(e) par", - "ChangedAt": "Modifié(e) le", - "Currency": "Devise", - "CurrencyCode": "Code de devise", - "CurrencyCode.Description": "Code de devise tel qu'indiqué par ISO 4217", - "CurrencySymbol": "Symbole de devise", - "Country": "Pays", - "CountryCode": "Code pays", - "CountryCode.Description": "Code pays tel qu'indiqué par ISO 3166-1", - "Language": "Langue", - "LanguageCode": "Code langue", - "LanguageCode.Description": "Code langue tel qu'indiqué par ISO 639-1", - "UserID": "ID utilisateur", - "Name": "Nom", - "Description": "Description", - "UserID.Description": "ID unique de l'utilisateur", - "Draft_DraftAdministrativeData": "Données administratives préliminaires", - "Draft_DraftUUID": "Version préliminaire (ID technique)", - "Draft_CreationDateTime": "Version préliminaire créée le", - "Draft_CreatedByUser": "Version préliminaire créée par", - "Draft_DraftIsCreatedByMe": "Version préliminaire créée par moi", - "Draft_LastChangeDateTime": "Dernière modification de la version préliminaire le", - "Draft_LastChangedByUser": "Dernière modification de la version préliminaire par", - "Draft_InProcessByUser": "Version préliminaire en cours de traitement par", - "Draft_DraftIsProcessedByMe": "Version préliminaire en cours de traitement par moi", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "hu": { - "CreatedBy": "Létrehozó:", - "CreatedAt": "Létrehozás dátuma", - "ChangedBy": "Módosító", - "ChangedAt": "Módosítás dátuma", - "Currency": "Pénznem", - "CurrencyCode": "Pénznem kódja", - "CurrencyCode.Description": "Pénznem kódja ISO 4217 szerint", - "CurrencySymbol": "Pénznem szimbóluma", - "Country": "Ország", - "CountryCode": "Országkód", - "CountryCode.Description": "Pénznem kódja ISO 3166-1 szerint", - "Language": "Nyelv", - "LanguageCode": "Nyelvkód", - "LanguageCode.Description": "Pénznem kódja ISO 639-1 szerint", - "UserID": "Felhasználóazonosító", - "Name": "Név", - "Description": "Leírás", - "UserID.Description": "Felhasználó egyedi azonosítója", - "Draft_DraftAdministrativeData": "Adminisztrációs adatok - tervezet", - "Draft_DraftUUID": "Tervezet (műszaki azonosító)", - "Draft_CreationDateTime": "Tervezet létrehozásának dátuma", - "Draft_CreatedByUser": "Tervezet létrehozója", - "Draft_DraftIsCreatedByMe": "Általam létrehozott tervezet", - "Draft_LastChangeDateTime": "Tervezet utolsó módosításának dátuma", - "Draft_LastChangedByUser": "Tervezet utolsó módosítója", - "Draft_InProcessByUser": "Tervezet feldolgozás alatt, feldolgozó neve", - "Draft_DraftIsProcessedByMe": "Tervezet feldolgozás alatt általam", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "it": { - "CreatedBy": "Autore creazione", - "CreatedAt": "Data di creazione", - "ChangedBy": "Autore modifica", - "ChangedAt": "Data di modifica", - "Currency": "Divisa", - "CurrencyCode": "Codice divisa", - "CurrencyCode.Description": "Codice divisa come indicato da ISO 4217", - "CurrencySymbol": "Simbolo divisa", - "Country": "Paese", - "CountryCode": "Codice paese", - "CountryCode.Description": "Codice paese come indicato da ISO 3166-1", - "Language": "Lingua", - "LanguageCode": "Codice lingua", - "LanguageCode.Description": "Codice lingua come indicato da ISO 639-1", - "UserID": "ID utente", - "Name": "Nome", - "Description": "Descrizione", - "UserID.Description": "ID univoco utente", - "Draft_DraftAdministrativeData": "Dati amministrativi bozza", - "Draft_DraftUUID": "Bozza (ID tecnico)", - "Draft_CreationDateTime": "Data di creazione bozza", - "Draft_CreatedByUser": "Autore creazione bozza", - "Draft_DraftIsCreatedByMe": "Bozza creata da me", - "Draft_LastChangeDateTime": "Ultima modifica bozza", - "Draft_LastChangedByUser": "Autore dell'ultima modifica bozza", - "Draft_InProcessByUser": "Bozza attualmente elaborata da", - "Draft_DraftIsProcessedByMe": "Bozza attualmente elaborata da me", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "ja": { - "CreatedBy": "登録者", - "CreatedAt": "作成時間", - "ChangedBy": "変更者", - "ChangedAt": "変更日付", - "Currency": "通貨", - "CurrencyCode": "通貨コード", - "CurrencyCode.Description": "ISO 4217 で指定されている通貨コード", - "CurrencySymbol": "通貨シンボル", - "Country": "国", - "CountryCode": "国コード", - "CountryCode.Description": "ISO 3166-1 で指定されている通貨コード", - "Language": "言語", - "LanguageCode": "言語コード", - "LanguageCode.Description": "ISO 639-1 で指定されている言語コード", - "UserID": "ユーザ ID", - "Name": "名前", - "Description": "説明", - "UserID.Description": "ユーザの一意の ID", - "Draft_DraftAdministrativeData": "ドラフト管理データ", - "Draft_DraftUUID": "ドラフト (技術 ID)", - "Draft_CreationDateTime": "ドラフト作成日付", - "Draft_CreatedByUser": "ドラフト作成者", - "Draft_DraftIsCreatedByMe": "自分が作成したドラフト", - "Draft_LastChangeDateTime": "ドラフト最終変更日付", - "Draft_LastChangedByUser": "ドラフト最終変更者", - "Draft_InProcessByUser": "処理中ドラフトの処理者", - "Draft_DraftIsProcessedByMe": "自分が処理しているドラフト", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "ko": { - "CreatedBy": "생성자", - "CreatedAt": "생성일", - "ChangedBy": "변경자", - "ChangedAt": "변경일", - "Currency": "통화", - "CurrencyCode": "통화 코드", - "CurrencyCode.Description": "ISO 4217에서 지정한 통화 코드", - "CurrencySymbol": "통화 기호", - "Country": "국가", - "CountryCode": "국가 코드", - "CountryCode.Description": "ISO 3166-1에서 지정한 국가 코드", - "Language": "언어", - "LanguageCode": "언어 코드", - "LanguageCode.Description": "ISO 639-1에서 지정한 언어 코드", - "UserID": "사용자 ID", - "Name": "이름", - "Description": "내역", - "UserID.Description": "사용자 고유 ID", - "Draft_DraftAdministrativeData": "드래프트 관리 데이터", - "Draft_DraftUUID": "드래프트(기술 ID)", - "Draft_CreationDateTime": "드래프트 생성일", - "Draft_CreatedByUser": "드래프트 생성자", - "Draft_DraftIsCreatedByMe": "내가 생성한 드래프트", - "Draft_LastChangeDateTime": "드래프트 최종 변경일", - "Draft_LastChangedByUser": "드래프트 최종 변경자", - "Draft_InProcessByUser": "드래프트 처리 중인 사용자", - "Draft_DraftIsProcessedByMe": "내가 처리 중인 드래프트", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "ms": { - "CreatedBy": "Dicipta oleh", - "CreatedAt": "Dicipta pada", - "ChangedBy": "Diubah oleh", - "ChangedAt": "Diubah pada", - "Currency": "Mata Wang", - "CurrencyCode": "Kod Mata Wang", - "CurrencyCode.Description": "Kod mata wang seperti yang dinyatakan dalam ISO 4217", - "CurrencySymbol": "Simbol Mata Wang", - "Country": "Negara", - "CountryCode": "Kod Negara", - "CountryCode.Description": "Kod mata wang seperti yang dinyatakan dalam ISO 3166-1", - "Language": "Bahasa", - "LanguageCode": "Kod Bahasa", - "LanguageCode.Description": "Kod bahasa seperti yang dinyatakan dalam ISO 639-1", - "UserID": "ID Pengguna", - "Name": "Nama", - "Description": "Perihalan", - "UserID.Description": "ID unik pengguna", - "Draft_DraftAdministrativeData": "Data Pentadbiran Draf", - "Draft_DraftUUID": "Draf (ID Teknikal)", - "Draft_CreationDateTime": "Draf Dicipta pada", - "Draft_CreatedByUser": "Draf Dicipta oleh", - "Draft_DraftIsCreatedByMe": "Draf Dicipta oleh Saya", - "Draft_LastChangeDateTime": "Draf Terakhir Diubah pada", - "Draft_LastChangedByUser": "Draf Terakhir Diubah oleh", - "Draft_InProcessByUser": "Draf Sedang Diproses oleh", - "Draft_DraftIsProcessedByMe": "Draf Sedang Diproses oleh Saya", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "nl": { - "CreatedBy": "Gecreëerd door", - "CreatedAt": "Gecreëerd op", - "ChangedBy": "Gewijzigd door", - "ChangedAt": "Gewijzigd op", - "Currency": "Valuta", - "CurrencyCode": "Valutacode", - "CurrencyCode.Description": "Valutacode zoals gespecificeerd door ISO 4217", - "CurrencySymbol": "Valutasymbool", - "Country": "Land", - "CountryCode": "Landcode", - "CountryCode.Description": "Landcode zoals gespecificeerd door ISO 3166-1", - "Language": "Taal", - "LanguageCode": "Taalcode", - "LanguageCode.Description": "Taalcode zoals gespecificeerd door ISO 639-1", - "UserID": "Gebruikers-ID", - "Name": "Naam", - "Description": "Omschrijving", - "UserID.Description": "Unieke ID van gebruiker", - "Draft_DraftAdministrativeData": "Conceptbeheergegevens", - "Draft_DraftUUID": "Concept (technische ID)", - "Draft_CreationDateTime": "Concept gecreëerd op", - "Draft_CreatedByUser": "Concept gecreëerd door", - "Draft_DraftIsCreatedByMe": "Concept gecreëerd door mij", - "Draft_LastChangeDateTime": "Concept laatst gewijzigd op", - "Draft_LastChangedByUser": "Concept laatst gewijzigd door", - "Draft_InProcessByUser": "Concept wordt bewerkt door", - "Draft_DraftIsProcessedByMe": "Concept wordt bewerkt door mij", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "no": { - "CreatedBy": "Opprettet av", - "CreatedAt": "Opprettet den", - "ChangedBy": "Endret av", - "ChangedAt": "Endret den", - "Currency": "Valuta", - "CurrencyCode": "Valutakode", - "CurrencyCode.Description": "Valutakode som definert i ISO 4217", - "CurrencySymbol": "Valutasymbol", - "Country": "Land", - "CountryCode": "Landkode", - "CountryCode.Description": "Valutakode som definert i ISO 3166-1", - "Language": "Språk", - "LanguageCode": "Språkkode", - "LanguageCode.Description": "Språkkode som definert i ISO 639-1", - "UserID": "Bruker-ID", - "Name": "Navn", - "Description": "Beskrivelse", - "UserID.Description": "Brukerens unike ID", - "Draft_DraftAdministrativeData": "Administrative data for utkast", - "Draft_DraftUUID": "Utkast (teknisk ID)", - "Draft_CreationDateTime": "Utkast opprettet den", - "Draft_CreatedByUser": "Utkast opprettet av", - "Draft_DraftIsCreatedByMe": "Utkast opprettet av meg", - "Draft_LastChangeDateTime": "Utkast sist endret den", - "Draft_LastChangedByUser": "Utkast sist endret av", - "Draft_InProcessByUser": "Utkast under behandling av", - "Draft_DraftIsProcessedByMe": "Utkast under behandling av meg", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "pl": { - "CreatedBy": "Utworzone przez", - "CreatedAt": "Utworzono dnia", - "ChangedBy": "Zmienione przez", - "ChangedAt": "Zmieniono dnia", - "Currency": "Waluta", - "CurrencyCode": "Kod waluty", - "CurrencyCode.Description": "Kod waluty określony zgodnie z normą ISO 4217", - "CurrencySymbol": "Symbol waluty", - "Country": "Kraj", - "CountryCode": "Kod kraju", - "CountryCode.Description": "Kod kraju określony zgodnie z normą ISO 3166-1", - "Language": "Język", - "LanguageCode": "Kod języka", - "LanguageCode.Description": "Kod języka określony zgodnie z normą ISO 639-1", - "UserID": "Identyfikator użytkownika", - "Name": "Nazwa", - "Description": "Opis", - "UserID.Description": "Unikalny identyfikator użytkownika", - "Draft_DraftAdministrativeData": "Dane administracyjne wersji roboczej", - "Draft_DraftUUID": "Wersja robocza (identyfikator techniczny)", - "Draft_CreationDateTime": "Wersja robocza utworzona dnia", - "Draft_CreatedByUser": "Wersja robocza utworzona przez", - "Draft_DraftIsCreatedByMe": "Wersja robocza utworzona przeze mnie", - "Draft_LastChangeDateTime": "Wersja robocza ostatnio zmieniona dnia", - "Draft_LastChangedByUser": "Wersja robocza ostatnio zmieniona przez", - "Draft_InProcessByUser": "Wersja robocza w przetwarzaniu przez", - "Draft_DraftIsProcessedByMe": "Wersja robocza w przetwarzaniu przeze mnie", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "pt": { - "CreatedBy": "Criado por", - "CreatedAt": "Criado em", - "ChangedBy": "Modificado por", - "ChangedAt": "Modificado em", - "Currency": "Moeda", - "CurrencyCode": "Código de moeda", - "CurrencyCode.Description": "Código de moeda como especificado pelo ISO 4217", - "CurrencySymbol": "Símbolo da moeda", - "Country": "País", - "CountryCode": "Código do país", - "CountryCode.Description": "Código do país como especificado pelo ISO 3166-1", - "Language": "Idioma", - "LanguageCode": "Código de idioma", - "LanguageCode.Description": "Código de idioma como especificado pelo ISO 639-1", - "UserID": "ID do usuário", - "Name": "Nome", - "Description": "Descrição", - "UserID.Description": "ID exclusivo do usuário", - "Draft_DraftAdministrativeData": "Dados administrativos de rascunho", - "Draft_DraftUUID": "Rascunho (ID técnico)", - "Draft_CreationDateTime": "Rascunho criado em", - "Draft_CreatedByUser": "Rascunho criado por", - "Draft_DraftIsCreatedByMe": "Rascunho criado por mim", - "Draft_LastChangeDateTime": "Última modificação do rascunho em", - "Draft_LastChangedByUser": "Última modificação do rascunho por", - "Draft_InProcessByUser": "Rascunho sendo processado por", - "Draft_DraftIsProcessedByMe": "Rascunho sendo processado por mim", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "ro": { - "CreatedBy": "Creat de", - "CreatedAt": "Creat pe", - "ChangedBy": "Modificat de", - "ChangedAt": "Modificat pe", - "Currency": "Monedă", - "CurrencyCode": "Cod monedă", - "CurrencyCode.Description": "Cod monedă așa cum este specificat de ISO 4217", - "CurrencySymbol": "Simbol monedă", - "Country": "Țară", - "CountryCode": "Cod de țară", - "CountryCode.Description": "Cod de țară așa cum este specificat de ISO 3166-1", - "Language": "Limbă", - "LanguageCode": "Cod de limbă", - "LanguageCode.Description": "Cod de limbă așa cum este specificat de ISO 639-1", - "UserID": "ID utilizator", - "Name": "Nume", - "Description": "Descriere", - "UserID.Description": "ID unic utilizator", - "Draft_DraftAdministrativeData": "Date de administrare în versiune preliminară", - "Draft_DraftUUID": "Versiune preliminară (ID tehnic)", - "Draft_CreationDateTime": "Versiune preliminară creată pe", - "Draft_CreatedByUser": "Versiune preliminară creată de", - "Draft_DraftIsCreatedByMe": "Versiune preliminară creată de mine", - "Draft_LastChangeDateTime": "Versiune preliminară modificată ultima dată pe", - "Draft_LastChangedByUser": "Versiune preliminară modificată ultima dată de", - "Draft_InProcessByUser": "Versiune preliminară în prelucrare de", - "Draft_DraftIsProcessedByMe": "Versiune preliminară în prelucrare de mine", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "ru": { - "CreatedBy": "Создал", - "CreatedAt": "Дата создания", - "ChangedBy": "Автор изменения", - "ChangedAt": "Дата изменения", - "Currency": "Валюта", - "CurrencyCode": "Код валюты", - "CurrencyCode.Description": "Код валюты в соответствии с ISO 4217", - "CurrencySymbol": "Символ валюты", - "Country": "Страна", - "CountryCode": "Код страны", - "CountryCode.Description": "Код страны в соответствии с ISO 3166-1", - "Language": "Язык", - "LanguageCode": "Код языка", - "LanguageCode.Description": "Код языка в соответствии с ISO 639-1", - "UserID": "Ид. пользователя", - "Name": "Имя", - "Description": "Описание", - "UserID.Description": "Уникальный ид. пользователя", - "Draft_DraftAdministrativeData": "Черновик административных данных", - "Draft_DraftUUID": "Черновик (технический ид.)", - "Draft_CreationDateTime": "Дата создания черновика", - "Draft_CreatedByUser": "Создал черновик", - "Draft_DraftIsCreatedByMe": "Черновик создан мной", - "Draft_LastChangeDateTime": "Дата последнего изменения черновика", - "Draft_LastChangedByUser": "Изменил черновик", - "Draft_InProcessByUser": "Обрабатывает черновик", - "Draft_DraftIsProcessedByMe": "Черновик обрабатывается мной", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "sv": { - "CreatedBy": "Uppläggning av", - "CreatedAt": "Uppläggning den", - "ChangedBy": "Ändring av", - "ChangedAt": "Ändring den", - "Currency": "Valuta", - "CurrencyCode": "Valutakod", - "CurrencyCode.Description": "Valutakod enligt ISO 4217", - "CurrencySymbol": "Valutasymbol", - "Country": "Land", - "CountryCode": "Landskod", - "CountryCode.Description": "Landskod enligt ISO 3166-1", - "Language": "Språk", - "LanguageCode": "Språkkod", - "LanguageCode.Description": "Språkkod enligt ISO 639-1", - "UserID": "Användar-ID", - "Name": "Namn", - "Description": "Beskrivning", - "UserID.Description": "Unik användar-ID", - "Draft_DraftAdministrativeData": "Utkast för administrativa data", - "Draft_DraftUUID": "Utkast (teknisk ID)", - "Draft_CreationDateTime": "Utkast skapat den", - "Draft_CreatedByUser": "Utkast skapat av", - "Draft_DraftIsCreatedByMe": "Utkast skapat av mig", - "Draft_LastChangeDateTime": "Senaste utkaständring den", - "Draft_LastChangedByUser": "Senaste utkaständring av", - "Draft_InProcessByUser": "Utkast under bearbetning av", - "Draft_DraftIsProcessedByMe": "Utkast under bearbetning av mig", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "th": { - "CreatedBy": "สร้างโดย", - "CreatedAt": "สร้างเมื่อ", - "ChangedBy": "เปลี่ยนแปลงโดย", - "ChangedAt": "เปลี่ยนแปลงเมื่อ", - "Currency": "สกุลเงิน", - "CurrencyCode": "รหัสสกุลเงิน", - "CurrencyCode.Description": "รหัสสกุลเงินตามที่ระบุใน ISO 4217", - "CurrencySymbol": "สัญลักษณ์สกุลเงิน", - "Country": "ประเทศ", - "CountryCode": "รหัสประเทศ", - "CountryCode.Description": "รหัสประเทศตามที่ระบุใน ISO 3166-1", - "Language": "ภาษา", - "LanguageCode": "รหัสภาษา", - "LanguageCode.Description": "รหัสภาษาตามที่ระบุใน ISO 639-1", - "UserID": "ID ผู้ใช้", - "Name": "ชื่อ", - "Description": "คำอธิบาย", - "UserID.Description": "ID ที่ไม่ซ้ำของผู้ใช้", - "Draft_DraftAdministrativeData": "ข้อมูลด้านการบริหารสำหรับแบบร่าง", - "Draft_DraftUUID": "แบบร่าง (ID ทางเทคนิค)", - "Draft_CreationDateTime": "สร้างแบบร่างเมื่อ", - "Draft_CreatedByUser": "สร้างแบบร่างโดย", - "Draft_DraftIsCreatedByMe": "แบบร่างที่ฉันสร้างขึ้น", - "Draft_LastChangeDateTime": "เปลี่ยนแปลงแบบร่างครั้งล่าสุดเมื่อ", - "Draft_LastChangedByUser": "เปลี่ยนแปลงแบบร่างครั้งล่าสุดโดย", - "Draft_InProcessByUser": "แบบร่างอยู่ระหว่างดำเนินการโดย", - "Draft_DraftIsProcessedByMe": "แบบร่างที่ฉันกำลังดำเนินการ", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "tr": { - "CreatedBy": "Oluşturan", - "CreatedAt": "Oluşturma tarihi", - "ChangedBy": "Değiştiren", - "ChangedAt": "Değişiklik tarihi", - "Currency": "Para birimi", - "CurrencyCode": "Para birimi kodu", - "CurrencyCode.Description": "ISO 4217 tarafından belirtilen para birimi kodu", - "CurrencySymbol": "Para birimi sembolü", - "Country": "Ülke", - "CountryCode": "Ülke kodu", - "CountryCode.Description": "ISO 3166-1 tarafından belirtilen ülke kodu", - "Language": "Dil", - "LanguageCode": "Dil kodu", - "LanguageCode.Description": "ISO 639-1 tarafından belirtilen dil kodu", - "UserID": "Kullanıcı tanıtıcısı", - "Name": "Ad", - "Description": "Tanım", - "UserID.Description": "Kullanıcının benzersiz tanıtıcısı", - "Draft_DraftAdministrativeData": "Taslak yönetim verileri", - "Draft_DraftUUID": "Taslak (teknik tanıtıcı)", - "Draft_CreationDateTime": "Taslak oluşturma tarihi", - "Draft_CreatedByUser": "Taslağı oluşturan", - "Draft_DraftIsCreatedByMe": "Tarafımdan oluşturulan taslak", - "Draft_LastChangeDateTime": "Taslağın son değişiklik tarihi", - "Draft_LastChangedByUser": "Taslağı son değiştiren", - "Draft_InProcessByUser": "Taslağı işleyen", - "Draft_DraftIsProcessedByMe": "Tarafımdan işlenen taslak", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "zh_CN": { - "CreatedBy": "创建者", - "CreatedAt": "创建日期", - "ChangedBy": "更改者", - "ChangedAt": "更改日期", - "Currency": "货币", - "CurrencyCode": "货币代码", - "CurrencyCode.Description": "ISO 4217 指定的货币代码", - "CurrencySymbol": "货币符号", - "Country": "国家/地区", - "CountryCode": "国家/地区代码", - "CountryCode.Description": "ISO 3166-1 指定的国家/地区代码", - "Language": "语言", - "LanguageCode": "语言代码", - "LanguageCode.Description": "ISO 639-1 指定的语言代码", - "UserID": "用户标识", - "Name": "名称", - "Description": "描述", - "UserID.Description": "用户的唯一标识", - "Draft_DraftAdministrativeData": "草稿管理数据", - "Draft_DraftUUID": "草稿(技术标识)", - "Draft_CreationDateTime": "草稿创建日期", - "Draft_CreatedByUser": "草稿创建人", - "Draft_DraftIsCreatedByMe": "草稿由我创建", - "Draft_LastChangeDateTime": "草稿上次更改日期", - "Draft_LastChangedByUser": "草稿上次更改者", - "Draft_InProcessByUser": "正在处理草稿者", - "Draft_DraftIsProcessedByMe": "草稿正在由我处理", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - }, - "zh_TW": { - "CreatedBy": "建立者", - "CreatedAt": "建立日期", - "ChangedBy": "更改者", - "ChangedAt": "更改日期", - "Currency": "幣別", - "CurrencyCode": "幣別代碼", - "CurrencyCode.Description": "已按 ISO 4217 指定公司代碼", - "CurrencySymbol": "幣別符號", - "Country": "國家", - "CountryCode": "國家代碼", - "CountryCode.Description": "已按 ISO 3166-1 指定公司代碼", - "Language": "語言", - "LanguageCode": "語言代碼", - "LanguageCode.Description": "已按 ISO 639-1 指定公司代碼", - "UserID": "使用者 ID", - "Name": "名稱", - "Description": "說明", - "UserID.Description": "使用者專屬 ID", - "Draft_DraftAdministrativeData": "草稿管理資料", - "Draft_DraftUUID": "草稿 (技術 ID)", - "Draft_CreationDateTime": "草稿建立日期", - "Draft_CreatedByUser": "草稿建立者", - "Draft_DraftIsCreatedByMe": "我所建立的草稿", - "Draft_LastChangeDateTime": "草稿的上次更改日期", - "Draft_LastChangedByUser": "草稿的上次更改者", - "Draft_InProcessByUser": "正在處理草稿的人員", - "Draft_DraftIsProcessedByMe": "我正在處理的草稿", - "Books": "Books", - "Book": "Book", - "ID": "ID", - "Title": "Title", - "Author": "Author", - "AuthorID": "Author ID", - "Stock": "Stock", - "AuthorName": "Author's Name", - "DateOfBirth": "Date of Birth", - "DateOfDeath": "Date of Death", - "PlaceOfBirth": "Place of Birth", - "PlaceOfDeath": "Place of Death", - "Age": "Age", - "Authors": "Authors", - "Order": "Order", - "Orders": "Orders", - "Price": "Price", - "Genre": "Genre", - "Genres": "Genres", - "SubGenres": "Sub Genres", - "NumCode": "Numeric Code", - "MinorUnit": "Minor Unit", - "Exponent": "Exponent" - } -} \ No newline at end of file diff --git a/gen/srv/srv/csn.json b/gen/srv/srv/csn.json deleted file mode 100644 index 8d454115..00000000 --- a/gen/srv/srv/csn.json +++ /dev/null @@ -1,6511 +0,0 @@ -{ - "namespace": "Z_bookshop.extension", - "definitions": { - "Z_bookshop.extension.Z_Customers": { - "kind": "entity", - "@assert.unique.Z_email": [ - { - "=": "Z_email" - } - ], - "includes": [ - "cuid", - "managed" - ], - "elements": { - "ID": { - "@Core.Computed": true, - "key": true, - "type": "cds.UUID" - }, - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "createdBy": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.insert": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>CreatedBy}", - "type": "User", - "length": 255 - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "modifiedBy": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@cds.on.update": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.update": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>ChangedBy}", - "type": "User", - "length": 255 - }, - "Z_email": { - "@mandatory": true, - "type": "cds.String" - }, - "Z_firstName": { - "type": "cds.String" - }, - "Z_lastName": { - "type": "cds.String" - }, - "Z_creditCardNo": { - "type": "cds.String" - }, - "Z_dateOfBirth": { - "type": "cds.Date" - }, - "Z_status": { - "@assert.range": true, - "type": "cds.String", - "enum": { - "platinum": {}, - "gold": {}, - "silver": {}, - "bronze": {} - }, - "default": { - "val": "bronze" - } - }, - "Z_creditScore": { - "@assert.range": [ - 1, - 100 - ], - "type": "cds.Decimal", - "default": { - "val": 50 - } - }, - "Z_PostalAddresses": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "Z_bookshop.extension.Z_CustomerPostalAddresses", - "on": [ - { - "ref": [ - "Z_PostalAddresses", - "Z_Customer" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - } - } - }, - "Z_bookshop.extension.Z_CustomerPostalAddresses": { - "kind": "entity", - "elements": { - "Z_ID": { - "@Core.Computed": true, - "type": "cds.UUID" - }, - "Z_Customer": { - "type": "cds.Association", - "cardinality": { - "max": 1 - }, - "target": "Z_bookshop.extension.Z_Customers", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "Z_description": { - "type": "cds.String" - }, - "Z_street": { - "type": "cds.String" - }, - "Z_town": { - "type": "cds.String" - }, - "Z_country": { - "@description": "{i18n>CountryCode.Description}", - "@title": "{i18n>Country}", - "type": "Country", - "target": "sap.common.Countries", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - } - } - }, - "Z_bookshop.extension.Z_Remarks": { - "kind": "entity", - "elements": { - "Z_ID": { - "@Core.Computed": true, - "type": "cds.UUID" - }, - "Z_parent": { - "type": "cds.Association", - "cardinality": { - "max": 1 - }, - "target": "sap.capire.orders.Orders", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "Z_number": { - "type": "cds.Integer" - }, - "Z_remarksLine": { - "type": "cds.String" - } - } - }, - "OrdersService.Z_Customers": { - "kind": "entity", - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "Main", - "Target": "@UI.FieldGroup#Main" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "Customer Postal Addresses", - "Target": "Z_PostalAddresses/@UI.LineItem" - } - ], - "@UI.FieldGroup#Main.Data": [ - { - "Value": { - "=": "Z_firstName" - } - }, - { - "Value": { - "=": "Z_lastName" - } - }, - { - "Value": { - "=": "Z_email" - } - }, - { - "Value": { - "=": "Z_status" - } - }, - { - "Value": { - "=": "Z_creditScore" - } - } - ], - "@UI.HeaderInfo.Title.$Type": "UI.DataField", - "@UI.HeaderInfo.Title.Value": { - "=": "Z_email" - }, - "@UI.HeaderInfo.TypeName": "Customer", - "@UI.HeaderInfo.TypeNamePlural": "Customers", - "@UI.LineItem": [ - { - "Value": { - "=": "Z_firstName" - } - }, - { - "Value": { - "=": "Z_lastName" - } - }, - { - "Value": { - "=": "Z_email" - } - }, - { - "Value": { - "=": "Z_status" - } - }, - { - "Value": { - "=": "Z_creditScore" - } - } - ], - "@assert.unique.Z_email": [ - { - "=": "Z_email" - } - ], - "@odata.draft.enabled": true, - "projection": { - "from": { - "ref": [ - "Z_bookshop.extension.Z_Customers" - ] - } - }, - "elements": { - "ID": { - "@Core.Computed": true, - "key": true, - "type": "cds.UUID" - }, - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "createdBy": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.insert": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>CreatedBy}", - "type": "User", - "length": 255 - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "modifiedBy": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@cds.on.update": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.update": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>ChangedBy}", - "type": "User", - "length": 255 - }, - "Z_email": { - "@mandatory": true, - "@title": "Email", - "type": "cds.String" - }, - "Z_firstName": { - "@title": "First Name", - "type": "cds.String" - }, - "Z_lastName": { - "@title": "Last Name", - "type": "cds.String" - }, - "Z_creditCardNo": { - "@title": "Credit Card No", - "type": "cds.String" - }, - "Z_dateOfBirth": { - "@title": "Date of Birth", - "type": "cds.Date" - }, - "Z_status": { - "@assert.range": true, - "@title": "Status", - "type": "cds.String", - "enum": { - "platinum": {}, - "gold": {}, - "silver": {}, - "bronze": {} - }, - "default": { - "val": "bronze" - } - }, - "Z_creditScore": { - "@assert.range": [ - 1, - 100 - ], - "@title": "Credit Score", - "type": "cds.Decimal", - "default": { - "val": 50 - } - }, - "Z_PostalAddresses": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Z_CustomerPostalAddresses", - "on": [ - { - "ref": [ - "Z_PostalAddresses", - "Z_Customer" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - } - } - }, - "sap.common_countries": { - "kind": "context" - }, - "sap.common_countries.Regions": { - "kind": "entity", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@cds.autoexpose": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "includes": [ - "sap.common.CodeList" - ], - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "key": true, - "type": "cds.String", - "length": 5 - }, - "children": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.common_countries.Regions", - "on": [ - { - "ref": [ - "children", - "_parent" - ] - }, - "=", - { - "ref": [ - "$self", - "code" - ] - } - ] - }, - "cities": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.common_countries.Cities", - "on": [ - { - "ref": [ - "cities", - "region" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "_parent": { - "type": "cds.String", - "length": 11 - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.common_countries.Regions.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "sap.common_countries.Regions.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "sap.common_countries.Cities": { - "kind": "entity", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@cds.autoexpose": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "includes": [ - "sap.common.CodeList" - ], - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "key": true, - "type": "cds.String", - "length": 11 - }, - "region": { - "type": "cds.Association", - "target": "sap.common_countries.Regions", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "districts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.common_countries.Districts", - "on": [ - { - "ref": [ - "districts", - "city" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.common_countries.Cities.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "sap.common_countries.Cities.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "sap.common_countries.Districts": { - "kind": "entity", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@cds.autoexpose": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "includes": [ - "sap.common.CodeList" - ], - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "key": true, - "type": "cds.String", - "length": 11 - }, - "city": { - "type": "cds.Association", - "target": "sap.common_countries.Cities", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.common_countries.Districts.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "sap.common_countries.Districts.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "Language": { - "kind": "type", - "@description": "{i18n>LanguageCode.Description}", - "@title": "{i18n>Language}", - "type": "cds.Association", - "target": "sap.common.Languages", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "Currency": { - "kind": "type", - "@description": "{i18n>CurrencyCode.Description}", - "@title": "{i18n>Currency}", - "type": "cds.Association", - "target": "sap.common.Currencies", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "Country": { - "kind": "type", - "@description": "{i18n>CountryCode.Description}", - "@title": "{i18n>Country}", - "type": "cds.Association", - "target": "sap.common.Countries", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "sap.common": { - "kind": "context" - }, - "sap.common.Languages": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "code" - } - ], - "@Identification": [ - { - "Value": { - "=": "code" - } - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Details" - } - ], - "@UI.FieldGroup#Details.Data": [ - { - "Value": { - "=": "code" - } - }, - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "descr" - } - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "descr" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "name" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Language}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Languages}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "code" - } - }, - { - "Value": { - "=": "name" - } - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - }, - { - "=": "descr" - } - ], - "@cds.autoexpose": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "includes": [ - "sap.common.CodeList" - ], - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@title": "{i18n>LanguageCode}", - "key": true, - "type": "cds.String", - "length": 14 - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.common.Languages.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "sap.common.Languages.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "sap.common.Countries": { - "kind": "entity", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@cds.autoexpose": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "includes": [ - "sap.common.CodeList" - ], - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@title": "{i18n>CountryCode}", - "key": true, - "type": "cds.String", - "length": 3 - }, - "regions": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.common_countries.Regions", - "on": [ - { - "ref": [ - "regions", - "_parent" - ] - }, - "=", - { - "ref": [ - "$self", - "code" - ] - } - ] - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.common.Countries.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "sap.common.Countries.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "sap.common.Currencies": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "code" - } - ], - "@Identification": [ - { - "Value": { - "=": "code" - } - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Details" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Extended}", - "Target": "@UI.FieldGroup#Extended" - } - ], - "@UI.FieldGroup#Details.Data": [ - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "symbol" - } - }, - { - "Value": { - "=": "code" - } - }, - { - "Value": { - "=": "descr" - } - } - ], - "@UI.FieldGroup#Extended.Data": [ - { - "Value": { - "=": "numcode" - } - }, - { - "Value": { - "=": "minor" - } - }, - { - "Value": { - "=": "exponent" - } - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "code" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "descr" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Currency}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Currencies}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "descr" - } - }, - { - "Value": { - "=": "symbol" - } - }, - { - "Value": { - "=": "code" - } - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - }, - { - "=": "descr" - } - ], - "@cds.autoexpose": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "includes": [ - "sap.common.CodeList" - ], - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@title": "{i18n>CurrencyCode}", - "key": true, - "type": "cds.String", - "length": 3 - }, - "symbol": { - "@title": "{i18n>CurrencySymbol}", - "type": "cds.String", - "length": 5 - }, - "numcode": { - "@title": "{i18n>NumCode}", - "type": "cds.Integer" - }, - "exponent": { - "@title": "{i18n>Exponent}", - "type": "cds.Integer" - }, - "minor": { - "@title": "{i18n>MinorUnit}", - "type": "cds.String" - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.common.Currencies.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "sap.common.Currencies.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "sap.common.CodeList": { - "kind": "aspect", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@cds.autoexpose": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - } - } - }, - "cuid": { - "kind": "aspect", - "elements": { - "ID": { - "@Core.Computed": true, - "key": true, - "type": "cds.UUID" - } - } - }, - "managed": { - "kind": "aspect", - "elements": { - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "createdBy": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.insert": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>CreatedBy}", - "type": "User", - "length": 255 - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "modifiedBy": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@cds.on.update": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.update": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>ChangedBy}", - "type": "User", - "length": 255 - } - } - }, - "temporal": { - "kind": "aspect", - "elements": { - "validFrom": { - "@cds.valid.from": true, - "type": "cds.Timestamp" - }, - "validTo": { - "@cds.valid.to": true, - "type": "cds.Timestamp" - } - } - }, - "User": { - "kind": "type", - "@description": "{i18n>UserID.Description}", - "@title": "{i18n>UserID}", - "type": "cds.String", - "length": 255 - }, - "AdminService": { - "@source": "node_modules/_base/srv/admin-service.cds", - "kind": "service" - }, - "AdminService.Books": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "title" - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>General}", - "Target": "@UI.FieldGroup#General" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Translations}", - "Target": "texts/@UI.LineItem" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Details" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Admin}", - "Target": "@UI.FieldGroup#Admin" - } - ], - "@UI.FieldGroup#Admin.Data": [ - { - "Value": { - "=": "createdBy" - } - }, - { - "Value": { - "=": "createdAt" - } - }, - { - "Value": { - "=": "modifiedBy" - } - }, - { - "Value": { - "=": "modifiedAt" - } - } - ], - "@UI.FieldGroup#Details.Data": [ - { - "Value": { - "=": "stock" - } - }, - { - "Value": { - "=": "price" - } - }, - { - "Value": { - "=": "currency_code" - }, - "Label": "{i18n>Currency}" - } - ], - "@UI.FieldGroup#General.Data": [ - { - "Value": { - "=": "title" - } - }, - { - "Value": { - "=": "author_ID" - } - }, - { - "Value": { - "=": "genre_ID" - } - }, - { - "Value": { - "=": "descr" - } - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "author.name" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "title" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Book}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Books}", - "@UI.Identification": [ - { - "Value": { - "=": "title" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "ID" - } - }, - { - "Value": { - "=": "title" - } - }, - { - "Value": { - "=": "author.name" - }, - "Label": "{i18n>Author}" - }, - { - "Value": { - "=": "genre.name" - } - }, - { - "Value": { - "=": "stock" - } - }, - { - "Value": { - "=": "price" - } - }, - { - "Value": { - "=": "currency.symbol" - }, - "Label": " " - } - ], - "@UI.SelectionFields": [ - { - "=": "ID" - }, - { - "=": "author_ID" - }, - { - "=": "price" - }, - { - "=": "currency_code" - } - ], - "@fiori.draft.enabled": true, - "@odata.draft.enabled": true, - "projection": { - "from": { - "ref": [ - "sap.capire.bookshop.Books" - ] - } - }, - "elements": { - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "createdBy": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.insert": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>CreatedBy}", - "type": "User", - "length": 255 - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "modifiedBy": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@cds.on.update": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.update": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>ChangedBy}", - "type": "User", - "length": 255 - }, - "ID": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - }, - "title": { - "@title": "{i18n>Title}", - "localized": true, - "type": "cds.String", - "length": 111 - }, - "descr": { - "@UI.MultiLineText": true, - "localized": true, - "type": "cds.String", - "length": 1111 - }, - "author": { - "@Common.Text": { - "=": "author.name" - }, - "@Common.TextArrangement": { - "#": "TextOnly" - }, - "@ValueList.entity": "Authors", - "@title": "{i18n>Author}", - "type": "cds.Association", - "target": "AdminService.Authors", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "genre": { - "@Common.Text": { - "=": "genre.name" - }, - "@Common.TextArrangement": { - "#": "TextOnly" - }, - "@title": "{i18n>Genre}", - "type": "cds.Association", - "target": "AdminService.Genres", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "stock": { - "@title": "{i18n>Stock}", - "type": "cds.Integer" - }, - "price": { - "@title": "{i18n>Price}", - "type": "cds.Decimal" - }, - "currency": { - "@description": "{i18n>CurrencyCode.Description}", - "@title": "{i18n>Currency}", - "type": "Currency", - "target": "AdminService.Currencies", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "image": { - "@Core.MediaType": "image/png", - "type": "cds.LargeBinary" - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "AdminService.Books.texts", - "on": [ - { - "ref": [ - "texts", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "AdminService.Books.texts", - "on": [ - { - "ref": [ - "localized", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "AdminService.Authors": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "name" - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Details" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Books}", - "Target": "books/@UI.LineItem" - } - ], - "@UI.FieldGroup#Details.Data": [ - { - "Value": { - "=": "placeOfBirth" - } - }, - { - "Value": { - "=": "placeOfDeath" - } - }, - { - "Value": { - "=": "dateOfBirth" - } - }, - { - "Value": { - "=": "dateOfDeath" - } - }, - { - "Value": { - "=": "age" - }, - "Label": "{i18n>Age}" - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "lifetime" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "name" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Author}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Authors}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "ID" - } - }, - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "dateOfBirth" - } - }, - { - "Value": { - "=": "dateOfDeath" - } - }, - { - "Value": { - "=": "placeOfBirth" - } - }, - { - "Value": { - "=": "placeOfDeath" - } - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - } - ], - "projection": { - "from": { - "ref": [ - "sap.capire.bookshop.Authors" - ] - } - }, - "elements": { - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "createdBy": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.insert": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>CreatedBy}", - "type": "User", - "length": 255 - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "modifiedBy": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@cds.on.update": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.update": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>ChangedBy}", - "type": "User", - "length": 255 - }, - "ID": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - }, - "name": { - "@title": "{i18n>Name}", - "type": "cds.String", - "length": 111 - }, - "dateOfBirth": { - "@title": "{i18n>DateOfBirth}", - "type": "cds.Date" - }, - "dateOfDeath": { - "@title": "{i18n>DateOfDeath}", - "type": "cds.Date" - }, - "placeOfBirth": { - "@title": "{i18n>PlaceOfBirth}", - "type": "cds.String" - }, - "placeOfDeath": { - "@title": "{i18n>PlaceOfDeath}", - "type": "cds.String" - }, - "books": { - "type": "cds.Association", - "cardinality": { - "max": "*" - }, - "target": "AdminService.Books", - "on": [ - { - "ref": [ - "books", - "author" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - } - } - }, - "CatalogService": { - "@source": "node_modules/_base/srv/cat-service.cds", - "kind": "service", - "@path": "/browse" - }, - "CatalogService.ListOfBooks": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "title" - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Price" - } - ], - "@UI.FieldGroup#Descr.Data": [ - { - "Value": { - "=": "descr" - } - } - ], - "@UI.FieldGroup#Price.Data": [ - { - "Value": { - "=": "price" - } - }, - { - "Value": { - "=": "currency.symbol" - }, - "Label": "{i18n>Currency}" - } - ], - "@UI.HeaderFacets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Description}", - "Target": "@UI.FieldGroup#Descr" - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "author" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "title" - }, - "@UI.HeaderInfo.TypeName": "Book", - "@UI.HeaderInfo.TypeNamePlural": "Books", - "@UI.Identification": [ - { - "Value": { - "=": "title" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "title" - } - }, - { - "Value": { - "=": "author" - }, - "Label": "{i18n>Author}" - }, - { - "Value": { - "=": "genre.name" - } - }, - { - "Value": { - "=": "price" - } - }, - { - "Value": { - "=": "currency.symbol" - }, - "Label": " " - } - ], - "@UI.SelectionFields": [ - { - "=": "ID" - }, - { - "=": "price" - }, - { - "=": "currency_code" - } - ], - "@fiori.draft.enabled": true, - "@readonly": true, - "projection": { - "from": { - "ref": [ - "CatalogService.Books" - ] - }, - "excluding": [ - "descr" - ] - }, - "elements": { - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "ID": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - }, - "title": { - "@title": "{i18n>Title}", - "localized": true, - "type": "cds.String", - "length": 111 - }, - "author": { - "@title": "{i18n>Name}", - "type": "cds.String", - "length": 111 - }, - "genre": { - "@Common.Text": { - "=": "genre.name" - }, - "@Common.TextArrangement": { - "#": "TextOnly" - }, - "@title": "{i18n>Genre}", - "type": "cds.Association", - "target": "CatalogService.Genres", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "stock": { - "@title": "{i18n>Stock}", - "type": "cds.Integer" - }, - "price": { - "@title": "{i18n>Price}", - "type": "cds.Decimal" - }, - "currency": { - "@description": "{i18n>CurrencyCode.Description}", - "@title": "{i18n>Currency}", - "type": "Currency", - "target": "CatalogService.Currencies", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "image": { - "@Core.MediaType": "image/png", - "type": "cds.LargeBinary" - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "CatalogService.Books.texts", - "on": [ - { - "ref": [ - "texts", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "CatalogService.Books.texts", - "on": [ - { - "ref": [ - "localized", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "CatalogService.Books": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "title" - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Price" - } - ], - "@UI.FieldGroup#Descr.Data": [ - { - "Value": { - "=": "descr" - } - } - ], - "@UI.FieldGroup#Price.Data": [ - { - "Value": { - "=": "price" - } - }, - { - "Value": { - "=": "currency.symbol" - }, - "Label": "{i18n>Currency}" - } - ], - "@UI.HeaderFacets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Description}", - "Target": "@UI.FieldGroup#Descr" - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "author" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "title" - }, - "@UI.HeaderInfo.TypeName": "Book", - "@UI.HeaderInfo.TypeNamePlural": "Books", - "@UI.Identification": [ - { - "Value": { - "=": "title" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "title" - } - }, - { - "Value": { - "=": "author" - }, - "Label": "{i18n>Author}" - }, - { - "Value": { - "=": "genre.name" - } - }, - { - "Value": { - "=": "price" - } - }, - { - "Value": { - "=": "currency.symbol" - }, - "Label": " " - } - ], - "@UI.SelectionFields": [ - { - "=": "ID" - }, - { - "=": "price" - }, - { - "=": "currency_code" - } - ], - "@fiori.draft.enabled": true, - "@readonly": true, - "projection": { - "from": { - "ref": [ - "sap.capire.bookshop.Books" - ] - }, - "columns": [ - "*", - { - "ref": [ - "author", - "name" - ], - "as": "author" - } - ], - "excluding": [ - "createdBy", - "modifiedBy" - ] - }, - "elements": { - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "ID": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - }, - "title": { - "@title": "{i18n>Title}", - "localized": true, - "type": "cds.String", - "length": 111 - }, - "descr": { - "@UI.MultiLineText": true, - "localized": true, - "type": "cds.String", - "length": 1111 - }, - "author": { - "@title": "{i18n>Name}", - "type": "cds.String", - "length": 111 - }, - "genre": { - "@Common.Text": { - "=": "genre.name" - }, - "@Common.TextArrangement": { - "#": "TextOnly" - }, - "@title": "{i18n>Genre}", - "type": "cds.Association", - "target": "CatalogService.Genres", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "stock": { - "@title": "{i18n>Stock}", - "type": "cds.Integer" - }, - "price": { - "@title": "{i18n>Price}", - "type": "cds.Decimal" - }, - "currency": { - "@description": "{i18n>CurrencyCode.Description}", - "@title": "{i18n>Currency}", - "type": "Currency", - "target": "CatalogService.Currencies", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "image": { - "@Core.MediaType": "image/png", - "type": "cds.LargeBinary" - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "CatalogService.Books.texts", - "on": [ - { - "ref": [ - "texts", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "CatalogService.Books.texts", - "on": [ - { - "ref": [ - "localized", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "CatalogService.submitOrder": { - "kind": "action", - "params": { - "book": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "type": { - "ref": [ - "CatalogService.Books", - "ID" - ] - } - }, - "amount": { - "type": "cds.Integer" - } - }, - "returns": { - "elements": { - "stock": { - "type": "cds.Integer" - } - } - } - }, - "CatalogService.OrderedBook": { - "kind": "event", - "elements": { - "book": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "type": { - "ref": [ - "CatalogService.Books", - "ID" - ] - } - }, - "amount": { - "type": "cds.Integer" - }, - "buyer": { - "type": "cds.String" - } - } - }, - "OrdersService": { - "@source": "node_modules/_base/srv/orders-service.cds", - "kind": "service" - }, - "OrdersService.Orders": { - "kind": "entity", - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Details" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>OrderItems}", - "Target": "Items/@UI.LineItem" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "Remarks", - "Target": "Z_Remarks/@UI.LineItem" - } - ], - "@UI.FieldGroup#Created.Data": [ - { - "Value": { - "=": "createdBy" - } - }, - { - "Value": { - "=": "createdAt" - } - } - ], - "@UI.FieldGroup#Details.Data": [ - { - "Value": { - "=": "currency_code" - }, - "Label": "Currency" - }, - { - "Value": { - "=": "Z_Customer_ID" - }, - "Label": "Customer" - }, - { - "Value": { - "=": "Z_priority" - }, - "Label": "Priority" - } - ], - "@UI.FieldGroup#Modified.Data": [ - { - "Value": { - "=": "modifiedBy" - } - }, - { - "Value": { - "=": "modifiedAt" - } - } - ], - "@UI.HeaderFacets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Created}", - "Target": "@UI.FieldGroup#Created" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Modified}", - "Target": "@UI.FieldGroup#Modified" - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "createdBy" - }, - "@UI.HeaderInfo.Title.Label": "Order number ", - "@UI.HeaderInfo.Title.Value": { - "=": "OrderNo" - }, - "@UI.HeaderInfo.TypeName": "Order", - "@UI.HeaderInfo.TypeNamePlural": "Orders", - "@UI.Identification": [ - { - "Value": { - "=": "createdBy" - }, - "Label": "Customer" - }, - { - "Value": { - "=": "createdAt" - }, - "Label": "Date" - }, - { - "Value": { - "=": "OrderNo" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "OrderNo" - }, - "Label": "OrderNo" - }, - { - "Value": { - "=": "Z_Customer_ID" - }, - "Label": "Customer" - }, - { - "Value": { - "=": "Z_priority" - }, - "Label": "Priority" - }, - { - "Value": { - "=": "createdAt" - }, - "Label": "Date" - } - ], - "@UI.SelectionFields": [ - { - "=": "createdAt" - }, - { - "=": "createdBy" - } - ], - "@odata.draft.enabled": true, - "projection": { - "from": { - "ref": [ - "sap.capire.orders.Orders" - ] - } - }, - "elements": { - "ID": { - "@Core.Computed": true, - "key": true, - "type": "cds.UUID" - }, - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": false, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "createdBy": { - "@Core.Immutable": true, - "@UI.HiddenFilter": false, - "@cds.on.insert": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.insert": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>CreatedBy}", - "type": "User", - "length": 255 - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "modifiedBy": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@cds.on.update": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.update": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>ChangedBy}", - "type": "User", - "length": 255 - }, - "OrderNo": { - "@title": "Order Number", - "type": "cds.String" - }, - "Items": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Orders_Items", - "on": [ - { - "ref": [ - "Items", - "up_" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "buyer": { - "@description": "{i18n>UserID.Description}", - "@title": "{i18n>UserID}", - "type": "User", - "length": 255 - }, - "currency": { - "@description": "{i18n>CurrencyCode.Description}", - "@title": "{i18n>Currency}", - "type": "Currency", - "target": "OrdersService.Currencies", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "Z_Customer": { - "@Common.Text": { - "=": "Z_Customer.Z_email" - }, - "@Common.TextArrangement": { - "#": "TextOnly" - }, - "@Common.ValueList.CollectionPath": "Z_Customers", - "@Common.ValueList.Label": "Customers", - "@Common.ValueList.Parameters": [ - { - "$Type": "Common.ValueListParameterInOut", - "LocalDataProperty": { - "=": "Z_Customer_ID" - }, - "ValueListProperty": "ID" - }, - { - "$Type": "Common.ValueListParameterDisplayOnly", - "ValueListProperty": "Z_email" - } - ], - "type": "cds.Association", - "cardinality": { - "max": 1 - }, - "target": "OrdersService.Z_Customers", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "Z_Remarks": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Z_Remarks", - "on": [ - { - "ref": [ - "Z_Remarks", - "Z_parent" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "Z_priority": { - "@assert.range": true, - "type": "cds.String", - "enum": { - "high": {}, - "medium": {}, - "low": {} - }, - "default": { - "val": "medium" - } - } - } - }, - "sap.capire.bookshop.Books": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "title" - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "author.name" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "title" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Book}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Books}", - "@UI.Identification": [ - { - "Value": { - "=": "title" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "ID" - } - }, - { - "Value": { - "=": "title" - } - }, - { - "Value": { - "=": "author.name" - }, - "Label": "{i18n>Author}" - }, - { - "Value": { - "=": "genre.name" - } - }, - { - "Value": { - "=": "stock" - } - }, - { - "Value": { - "=": "price" - } - }, - { - "Value": { - "=": "currency.symbol" - }, - "Label": " " - } - ], - "@UI.SelectionFields": [ - { - "=": "ID" - }, - { - "=": "author_ID" - }, - { - "=": "price" - }, - { - "=": "currency_code" - } - ], - "@fiori.draft.enabled": true, - "includes": [ - "managed" - ], - "elements": { - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "createdBy": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.insert": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>CreatedBy}", - "type": "User", - "length": 255 - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "modifiedBy": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@cds.on.update": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.update": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>ChangedBy}", - "type": "User", - "length": 255 - }, - "ID": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - }, - "title": { - "@title": "{i18n>Title}", - "localized": true, - "type": "cds.String", - "length": 111 - }, - "descr": { - "@UI.MultiLineText": true, - "localized": true, - "type": "cds.String", - "length": 1111 - }, - "author": { - "@Common.Text": { - "=": "author.name" - }, - "@Common.TextArrangement": { - "#": "TextOnly" - }, - "@ValueList.entity": "Authors", - "@title": "{i18n>Author}", - "type": "cds.Association", - "target": "sap.capire.bookshop.Authors", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "genre": { - "@Common.Text": { - "=": "genre.name" - }, - "@Common.TextArrangement": { - "#": "TextOnly" - }, - "@title": "{i18n>Genre}", - "type": "cds.Association", - "target": "sap.capire.bookshop.Genres", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "stock": { - "@title": "{i18n>Stock}", - "type": "cds.Integer" - }, - "price": { - "@title": "{i18n>Price}", - "type": "cds.Decimal" - }, - "currency": { - "@description": "{i18n>CurrencyCode.Description}", - "@title": "{i18n>Currency}", - "type": "Currency", - "target": "sap.common.Currencies", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "image": { - "@Core.MediaType": "image/png", - "type": "cds.LargeBinary" - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.capire.bookshop.Books.texts", - "on": [ - { - "ref": [ - "texts", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "sap.capire.bookshop.Books.texts", - "on": [ - { - "ref": [ - "localized", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "sap.capire.bookshop.Authors": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "name" - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Target": "books/@UI.LineItem" - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "dateOfBirth" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "name" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Author}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Authors}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "ID" - } - }, - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "dateOfBirth" - } - }, - { - "Value": { - "=": "dateOfDeath" - } - }, - { - "Value": { - "=": "placeOfBirth" - } - }, - { - "Value": { - "=": "placeOfDeath" - } - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - } - ], - "includes": [ - "managed" - ], - "elements": { - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "createdBy": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.insert": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>CreatedBy}", - "type": "User", - "length": 255 - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "modifiedBy": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@cds.on.update": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.update": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>ChangedBy}", - "type": "User", - "length": 255 - }, - "ID": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - }, - "name": { - "@title": "{i18n>Name}", - "type": "cds.String", - "length": 111 - }, - "dateOfBirth": { - "@title": "{i18n>DateOfBirth}", - "type": "cds.Date" - }, - "dateOfDeath": { - "@title": "{i18n>DateOfDeath}", - "type": "cds.Date" - }, - "placeOfBirth": { - "@title": "{i18n>PlaceOfBirth}", - "type": "cds.String" - }, - "placeOfDeath": { - "@title": "{i18n>PlaceOfDeath}", - "type": "cds.String" - }, - "books": { - "type": "cds.Association", - "cardinality": { - "max": "*" - }, - "target": "sap.capire.bookshop.Books", - "on": [ - { - "ref": [ - "books", - "author" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - } - } - }, - "sap.capire.bookshop.Genres": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "name" - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>SubGenres}", - "Target": "children/@UI.LineItem" - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "ID" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "name" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Genre}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Genres}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "parent.name" - }, - "Label": "Main Genre" - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - } - ], - "@cds.autoexpose": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "includes": [ - "sap.common.CodeList" - ], - "elements": { - "name": { - "@title": "{i18n>Genre}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "ID": { - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - }, - "parent": { - "type": "cds.Association", - "target": "sap.capire.bookshop.Genres", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "children": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.capire.bookshop.Genres", - "on": [ - { - "ref": [ - "children", - "parent" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.capire.bookshop.Genres.texts", - "on": [ - { - "ref": [ - "texts", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "sap.capire.bookshop.Genres.texts", - "on": [ - { - "ref": [ - "localized", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "sap.capire.orders.Orders": { - "kind": "entity", - "includes": [ - "cuid", - "managed" - ], - "elements": { - "ID": { - "@Core.Computed": true, - "key": true, - "type": "cds.UUID" - }, - "createdAt": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@odata.on.insert": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>CreatedAt}", - "type": "cds.Timestamp" - }, - "createdBy": { - "@Core.Immutable": true, - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.insert": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>CreatedBy}", - "type": "User", - "length": 255 - }, - "modifiedAt": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$now" - }, - "@cds.on.update": { - "=": "$now" - }, - "@odata.on.update": { - "#": "now" - }, - "@readonly": true, - "@title": "{i18n>ChangedAt}", - "type": "cds.Timestamp" - }, - "modifiedBy": { - "@UI.HiddenFilter": true, - "@cds.on.insert": { - "=": "$user" - }, - "@cds.on.update": { - "=": "$user" - }, - "@description": "{i18n>UserID.Description}", - "@odata.on.update": { - "#": "user" - }, - "@readonly": true, - "@title": "{i18n>ChangedBy}", - "type": "User", - "length": 255 - }, - "OrderNo": { - "@title": "Order Number", - "type": "cds.String" - }, - "Items": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "sap.capire.orders.Orders_Items", - "on": [ - { - "ref": [ - "Items", - "up_" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "buyer": { - "@description": "{i18n>UserID.Description}", - "@title": "{i18n>UserID}", - "type": "User", - "length": 255 - }, - "currency": { - "@description": "{i18n>CurrencyCode.Description}", - "@title": "{i18n>Currency}", - "type": "Currency", - "target": "sap.common.Currencies", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "Z_Customer": { - "type": "cds.Association", - "cardinality": { - "max": 1 - }, - "target": "Z_bookshop.extension.Z_Customers", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "Z_Remarks": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "Z_bookshop.extension.Z_Remarks", - "on": [ - { - "ref": [ - "Z_Remarks", - "Z_parent" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "Z_priority": { - "@assert.range": true, - "type": "cds.String", - "enum": { - "high": {}, - "medium": {}, - "low": {} - }, - "default": { - "val": "medium" - } - } - } - }, - "sap.capire.orders.Orders_Items": { - "kind": "entity", - "elements": { - "ID": { - "@Core.Computed": true, - "key": true, - "type": "cds.UUID" - }, - "up_": { - "type": "cds.Association", - "target": "sap.capire.orders.Orders", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "product": { - "@assert.integrity": false, - "type": "cds.Association", - "target": "sap.capire.orders.Products", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "amount": { - "type": "cds.Integer" - }, - "title": { - "type": "cds.String" - }, - "price": { - "type": "cds.Double" - } - } - }, - "sap.capire.orders.Products": { - "kind": "entity", - "@cds.persistence.skip": "always", - "elements": { - "ID": { - "key": true, - "type": "cds.String" - } - } - }, - "AdminService.Languages": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "code" - } - ], - "@Identification": [ - { - "Value": { - "=": "code" - } - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Details" - } - ], - "@UI.FieldGroup#Details.Data": [ - { - "Value": { - "=": "code" - } - }, - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "descr" - } - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "descr" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "name" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Language}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Languages}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "code" - } - }, - { - "Value": { - "=": "name" - } - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - }, - { - "=": "descr" - } - ], - "@cds.autoexpose": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "projection": { - "from": { - "ref": [ - "sap.common.Languages" - ] - } - }, - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@title": "{i18n>LanguageCode}", - "key": true, - "type": "cds.String", - "length": 14 - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "AdminService.Languages.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "AdminService.Languages.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "sap.common_countries.Regions.texts": { - "kind": "entity", - "@odata.draft.enabled": false, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@odata.containment.ignore": true, - "key": true, - "type": "cds.String", - "length": 5 - } - } - }, - "sap.common_countries.Cities.texts": { - "kind": "entity", - "@odata.draft.enabled": false, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@odata.containment.ignore": true, - "key": true, - "type": "cds.String", - "length": 11 - } - } - }, - "sap.common_countries.Districts.texts": { - "kind": "entity", - "@odata.draft.enabled": false, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@odata.containment.ignore": true, - "key": true, - "type": "cds.String", - "length": 11 - } - } - }, - "sap.common.Languages.texts": { - "kind": "entity", - "@odata.draft.enabled": false, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@odata.containment.ignore": true, - "@title": "{i18n>LanguageCode}", - "key": true, - "type": "cds.String", - "length": 14 - } - } - }, - "sap.common.Countries.texts": { - "kind": "entity", - "@odata.draft.enabled": false, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@odata.containment.ignore": true, - "@title": "{i18n>CountryCode}", - "key": true, - "type": "cds.String", - "length": 3 - } - } - }, - "sap.common.Currencies.texts": { - "kind": "entity", - "@odata.draft.enabled": false, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@odata.containment.ignore": true, - "@title": "{i18n>CurrencyCode}", - "key": true, - "type": "cds.String", - "length": 3 - } - } - }, - "sap.capire.bookshop.Books.texts": { - "kind": "entity", - "@assert.unique.locale": [ - { - "=": "locale" - }, - { - "=": "ID" - } - ], - "elements": { - "ID_texts": { - "@Core.Computed": true, - "key": true, - "type": "cds.UUID" - }, - "locale": { - "type": "cds.String", - "length": 14 - }, - "ID": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "type": "cds.Integer" - }, - "title": { - "@title": "{i18n>Title}", - "localized": false, - "type": "cds.String", - "length": 111 - }, - "descr": { - "@UI.MultiLineText": true, - "localized": false, - "type": "cds.String", - "length": 1111 - } - } - }, - "sap.capire.bookshop.Genres.texts": { - "kind": "entity", - "@odata.draft.enabled": false, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Genre}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "ID": { - "@odata.containment.ignore": true, - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - } - } - }, - "OrdersService.Z_CustomerPostalAddresses": { - "kind": "entity", - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "Main", - "Target": "@UI.FieldGroup#Main" - } - ], - "@UI.FieldGroup#Main.Data": [ - { - "Value": { - "=": "Z_description" - } - }, - { - "Value": { - "=": "Z_street" - } - }, - { - "Value": { - "=": "Z_town" - } - }, - { - "Value": { - "=": "Z_country_code" - } - } - ], - "@UI.HeaderInfo.Title.$Type": "UI.DataField", - "@UI.HeaderInfo.Title.Value": { - "=": "Z_description" - }, - "@UI.HeaderInfo.TypeName": "CustomerPostalAddress", - "@UI.HeaderInfo.TypeNamePlural": "CustomerPostalAddresses", - "@UI.LineItem": [ - { - "Value": { - "=": "Z_description" - } - }, - { - "Value": { - "=": "Z_street" - } - }, - { - "Value": { - "=": "Z_town" - } - }, - { - "Value": { - "=": "Z_country_code" - } - } - ], - "@cds.autoexposed": true, - "query": { - "SELECT": { - "from": { - "ref": [ - "Z_bookshop.extension.Z_CustomerPostalAddresses" - ] - } - } - }, - "elements": { - "Z_ID": { - "@Common.Text": { - "=": "Z_description" - }, - "@Core.Computed": true, - "@UI.Hidden": true, - "type": "cds.UUID" - }, - "Z_Customer": { - "type": "cds.Association", - "cardinality": { - "max": 1 - }, - "target": "OrdersService.Z_Customers", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "Z_description": { - "@title": "Description", - "type": "cds.String" - }, - "Z_street": { - "@title": "Street", - "type": "cds.String" - }, - "Z_town": { - "@title": "Town", - "type": "cds.String" - }, - "Z_country": { - "@description": "{i18n>CountryCode.Description}", - "@title": "Country", - "type": "Country", - "target": "OrdersService.Countries", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - } - } - }, - "AdminService.Genres": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "name" - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>SubGenres}", - "Target": "children/@UI.LineItem" - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "ID" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "name" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Genre}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Genres}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "parent.name" - }, - "Label": "Main Genre" - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - } - ], - "@cds.autoexpose": true, - "@cds.autoexposed": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.capire.bookshop.Genres" - ] - } - } - }, - "elements": { - "name": { - "@title": "{i18n>Genre}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "ID": { - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - }, - "parent": { - "type": "cds.Association", - "target": "AdminService.Genres", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "children": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "AdminService.Genres", - "on": [ - { - "ref": [ - "children", - "parent" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "AdminService.Genres.texts", - "on": [ - { - "ref": [ - "texts", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "AdminService.Genres.texts", - "on": [ - { - "ref": [ - "localized", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "AdminService.Currencies": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "code" - } - ], - "@Identification": [ - { - "Value": { - "=": "code" - } - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Details" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Extended}", - "Target": "@UI.FieldGroup#Extended" - } - ], - "@UI.FieldGroup#Details.Data": [ - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "symbol" - } - }, - { - "Value": { - "=": "code" - } - }, - { - "Value": { - "=": "descr" - } - } - ], - "@UI.FieldGroup#Extended.Data": [ - { - "Value": { - "=": "numcode" - } - }, - { - "Value": { - "=": "minor" - } - }, - { - "Value": { - "=": "exponent" - } - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "code" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "descr" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Currency}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Currencies}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "descr" - } - }, - { - "Value": { - "=": "symbol" - } - }, - { - "Value": { - "=": "code" - } - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - }, - { - "=": "descr" - } - ], - "@cds.autoexpose": true, - "@cds.autoexposed": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common.Currencies" - ] - } - } - }, - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@title": "{i18n>CurrencyCode}", - "key": true, - "type": "cds.String", - "length": 3 - }, - "symbol": { - "@title": "{i18n>CurrencySymbol}", - "type": "cds.String", - "length": 5 - }, - "numcode": { - "@title": "{i18n>NumCode}", - "type": "cds.Integer" - }, - "exponent": { - "@title": "{i18n>Exponent}", - "type": "cds.Integer" - }, - "minor": { - "@title": "{i18n>MinorUnit}", - "type": "cds.String" - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "AdminService.Currencies.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "AdminService.Currencies.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "AdminService.Books.texts": { - "kind": "entity", - "@assert.unique.locale": [ - { - "=": "locale" - }, - { - "=": "ID" - } - ], - "@cds.autoexposed": true, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.capire.bookshop.Books.texts" - ] - } - } - }, - "elements": { - "ID_texts": { - "@Core.Computed": true, - "key": true, - "type": "cds.UUID" - }, - "locale": { - "type": "cds.String", - "length": 14 - }, - "ID": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "type": "cds.Integer" - }, - "title": { - "@title": "{i18n>Title}", - "localized": false, - "type": "cds.String", - "length": 111 - }, - "descr": { - "@UI.MultiLineText": true, - "localized": false, - "type": "cds.String", - "length": 1111 - } - } - }, - "CatalogService.Genres": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "name" - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>SubGenres}", - "Target": "children/@UI.LineItem" - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "ID" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "name" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Genre}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Genres}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "parent.name" - }, - "Label": "Main Genre" - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - } - ], - "@cds.autoexpose": true, - "@cds.autoexposed": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.capire.bookshop.Genres" - ] - } - } - }, - "elements": { - "name": { - "@title": "{i18n>Genre}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "ID": { - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - }, - "parent": { - "type": "cds.Association", - "target": "CatalogService.Genres", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "children": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "CatalogService.Genres", - "on": [ - { - "ref": [ - "children", - "parent" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "CatalogService.Genres.texts", - "on": [ - { - "ref": [ - "texts", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "CatalogService.Genres.texts", - "on": [ - { - "ref": [ - "localized", - "ID" - ] - }, - "=", - { - "ref": [ - "ID" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "CatalogService.Currencies": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "code" - } - ], - "@Identification": [ - { - "Value": { - "=": "code" - } - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Details" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Extended}", - "Target": "@UI.FieldGroup#Extended" - } - ], - "@UI.FieldGroup#Details.Data": [ - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "symbol" - } - }, - { - "Value": { - "=": "code" - } - }, - { - "Value": { - "=": "descr" - } - } - ], - "@UI.FieldGroup#Extended.Data": [ - { - "Value": { - "=": "numcode" - } - }, - { - "Value": { - "=": "minor" - } - }, - { - "Value": { - "=": "exponent" - } - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "code" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "descr" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Currency}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Currencies}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "descr" - } - }, - { - "Value": { - "=": "symbol" - } - }, - { - "Value": { - "=": "code" - } - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - }, - { - "=": "descr" - } - ], - "@cds.autoexpose": true, - "@cds.autoexposed": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common.Currencies" - ] - } - } - }, - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@title": "{i18n>CurrencyCode}", - "key": true, - "type": "cds.String", - "length": 3 - }, - "symbol": { - "@title": "{i18n>CurrencySymbol}", - "type": "cds.String", - "length": 5 - }, - "numcode": { - "@title": "{i18n>NumCode}", - "type": "cds.Integer" - }, - "exponent": { - "@title": "{i18n>Exponent}", - "type": "cds.Integer" - }, - "minor": { - "@title": "{i18n>MinorUnit}", - "type": "cds.String" - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "CatalogService.Currencies.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "CatalogService.Currencies.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "CatalogService.Books.texts": { - "kind": "entity", - "@assert.unique.locale": [ - { - "=": "locale" - }, - { - "=": "ID" - } - ], - "@cds.autoexposed": true, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.capire.bookshop.Books.texts" - ] - } - } - }, - "elements": { - "ID_texts": { - "@Core.Computed": true, - "key": true, - "type": "cds.UUID" - }, - "locale": { - "type": "cds.String", - "length": 14 - }, - "ID": { - "@UI.HiddenFilter": true, - "@title": "{i18n>ID}", - "type": "cds.Integer" - }, - "title": { - "@title": "{i18n>Title}", - "localized": false, - "type": "cds.String", - "length": 111 - }, - "descr": { - "@UI.MultiLineText": true, - "localized": false, - "type": "cds.String", - "length": 1111 - } - } - }, - "OrdersService.Orders_Items": { - "kind": "entity", - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>OrderItems}", - "Target": "@UI.Identification" - } - ], - "@UI.Identification": [ - { - "Value": { - "=": "amount" - }, - "Label": "Amount" - }, - { - "Value": { - "=": "title" - }, - "Label": "Product" - }, - { - "Value": { - "=": "price" - }, - "Label": "Unit Price" - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "product_ID" - }, - "Label": "Product ID" - }, - { - "Value": { - "=": "title" - }, - "Label": "Product Title" - }, - { - "Value": { - "=": "price" - }, - "Label": "Unit Price" - }, - { - "Value": { - "=": "amount" - }, - "Label": "Quantity" - } - ], - "@cds.autoexposed": true, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.capire.orders.Orders_Items" - ] - } - } - }, - "elements": { - "ID": { - "@Core.Computed": true, - "key": true, - "type": "cds.UUID" - }, - "up_": { - "type": "cds.Association", - "target": "OrdersService.Orders", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "product": { - "@assert.integrity": false, - "type": "cds.Association", - "target": "sap.capire.orders.Products", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "amount": { - "@Common.FieldControl": { - "#": "Mandatory" - }, - "type": "cds.Integer" - }, - "title": { - "type": "cds.String" - }, - "price": { - "type": "cds.Double" - } - } - }, - "OrdersService.Currencies": { - "kind": "entity", - "@Common.SemanticKey": [ - { - "=": "code" - } - ], - "@Identification": [ - { - "Value": { - "=": "code" - } - } - ], - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Details}", - "Target": "@UI.FieldGroup#Details" - }, - { - "$Type": "UI.ReferenceFacet", - "Label": "{i18n>Extended}", - "Target": "@UI.FieldGroup#Extended" - } - ], - "@UI.FieldGroup#Details.Data": [ - { - "Value": { - "=": "name" - } - }, - { - "Value": { - "=": "symbol" - } - }, - { - "Value": { - "=": "code" - } - }, - { - "Value": { - "=": "descr" - } - } - ], - "@UI.FieldGroup#Extended.Data": [ - { - "Value": { - "=": "numcode" - } - }, - { - "Value": { - "=": "minor" - } - }, - { - "Value": { - "=": "exponent" - } - } - ], - "@UI.HeaderInfo.Description.Value": { - "=": "code" - }, - "@UI.HeaderInfo.Title.Value": { - "=": "descr" - }, - "@UI.HeaderInfo.TypeName": "{i18n>Currency}", - "@UI.HeaderInfo.TypeNamePlural": "{i18n>Currencies}", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "descr" - } - }, - { - "Value": { - "=": "symbol" - } - }, - { - "Value": { - "=": "code" - } - } - ], - "@UI.SelectionFields": [ - { - "=": "name" - }, - { - "=": "descr" - } - ], - "@cds.autoexpose": true, - "@cds.autoexposed": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common.Currencies" - ] - } - } - }, - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@title": "{i18n>CurrencyCode}", - "key": true, - "type": "cds.String", - "length": 3 - }, - "symbol": { - "@title": "{i18n>CurrencySymbol}", - "type": "cds.String", - "length": 5 - }, - "numcode": { - "@title": "{i18n>NumCode}", - "type": "cds.Integer" - }, - "exponent": { - "@title": "{i18n>Exponent}", - "type": "cds.Integer" - }, - "minor": { - "@title": "{i18n>MinorUnit}", - "type": "cds.String" - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Currencies.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "OrdersService.Currencies.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "OrdersService.Z_Remarks": { - "kind": "entity", - "@UI.Facets": [ - { - "$Type": "UI.ReferenceFacet", - "Label": "Main", - "Target": "@UI.FieldGroup#Main" - } - ], - "@UI.FieldGroup#Main.Data": [ - { - "Value": { - "=": "Z_number" - } - }, - { - "Value": { - "=": "Z_remarksLine" - } - } - ], - "@UI.HeaderInfo.Title.$Type": "UI.DataField", - "@UI.HeaderInfo.Title.Value": { - "=": "Z_number" - }, - "@UI.HeaderInfo.TypeName": "Remark", - "@UI.HeaderInfo.TypeNamePlural": "Remarks", - "@UI.LineItem": [ - { - "Value": { - "=": "Z_number" - } - }, - { - "Value": { - "=": "Z_remarksLine" - } - } - ], - "@cds.autoexposed": true, - "query": { - "SELECT": { - "from": { - "ref": [ - "Z_bookshop.extension.Z_Remarks" - ] - } - } - }, - "elements": { - "Z_ID": { - "@Core.Computed": true, - "type": "cds.UUID" - }, - "Z_parent": { - "type": "cds.Association", - "cardinality": { - "max": 1 - }, - "target": "OrdersService.Orders", - "keys": [ - { - "ref": [ - "ID" - ] - } - ] - }, - "Z_number": { - "@title": "Remark Number", - "type": "cds.Integer" - }, - "Z_remarksLine": { - "@title": "Remark", - "type": "cds.String" - } - } - }, - "AdminService.Languages.texts": { - "kind": "entity", - "@cds.autoexposed": true, - "@odata.draft.enabled": false, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common.Languages.texts" - ] - } - } - }, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@odata.containment.ignore": true, - "@title": "{i18n>LanguageCode}", - "key": true, - "type": "cds.String", - "length": 14 - } - } - }, - "OrdersService.Countries": { - "kind": "entity", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@cds.autoexpose": true, - "@cds.autoexposed": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common.Countries" - ] - } - } - }, - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@title": "{i18n>CountryCode}", - "key": true, - "type": "cds.String", - "length": 3 - }, - "regions": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Regions", - "on": [ - { - "ref": [ - "regions", - "_parent" - ] - }, - "=", - { - "ref": [ - "$self", - "code" - ] - } - ] - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Countries.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "OrdersService.Countries.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "AdminService.Genres.texts": { - "kind": "entity", - "@cds.autoexposed": true, - "@odata.draft.enabled": false, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.capire.bookshop.Genres.texts" - ] - } - } - }, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Genre}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "ID": { - "@odata.containment.ignore": true, - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - } - } - }, - "AdminService.Currencies.texts": { - "kind": "entity", - "@cds.autoexposed": true, - "@odata.draft.enabled": false, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common.Currencies.texts" - ] - } - } - }, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@odata.containment.ignore": true, - "@title": "{i18n>CurrencyCode}", - "key": true, - "type": "cds.String", - "length": 3 - } - } - }, - "CatalogService.Genres.texts": { - "kind": "entity", - "@cds.autoexposed": true, - "@odata.draft.enabled": false, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.capire.bookshop.Genres.texts" - ] - } - } - }, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Genre}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "ID": { - "@odata.containment.ignore": true, - "@title": "{i18n>ID}", - "key": true, - "type": "cds.Integer" - } - } - }, - "CatalogService.Currencies.texts": { - "kind": "entity", - "@cds.autoexposed": true, - "@odata.draft.enabled": false, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common.Currencies.texts" - ] - } - } - }, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@odata.containment.ignore": true, - "@title": "{i18n>CurrencyCode}", - "key": true, - "type": "cds.String", - "length": 3 - } - } - }, - "OrdersService.Currencies.texts": { - "kind": "entity", - "@cds.autoexposed": true, - "@odata.draft.enabled": false, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common.Currencies.texts" - ] - } - } - }, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@odata.containment.ignore": true, - "@title": "{i18n>CurrencyCode}", - "key": true, - "type": "cds.String", - "length": 3 - } - } - }, - "OrdersService.Regions": { - "kind": "entity", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@cds.autoexpose": true, - "@cds.autoexposed": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common_countries.Regions" - ] - } - } - }, - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "key": true, - "type": "cds.String", - "length": 5 - }, - "children": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Regions", - "on": [ - { - "ref": [ - "children", - "_parent" - ] - }, - "=", - { - "ref": [ - "$self", - "code" - ] - } - ] - }, - "cities": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Cities", - "on": [ - { - "ref": [ - "cities", - "region" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "_parent": { - "type": "cds.String", - "length": 11 - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Regions.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "OrdersService.Regions.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "OrdersService.Countries.texts": { - "kind": "entity", - "@cds.autoexposed": true, - "@odata.draft.enabled": false, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common.Countries.texts" - ] - } - } - }, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@Common.Text": { - "=": "name" - }, - "@odata.containment.ignore": true, - "@title": "{i18n>CountryCode}", - "key": true, - "type": "cds.String", - "length": 3 - } - } - }, - "OrdersService.Cities": { - "kind": "entity", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@cds.autoexpose": true, - "@cds.autoexposed": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common_countries.Cities" - ] - } - } - }, - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "key": true, - "type": "cds.String", - "length": 11 - }, - "region": { - "type": "cds.Association", - "target": "OrdersService.Regions", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "districts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Districts", - "on": [ - { - "ref": [ - "districts", - "city" - ] - }, - "=", - { - "ref": [ - "$self" - ] - } - ] - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Cities.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "OrdersService.Cities.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "OrdersService.Regions.texts": { - "kind": "entity", - "@cds.autoexposed": true, - "@odata.draft.enabled": false, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common_countries.Regions.texts" - ] - } - } - }, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@odata.containment.ignore": true, - "key": true, - "type": "cds.String", - "length": 5 - } - } - }, - "OrdersService.Districts": { - "kind": "entity", - "@UI.Identification": [ - { - "Value": { - "=": "name" - } - } - ], - "@cds.autoexpose": true, - "@cds.autoexposed": true, - "@cds.odata.valuelist": true, - "@cds.persistence.skip": "if-unused", - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common_countries.Districts" - ] - } - } - }, - "elements": { - "name": { - "@title": "{i18n>Name}", - "localized": true, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": true, - "type": "cds.String", - "length": 1000 - }, - "code": { - "key": true, - "type": "cds.String", - "length": 11 - }, - "city": { - "type": "cds.Association", - "target": "OrdersService.Cities", - "keys": [ - { - "ref": [ - "code" - ] - } - ] - }, - "texts": { - "type": "cds.Composition", - "cardinality": { - "max": "*" - }, - "target": "OrdersService.Districts.texts", - "on": [ - { - "ref": [ - "texts", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - } - ] - }, - "localized": { - "type": "cds.Association", - "target": "OrdersService.Districts.texts", - "on": [ - { - "ref": [ - "localized", - "code" - ] - }, - "=", - { - "ref": [ - "code" - ] - }, - "and", - { - "ref": [ - "localized", - "locale" - ] - }, - "=", - { - "ref": [ - "$user", - "locale" - ] - } - ] - } - } - }, - "OrdersService.Cities.texts": { - "kind": "entity", - "@cds.autoexposed": true, - "@odata.draft.enabled": false, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common_countries.Cities.texts" - ] - } - } - }, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@odata.containment.ignore": true, - "key": true, - "type": "cds.String", - "length": 11 - } - } - }, - "OrdersService.Districts.texts": { - "kind": "entity", - "@cds.autoexposed": true, - "@odata.draft.enabled": false, - "query": { - "SELECT": { - "from": { - "ref": [ - "sap.common_countries.Districts.texts" - ] - } - } - }, - "elements": { - "locale": { - "key": true, - "type": "cds.String", - "length": 14 - }, - "name": { - "@title": "{i18n>Name}", - "localized": false, - "type": "cds.String", - "length": 255 - }, - "descr": { - "@title": "{i18n>Description}", - "localized": false, - "type": "cds.String", - "length": 1000 - }, - "code": { - "@odata.containment.ignore": true, - "key": true, - "type": "cds.String", - "length": 11 - } - } - } - }, - "extensions": [ - { - "annotate": "AdminService.Books_texts", - "@UI.Identification": [ - { - "Value": { - "=": "title" - } - } - ], - "@UI.LineItem": [ - { - "Value": { - "=": "locale" - }, - "Label": "Locale" - }, - { - "Value": { - "=": "title" - }, - "Label": "Title" - }, - { - "Value": { - "=": "descr" - }, - "Label": "Description" - } - ], - "@UI.SelectionFields": [ - { - "=": "locale" - }, - { - "=": "title" - } - ], - "elements": { - "locale": { - "@ValueList.entity": "Languages", - "@ValueList.type": { - "#": "fixed" - } - } - } - }, - { - "annotate": "cds.UUID", - "@Core.Computed": true - }, - { - "annotate": "OrdersService.Z_Customers", - "elements": { - "Z_ID": { - "@Common.Text": { - "=": "Z_email" - }, - "@UI.Hidden": true - } - } - } - ], - "meta": { - "creator": "CDS Compiler v2.1.4", - "flavor": "inferred" - }, - "$version": "2.0" -} \ No newline at end of file diff --git a/node_modules/_base/app/orders/fiori-service.cds b/node_modules/_base/app/orders/fiori-service.cds index e58c8ccd..ff7ac222 100644 --- a/node_modules/_base/app/orders/fiori-service.cds +++ b/node_modules/_base/app/orders/fiori-service.cds @@ -19,7 +19,7 @@ annotate OrdersService.Orders with @( SelectionFields: [ createdAt, createdBy ], LineItem: [ {Value: OrderNo, Label:'OrderNo'}, - {Value: buyer, Label:'Customer'}, + // {Value: buyer, Label:'Customer'}, {Value: createdAt, Label:'Date'} ], HeaderInfo: { @@ -45,7 +45,7 @@ annotate OrdersService.Orders with @( ], FieldGroup#Details: { Data: [ - {Value: currency.code, Label:'Currency'} + {Value: currency_code, Label:'Currency'} ] }, FieldGroup#Created: { diff --git a/srv/extension_service_ui.cds b/srv/extension_service_ui.cds index 13ebc8a5..8660e1eb 100644 --- a/srv/extension_service_ui.cds +++ b/srv/extension_service_ui.cds @@ -7,7 +7,6 @@ annotate OrdersService.Z_Customers with @odata.draft.enabled; // new codelist entity -- draft enabled annotate OrdersService.Z_SalesRegion with @odata.draft.enabled; - // new entity -- titles annotate OrdersService.Z_Customers with { ID @( @@ -169,69 +168,25 @@ annotate OrdersService.Z_Remarks with @( // extend existing entity Orders with new extension fields and new composition -@odata.draft.enabled annotate OrdersService.Orders with @( UI: { - SelectionFields: [ createdAt, createdBy ], - LineItem: [ - {Value: OrderNo, Label:'OrderNo'}, - {Value: Z_Customer_ID, Label:'Customer'}, // extension field - {Value: Z_SalesRegion_regionCode, Label:'Sales Region'}, // extension field - {Value: Z_priority, Label:'Priority'}, // extension field - {Value: createdAt, Label:'Date'} + LineItem: [..., + {Value: Z_Customer_ID, Label:'Customer'}, // extension field + {Value: Z_SalesRegion_regionCode, Label:'Sales Region'}, // extension field + {Value: Z_priority, Label:'Priority'} // extension field ], - HeaderInfo: { - TypeName: 'Order', TypeNamePlural: 'Orders', - Title: { - Label: 'Order number ', //A label is possible but it is not considered on the ObjectPage yet - Value: OrderNo - }, - Description: {Value: createdBy} - }, - Identification: [ //Is the main field group - {Value: createdBy, Label:'Customer'}, - {Value: createdAt, Label:'Date'}, - {Value: OrderNo }, - ], - HeaderFacets: [ - {$Type: 'UI.ReferenceFacet', Label: '{i18n>Created}', Target: '@UI.FieldGroup#Created'}, - {$Type: 'UI.ReferenceFacet', Label: '{i18n>Modified}', Target: '@UI.FieldGroup#Modified'}, - ], - Facets: [ - {$Type: 'UI.ReferenceFacet', Label: '{i18n>Details}', Target: '@UI.FieldGroup#Details'}, - {$Type: 'UI.ReferenceFacet', Label: '{i18n>OrderItems}', Target: 'Items/@UI.LineItem'}, - {$Type: 'UI.ReferenceFacet', Label: 'Remarks', Target: 'Z_Remarks/@UI.LineItem'} // new composition + Facets: [..., + {$Type: 'UI.ReferenceFacet', Label: 'Remarks', Target: 'Z_Remarks/@UI.LineItem'} // new composition ], FieldGroup#Details: { - Data: [ - {Value: currency_code, Label:'Currency'}, - {Value: Z_Customer_ID, Label:'Customer'}, // extension field + Data: [..., + {Value: Z_Customer_ID, Label:'Customer'}, // extension field {Value: Z_SalesRegion_regionCode, Label:'Sales Region'}, // extension field - {Value: Z_priority, Label:'Priority'} // extension field + {Value: Z_priority, Label:'Priority'} // extension field ] - }, - FieldGroup#Created: { - Data: [ - {Value: createdBy}, - {Value: createdAt}, - ] - }, - FieldGroup#Modified: { - Data: [ - {Value: modifiedBy}, - {Value: modifiedAt}, - ] - }, - }, -) - -{ - createdAt @UI.HiddenFilter:false; - createdBy @UI.HiddenFilter:false; -} -; - - + } + } +); // new field in existing service -- exchange ID with text annotate OrdersService.Orders with {