Moved dynamic constraints in a dedicated folder

This commit is contained in:
Daniel Hutzel
2025-07-24 10:38:43 +02:00
parent c9021d0f46
commit 65eccfad33
7 changed files with 36 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
namespace sap.capire.bookshop;
using from './admin-service';
view Books.field.control as select from Books { ID,
genre.name == 'Drama' ? 'readonly' :
null as price
}
extend Books with {
fc : Association to Books.field.control on fc.ID = $self.ID
}