add invoice action
This commit is contained in:
committed by
Daniel Hutzel
parent
49f6b8c060
commit
0690762207
@@ -3,9 +3,12 @@ using {sap.capire.media.store as my} from '../db/schema';
|
||||
@(requires : 'authenticated-user')
|
||||
service InvoicesService {
|
||||
@readonly
|
||||
entity Invoices as projection on my.Invoices actions {
|
||||
action invoice();
|
||||
}
|
||||
entity Invoices as projection on my.Invoices;
|
||||
|
||||
action invoice(tracks : array of {
|
||||
track_ID : Integer;
|
||||
unitPrice : Decimal(10, 2);
|
||||
});
|
||||
|
||||
@readonly
|
||||
entity InvoiceItems as projection on my.InvoiceItems;
|
||||
|
||||
Reference in New Issue
Block a user