• Usage of the Where Condition in the Query Builder

    Dear Aras Community, I have a problem with the following scenarion: I have an ItemType A an ItemType B and a Relationship ItemType BA from B to A. Now I have Item B1 related to A1 and A2 with the Relationships BA1 and BA2, like following: …
  • How to close relationship search dialog box dynamically?

    Hi Team, I have custom result binding code on 'OnSearch' event. On return of result if it is true it works fine but on false I want to close search dialog box that appear in relationship on click of pick related dynamically. I tried following method…
  • How to get selected column index

    Hi, I want to display the message when the user clicks on the "Related File" column from Document File relationship. so, how to get the column index? When User clicks on "Related File" the file will get the download, so on that browser window, so…
  • How to add Previous revision item and remove current from relationship

    Hi Experts, I am trying to remove Document which is attached to Part with revision 001 and attach Document with revision 000(old revision). I have created an action on Part Document relationship. I'm getting the old revision item id i.e Document…
  • How to set related item property having datatype as Item?

    Hi, I want to set related Item property( owned_by_id ) of Itemtype dynamically on grid "OnIsertRow" event . I tried using following syntax var set_property = setRelatedItemProperty(relationshipID, "owned_by_id", "48BB4278F78C4D52872036D77EF5812F…
  • How to trigger relationship server event when parent item is copied?

    Hi community, maybe somebody know a solution for this use case. I use a Method in the ItemType 'Part BOM' that is triggered by an onAfterAdd and onAfterDelete event. The Method updates an integer property that indicates how often the corresponding…
  • How can I populate a new item using parent item properties?

    I have a scenario where when a user is adding a relationship to an item I need to populate the new item with information that is dependent on the source item. Example: A user has Part "5555" open then while in the Documents tab the user clicks the …
  • How to prevent certain relationships from being copied?

    Hi, when copying an Item, also the Relationships are duplicated. This is most of the time very useful (e.g. for BOM items), but sometimes I would prefer, if some Relationships wouldn´t be copied (e.g. Costs). What´s the best way to prevent certain Relationships…
  • Change Sort order of property on relationship?

    I have created a relationship between ItemType A and B. However, I also want to add an additional property on the relationship ItemType. I open up the Relationship ItemType and add a new property. I also set the Sort Order of this property. But this…