refactoring code

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-11-05 23:25:17 +03:00
committed by Daniel Hutzel
parent ecdc32bad1
commit e08b1c6246
8 changed files with 56 additions and 90 deletions

View File

@@ -3,6 +3,10 @@ using {BrowseTracks.Tracks} from './browse-tracks-service';
service BrowseInvoices @(requires : 'customer') {
/**
* Invoices entity also restricted programmatically Only owned
* invoices youser can access
*/
@readonly
entity Invoices as projection on my.Invoices;
@@ -13,10 +17,10 @@ service BrowseInvoices @(requires : 'customer') {
action cancelInvoice(ID : Integer);
/*
Below entities exposed
due to 'navigation property errors' when expanding with odata
*/
/**
* Below entities exposed due to 'navigation property errors'
* when expanding with odata
*/
@readonly
entity Tracks as projection on my.Tracks excluding {
alreadyOrdered