pdm annotations
This commit is contained in:
@@ -28,8 +28,7 @@ annotate bookshop.Customers with @(Communication.Contact : {
|
|||||||
surname: lastName,
|
surname: lastName,
|
||||||
given: firstName
|
given: firstName
|
||||||
},
|
},
|
||||||
bday: dateOfBirth,
|
bday: dateOfBirth
|
||||||
email: emailAddress
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// annotations for Audit Log
|
// annotations for Audit Log
|
||||||
|
|||||||
@@ -24,16 +24,13 @@ using { sap.capire.bookshop.OrderItems } from '@capire/orders';
|
|||||||
Items.netAmount as Item_NetAmount};
|
Items.netAmount as Item_NetAmount};
|
||||||
|
|
||||||
// annotate new view
|
// annotate new view
|
||||||
annotate PDMService.OrderItemView with @(PersonalData.EntitySemantics: 'LegalGround')
|
annotate PDMService.OrderItemView with @(PersonalData.EntitySemantics: 'ContractRelated')
|
||||||
{
|
{
|
||||||
Item_ID @PersonalData.FieldSemantics: 'LegalGroundID';
|
Item_ID @PersonalData.FieldSemantics: 'LegalGroundID';
|
||||||
Customer_ID @PersonalData.FieldSemantics: 'DataSubjectID';
|
Customer_ID @PersonalData.FieldSemantics: 'DataSubjectID';
|
||||||
Customer_Email @PersonalData.IsPotentiallyPersonal;
|
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
|
// Data Privacy annotations on 'Customers' and 'CustomerPostalAddress' are derived from original entity definitions
|
||||||
|
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user