Browse By Tags

  • How to get the value of relationship item type using the return value of fetchRelationships

    hi,All 'my code 'This is the code I tried to write in VB Me.fetchRelationships("File") Dim file as Item = Me.getRelationships("File") Dim t_file_id as string If file.getItemCount()>0 Dim fileCnt as Integer=file.getItemCount() For x=0 To fileCnt…
  • Aras.OAuth.Model error when trying to connect using IOM.dll in a .Net Core app

    I'm trying to integrate the IOM.dll into a .net core application and I get the error below. "Could not load file or assembly 'Aras.OAuth.Model, Version=12.0.0.21092, Culture=neutral, PublicKeyToken=524d880b05474146'. The system cannot find the file…
  • How to use the result of getAssignedActivities() to get the value of the ID field

    hi All, I used the getAssignedActivities() method from outside aras to find 14 pieces of data. But when I try to get the ID field using getItemByIndex(i).getProperty("ID"), he returns null //my code Item activities = inn.getAssignedActivities…
  • Populate the WBS Elements for corresponding Activities2 in a project

    <AML> <Item type="WBS Activity2" action="get" select="name" where="WBS_Activity2.related_id IN (SELECT id FROM INNOVATOR.select_activities('9CB5E2CBBBDB1728B01882'))"> <Relationships> <Item type="Activity2" action="get" select="related_id(name)…
  • Set the property of type item to null value if the item is null

    I am setting a property of type item using the setPropertyItem from JavaScript code as below: var Item = innovator.newItem("Material", "get"); Item.setAttribute("select","id"); Item.setProperty("id", gridRow.entity.ExistingVariantMaterialId); Item =Item…
  • Retrieving Related Items

    I need to take a "Requirement Document" item_number, find all the related "Requirement Document Requirements" and their "Requirements". Looking at the solution for Unit 8 in the v12 Developing Solutions guide I got a pretty good idea how to do this…
  • using the SQL item type as a view

    Querying a SQL view I built in SSMS from an Aras server method: string SQL_View = "innovator.my_custom_sql_view"; string SQL = "select * from " + SQL_View; Item SQL_qry = inn.applySQL(SQL); This is quick for me because I do a lot in SQL, but I know…
  • How to get items with all of its revisions with maximum generation

    Hi, I am trying to get part all revision with maximum generation using IOM: below are the entries: Item Number Generation Revision Testnumber1 1 00 Testnumber1 2 00 Testnumber1 3 00 Testnumber1 4 00 Testnumber1 5 00 Testnumber1 6 00 Testnumber1…