diff --git a/suppliers/app/admin/fiori-service.cds b/suppliers/app/admin/fiori-service.cds index 980d0e79..97322697 100644 --- a/suppliers/app/admin/fiori-service.cds +++ b/suppliers/app/admin/fiori-service.cds @@ -99,27 +99,6 @@ extend service AdminService { entity Languages as projection on sap.common.Languages; } -annotate AdminService.Books with { - supplier @( - Common: { - Label: '{i18n>Supplier}', - ValueList: { - Label: '{i18n>Supplier}', - CollectionPath: 'Suppliers', - Parameters: [ - { $Type: 'Common.ValueListParameterInOut', - LocalDataProperty: supplier_ID, - ValueListProperty: 'ID' - }, - { $Type: 'Common.ValueListParameterDisplayOnly', - ValueListProperty: 'name' - } - ] - } - } - ); -} - annotate AdminService.Suppliers with @(Capabilities.SearchRestrictions : { Searchable : false diff --git a/suppliers/srv/mashup.cds b/suppliers/srv/mashup.cds index c1aa3c0a..2f53f1fd 100644 --- a/suppliers/srv/mashup.cds +++ b/suppliers/srv/mashup.cds @@ -8,6 +8,7 @@ namespace sap.capire.bookshop; actually interested in. This fosters both: (a) minimized network traffic as well as (b) options to dynamically add extension fields by SaaS tenants. */ +@cds.odata.valuelist entity Suppliers as projection on S4.A_BusinessPartner { key BusinessPartner as ID, BusinessPartnerFullName as name,