cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong function called in a 1.N association

Former Member
0 Kudos

Hi experts,

I am facing an issue that I can't figure out.

I will try to simplify my problem to make it understandable:

I have two entities, demand and position.

Each position is link to one demand and a demand can be link to several positions.

Demand's table is stored in a real database, when position is stored in a cluster database. The id of the cluster is saved in demand.

I can't have a direct access to the positions because I need to know the id of the cluster, so all my URL are build this way :

.../DemandSet('0')/PositionSet

But when I call this URL, it calls PositionSet_GetEntity instead of PositionSet_GestEntitySet. Does someone have an explanation?


Really appreciate youre help !


Please let me know if you need more information from me.

Accepted Solutions (1)

Accepted Solutions (1)

AshwinDutt
Active Contributor
0 Kudos

Can you share the screen shot of association and navigation created between the entities ?

Former Member
0 Kudos

Hi, thanks for surching about my problem !

This is a screen shot of the entity types (demande and position)

And here is a screen shot of the associations :

please let me know if you need anything else !

Thnk's in advance

EkanshCapgemini
Active Contributor
0 Kudos
Each position is link to one demand and a demand can be link to several positions.

This signifies that Demand is 1 and Position is N but it is reverse in your mapping.

Regards,

Ekansh

Former Member
0 Kudos

You are right, thank you very much !

Regards,

GCN

Answers (1)

Answers (1)

sreehari_vpillai
Active Contributor
0 Kudos

What about the cardinality  ? 1 , 1:N ?

Former Member
0 Kudos

yes 1, 1:N