Browse By Tags

  • Getting an item property in onChangedCell from a recently created relationship vs existing relationship

    I'm running a method on the property event "onChangedCell". When the method is called on a newly created related item, the following statement successfully get's the property: var my_item = parent.item.querySelector("#" + relatedID); var my_property…
  • 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 …
  • Setting related Item to null relationship

    How do I set related Item to null relationship on the onAfterEvent of the relationship ?
  • Adding a related item to a null relationship on onAfterAdd Event of the relationship.

    Hi, I have a relationship defined between two item types say part and document and the relationship options available on the form are "No related" and "Create Only" I have a scenario such that when "no related" option is selected and I populate the property…
  • 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…
  • Relation Insertion for multi user environment.

    Former Member
    Former Member
    Hi, I am trying following use case for relation insert. I have created 2 parts: Part 1-  item_number = TestPart1 Part 2- item_number = TestPart2 Let's assume that ids for above parts are: TestPart1 = 'id1' TestPart2 = 'id2' Now to insert Part BOM…
  • How to find view only relationships ?

    Former Member
    Former Member
    Hi , I am fetching data of a Part and its relationships. But currently I am not able to fetch data for Relationship - Part Changes. I found an answer to this problem on forum that this is view only relationships. All the change management objects in…
  • Change Sort order of property on relationship?

    Former Member
    Former Member
    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…