cancel
Showing results for 
Search instead for 
Did you mean: 

RAP unmanaged entity in a managed behavior definition

JaimeRodriguez
Participant
0 Kudos

Hi everyone,

I'm trying to include an existing BDEF into another.

I'm trying to create a generic Address object that I can use in multiple BOs:

JaimeRodriguez_0-1712834754325.png

The /RHP/R_Address has its behavior definition, I'd like to link it from /RHP/R_Location.

I could create an unmanaged association so I could create from the Location entity

unmanaged association _Address { create ( features : global ); with draft; }

In the corresponding methods, I read and create from the Location entity.

The problem with this approach is that the Service Binding doesn't support unmanaged draft

JaimeRodriguez_1-1712835141672.png

And if I remove the draft option I've got another error in the Maintenance Object

JaimeRodriguez_2-1712835197680.png

I also tried specifying it as a foreign entity, but it only works to include the entity in the results (failed, mapping)

foreign entity /RHP/R_Address alias Address;

Another option I'd like to test is to create an unmanaged entity (/RHP/R_LocationAddress) inside /RHP/R_Location so I can redefine create, update, and delete methods to call internally /RHP/R_Address by EML.

Can someone help me to manage the /RHP/R_Address from /RHP/R_Location?

Thank you in advance!

Accepted Solutions (0)

Answers (0)