This commit is contained in:
D065023
2020-01-28 09:07:23 +01:00
parent 04ab69c48f
commit e042317f82
4 changed files with 23 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
using { sap.capire.bookshop as my } from '../db/schema';
using { API_BUSINESS_PARTNER.A_BusinessPartnerAddress } from './external/API_BUSINESS_PARTNER.csn';
@path:'/browse'
service CatalogService {
@@ -7,6 +8,15 @@ service CatalogService {
author.name as author
} excluding { createdBy, modifiedBy };
@readonly entity Addresses as projection on A_BusinessPartnerAddress {
key AddressID,
key BusinessPartner,
StreetName,
CityName,
HouseNumber,
Country
};
@requires_: 'authenticated-user'
@insertonly entity Orders as projection on my.Orders;