cancel
Showing results for 
Search instead for 
Did you mean: 

composite key for business objects

Former Member
0 Kudos

Dear Community,

I have the following elements in my business object definition:

[Label("UUID")]
[AlternativeKey]
element OriginObjectUUID : UUID; 
 
[Label("Type")] 
element ObjectType :
SYNCRONIZATIONOBJECTTYPECode;

I want to have this two elements as alternative Key for the business object.

How can I do this? Can I create a data type for it?

Kind Regards,

Lukas


Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186648
Active Contributor
0 Kudos
former_member186648
Active Contributor
0 Kudos

Hi Lukas,

Sorry, you can have the [AlternativeKey] annotation only on a sinlge element in a Node.

Thanks, Pradeep.

Former Member
0 Kudos

do you have any ideas for workarounds?

I need these 2 elements as alternative key ...

do you have any suggestions?