pdm annotations

This commit is contained in:
Wolfgang Koch
2020-11-17 10:10:51 +01:00
parent a14c0e4eeb
commit caab8ed120
2 changed files with 2 additions and 6 deletions

View File

@@ -28,8 +28,7 @@ annotate bookshop.Customers with @(Communication.Contact : {
surname: lastName,
given: firstName
},
bday: dateOfBirth,
email: emailAddress
bday: dateOfBirth
});
// annotations for Audit Log

View File

@@ -24,16 +24,13 @@ using { sap.capire.bookshop.OrderItems } from '@capire/orders';
Items.netAmount as Item_NetAmount};
// annotate new view
annotate PDMService.OrderItemView with @(PersonalData.EntitySemantics: 'LegalGround')
annotate PDMService.OrderItemView with @(PersonalData.EntitySemantics: 'ContractRelated')
{
Item_ID @PersonalData.FieldSemantics: 'LegalGroundID';
Customer_ID @PersonalData.FieldSemantics: 'DataSubjectID';
Customer_Email @PersonalData.IsPotentiallyPersonal;
};
annotate Customers with @PersonalData.DataSubjectRole: 'Customer';
annotate CustomerPostalAddress with @PersonalData.DataSubjectRole: 'Customer';
annotate PDMService.OrderItemView with @PersonalData.DataSubjectRole: 'Customer';
// Data Privacy annotations on 'Customers' and 'CustomerPostalAddress' are derived from original entity definitions
};