cancel
Showing results for 
Search instead for 
Did you mean: 

How to access association relation root object ?

former_member267851
Participant
0 Kudos

Hi Experts,

I have an issue in which i need to access root object from other model root object

there are in relation with association type.

By using get_related_entity() , i am able to access aggregation object but not association object.

For example: Suppose i am in onerorder model , but want to other model root object

which is association relation with it.

Is get_related_entity() method will help me?

Regards

Alok

Accepted Solutions (0)

Answers (2)

Answers (2)

dharmakasi
Active Contributor
0 Kudos

Hi Alok,

Check in genil_model_browser for the root entity you are trying to access from the object, I mean suppose for oneorder you can find many root object. You can access from one root object to another root object.

Best Regards,

Dharmakasi.

deepika_chandrasekar
Active Contributor
0 Kudos

Hi,

Using Get_root you can access root object the same model but you cant get the different model root object.

Regards,

Deepika

former_member267851
Participant
0 Kudos

Thanks Deepika,

If there is a relation between two root of different model then also not possible.

Why there is a relation , if we are not able to access?

Please describe ur answer.

Regards

Alok

deepika_chandrasekar
Active Contributor
0 Kudos

Hi,

Can you tell me the root objects name which are related?

Regards,

Deepika.

former_member267851
Participant
0 Kudos

Please check this component .

I want to access Btorder from bdheader.