better value list

This commit is contained in:
D065023
2021-06-16 16:40:18 +02:00
parent 785ecbda8f
commit 5141df8e0f
2 changed files with 1 additions and 21 deletions

View File

@@ -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