Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

Event method callilng itself infinitely

$
0
0

I have an onInsertRow event method on a RelationshipType AB.  When the event method runs, it runs an AML script for modifying two properties on ItemType B which is related to RelationshipType AB.  When I do the applyAML() statement, the onInsertRow event method of RelationshipType AB fires itself from the top again, and it repeats this behavior an infinite number of times.

I did check the events for ItemType B.  It has an event for onBeforeUpdate, and I checked this code and it does not do anything that should trigger the event method for RelationshipType AB.  Any ideas as to why this behavior is occurring?  It's almost like a postback in ASP.NET or something that I need to stop.

Very frustrating issue.  Any help greatly appreciated.


Viewing all articles
Browse latest Browse all 1103

Trending Articles