This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Reverse relationship- more instances in grid then actual

asha_gholve - Monday, January 28, 2013 3:35 AM:

Hi All,

I have created an reverse relationship grid in aras.

When I add the same item twice in relation, it displays more then two instances in reverse grid,

When I delete one of the relation then it again adds a instance to reverse grid instead of deleting a instance

Its a problem related to delete action,

When I delete an Instance of relationship it doesn't delete it from the reverse relationship grid.

 

Thanks,

Asha

 



vasant - Monday, January 28, 2013 8:21 AM:

Hi Asha,

As per my understanding, your source_item is "Automatic Versionable".

Here in your case once you are deleting a relationship Item then you are creating new Version of Source Item, in which the relationship is deleted but actually in Older version the relationship exists. So that you are getting (2 from older + 1 from newer = 3) in reverse relationship.

If you put more details about your problem like Related Item Behavior and many more then I can give you suggestion...

 Thanks & Regards,

Vasant Padhiyar



asha_gholve - Tuesday, January 29, 2013 6:44 AM:

Hi Vasant,

Thanks for your reply. It is the problem caused due to generations. If I delete the instance still it is connected with the previous generation instance.

Source_item is Automatic Versionable. Should I update it to manual??

 

Thanks,

Asha