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

Dynamically show/hide columns in the main search grid

$
0
0

Has anyone written any code that dynamically shows and hides columns in the main search grid? We want to be able to dynamically shows part parameters on a per classification when classification is chosen from a drop-down list.

We want to create a decent way to search an electronic component database. In the main search grid, all columns (part properties) are visible. We created a drop list that mimics the classification values to allow us to quickly narrow a search to a specific component type (e. g. capacitor). To make this usable, we need to filter out all of the columns except the ones that contain property values for capacitors.

Thanks!

Jeff Lavin


Relationships using Foreign Data Types

$
0
0

Need Help!!
I'm new to ARAS and I'm still trying to figure things out.
Step 1
I created a new item type called "SYSTEMS"

added three new properties to "Systems" and made them "Data Type" = "ITEM"

  • * customer
  • * program
  • * product

then included them in the SYSTEMS form. -- Everything worked fine. When I add a new system I can add existing customer, program and products to the SYSTEM

Step 2

I edited  the "Item Type" for "Project" and included a new property name "SYSTEM" with a "Data Type" = "ITEM" and also included FOREIGN Data Types for

  • system.customer,
  • system.program
  • system.product

then updated the form for "PROJECT"

 - Everything worked fine. I add a new project and select a SYSTEM and the customer, program and product from that system populated.

Problem
I want them to show as reverse lookups or some kind of relational tabs.  -- example:
When I open my SYSTEMS I have a Reverse Look up TAB to PROJECTS and vice  verse when I open PROJECTS I have a Reverse Lookup TAB to SYSTEM. How can I create "Reverse Lookup Tabs for (Customers to Project) and (Program to Projects) and (Product to Projects). Since these properties are FOREIGN Keys in the PROJECT item type I can't use them. Can I somehow create a query ? example-if you select a customer it finds all of the system that have that customer and then the systems find all the projects that have that system. Can I create a Grid and somehow place this query in the grid and then create a relationship for customer that calls that grid?  I can create a SQL view for this, but where can I use it?

Check Item number and allowing for generating report.

$
0
0

Dear All,

I need javascript method for preventing from generating the report.

For example, Part-->Item number starts with D001-> right click select "Test Report" it should allow the user to generate the report.

Whereas the Part--->Itemnumber starts with T001--> right click select "Test Report" it should prompt message stating it is not applicable for this selected Item number.

I have designed the Report but i dont know to do validation in Javascript method and linked with the xslt report.

Can you anyone tried this before,then please guide me.

Thanks,

Tin.

 

 

 

 

インストール後に起動できずに困っています

$
0
0

インストールが無事に終了してデスクトップ上にショートカットが作成されたのですが

ショートカットから起動すると

Endpoint not found  というメッセージが出てしまいます。

Win 7 pro 64bit です。

どなたか、分かる方がおられましたらご教授願います。 

Tab Diasable/Enable using javascript

$
0
0

Hi,

I am trying to disable/enable an Item's tab based on its classification. I created OnChange event for classification field on item's form and added the following code:

top.Tab = function ()
{
  if (!parent.relationships)
  {
    setTimeout("top.Tab();", 100);
    return;
  }
   var rel_tabs = "Cleaning Activities"; // Relationship Name
    var tabsIds = top.aras.getRelationshipTypeId(rel_tabs);
 
    if (parent.relationships.document.readyState != "complete" || !parent.relationships.currTabID)
  {setTimeout("top.Tab();", 100); }
  else
  {
      var recp_tabs = tabsIds; 
      var recp_type = parent.item.selectSingleNode("classification");
      if (recp_type)
      {
        recp_type = recp_type.text;
          alert(recp_type);
      if(recp_type.indexOf("Cleaning") > -1)
        {
             parent.relationships.document.relTabbar.setTabEnabled(tabsIds, 1);
           
        }
        else
        { 
         parent.relationships.document.relTabbar.setTabEnabled(tabsIds, 0);
         }
 
      }
    }
 
};

setTimeout("top.Tab()", 200);

 

I found this code in a Form Event of ItemType's form.

This is not working, I am not facing any errors but it is not disabling the tab if I select other classification type. I am using Innovator 10.0

Any issues with my code? Please help me.

IE9 supported?

$
0
0

Hi, I downloaded IE9 today and noticed that Aras doesn't work with that.  I guess I'll go back to IE8, but I wondered if there was any official statement about what browsers are supported, and when we might expect to see IE9 support.

thanks,

Pat Madigan

Workflow change resulted in error

$
0
0

I made a change to a workflow but now my workflow is not working. When I try to save a Feasibility after entering information I am getting the following:

"The given key was not present in the dictionary."

I verified that the paths were all correct. I noticed that the Start icon  had been removed, but the next item was checked as the start item.

Help!

Given key was not present in the dictionary

$
0
0

Hi All,

 

Opened a new Purchase Request (an itemtype I created).  Filled out all the details, but when I try to save I get "The given key was not present in the dictionary".  I have no clue what this means, any ideas on where to start looking for problems?

 

Thanks,

Scott


The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.

$
0
0

Hello, I executed a simple "edit" command in AML-Studio, It ran at first correctly, but now there is always an exception like:

 

<SOAP-ENV:Envelope

  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

  xmlns:i18n="http://www.aras.com/I18N">

 <SOAP-ENV:Body>

   <SOAP-ENV:Fault>

     <faultcode>999</faultcode>

     <faultstring>HTTP Error</faultstring>

     <faultactor>HttpServerConnection</faultactor>

     <detail>System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.</detail>

    </SOAP-ENV:Fault>

 </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

Does any one know how to remove this problem? Did I somehow locked sth related to this item?

 

Data base model for the Project module

$
0
0

I need the data base model for the Project module in Aras Innovator Programme Mangement.

Can anyone help me with this.

Thanks in advance.

Failed to get data which is not equal

$
0
0

Hi,

<Item type='part'  action='get' select="id"   maxRecords='200'  >
  <Relationships>
    <Item type='Part Specification' action='get'  select='id,source_id,related_id'>
      <related_id>
        <Item type='Document'  action='get'  select="id"  maxRecords='200' >    
         <state condition="ne">Preliminary</state>
        </Item>
      </related_id>
    </Item>
  </Relationships>
</Item>

Still i am able to get the data which is having, document state Preliminary, i want to restrict the data.

Can anyone do this query ?

Thanks

Pankaj B

Error when saving ECR

$
0
0

I am new to ARAS.  I wanted to look at the engineering change process.  I created a part called Test1.  I right-click on the part and select "Add Item(s) to Change.  A window pops up with "Change Type: ECR" and "Item:Create new".  I click OK.  The ECR window pops up with the part, Test1, in as the affected items tab at the bottom.  When I click save I get this error.

Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, &lt;, &lt;= , &gt;, &gt;= or when the subquery is used as an expression.<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault xmlns:af="http://www.aras.com/InnovatorFault"><faultcode>SOAP-ENV:Server</faultcode><faultstring>Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, &lt;, &lt;= , &gt;, &gt;= or when the subquery is used as an expression.</faultstring><detail><af:legacy_detail>Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, &lt;, &lt;= , &gt;, &gt;= or when the subquery is used as an expression.</af:legacy_detail><af:exception message="Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, &lt;, &lt;= , &gt;, &gt;= or when the subquery is used as an expression." type="System.Data.SqlClient.SqlException" /></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

In my workspace, these messages come up.

-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
-<SOAP-ENV:Body>
-<ApplyItem>
-<Item type="ECR" id="3925DA50109C41598CC1B705C98060A2" action="add" loaded="1" levels="1" isTemp="1" typeId="2D4799413792453DA08C1EDE6AA22A76" LastModifiedOn="1317757822000" doGetItem="1">
-<Relationships>
-<Item type="ECR Affected Item" id="459EC3EC2E5E4196B1B5C328E96BDF5F" action="add" loaded="1" levels="0" isTemp="1" typeId="6F31DFF75BA74AC788EA026173BB1BC7" LastModifiedOn="1317754083000">
-<related_id>
-<Item type="Affected Item" id="853DD293ADB64DFAA09D27FFE5CAA7F3" action="add" loaded="1" levels="1" isTemp="1" typeId="BFAAB0F6838D4F80BF12CB328FF5B097" LastModifiedOn="1317754083000">
 <action>Add</action>
 <new_item_id keyed_name="Test1">CD72C9F85202435581616935C3B1ACFB</new_item_id>
 </Item>
 </related_id>
 <source_id keyed_name="3925DA50109C41598CC1B705C98060A2">3925DA50109C41598CC1B705C98060A2</source_id>
 </Item>
 </Relationships>
 <fed_css/>
 <locked_by_id keyed_name="">3AC82B5B2BC94E12909FC4017DBA2DA6</locked_by_id>
 </Item>
 </ApplyItem>
 </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>

 

I feel like something is not setup correctly with the server or I am not linking the parts correctly.  I can save the part.  Any help is appreciated.

Thanks

Error When saving ECR

$
0
0

Dear All,

When I am going to save the ECR It's giving me error as like below:

 

Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, &lt;, &lt;= , &gt;, &gt;= or when the subquery is used as an expression.<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault xmlns:af="http://www.aras.com/InnovatorFault"><faultcode>SOAP-ENV:Server</faultcode><faultstring>Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, &lt;, &lt;= , &gt;, &gt;= or when the subquery is used as an expression.</faultstring><detail><af:legacy_detail>Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, &lt;, &lt;= , &gt;, &gt;= or when the subquery is used as an expression.</af:legacy_detail><af:exception message="Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, &lt;, &lt;= , &gt;, &gt;= or when the subquery is used as an expression." type="System.Data.SqlClient.SqlException" /></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

Please help me on this problem.

Cheers,

Pravin

Aras innovator installation rolling back

$
0
0

I have recently downloaded Aras Innovator 10. I had installed it fully. It got installed but i was unable to start it due to absence of some pre requisite items of windows. Hence i got it uninstalled. Now i have installed all the pre requisites as per guide. Now when i stall Aras Innovator again. It comes to a point shown below.

The next thing i see is the installation rolls back and says about some interruption. What may be the cause of this thing. Please help.

 

TreeGridContainer Widget

$
0
0

Hi all,

I need to create a custom web page that includes the Aras client control "TreeGridContainer"... but sadly these controls are not documented at all: no PDF and no code comments.

Can anyone suggest where I can find some useful examples/tutorials about using this TreeGridContainer around?

Thanks.


How to save item using javascript?

$
0
0

Hi,

I am trying to save an Item using Javascript. I found top.onSaveUnlockAndExitCommand() to save,unlock and close the item.

But how to just save the item? Is there any other API ?

Thank you

Create Part BOM structure through AML in NASH tool

$
0
0

When I create Part BOM structure through AML in NASH tool ,I write  follow code:

<AML>
<Item  type="Part" action="add" >

<item_number>123456</item_number>
<description>Blahblah</description>
<Relationships>
<Item type="Part BOM" action="add" >
<quantity>10</quantity>
<related_id>
<Item type="Part" action="get" select="ID">
<item_number>A-3</item_number>
<generation>3</generation>
</Item>
</related_id>
</Item>
</Relationships>
</Item>
</AML>

Then I submit it. It show the error:

<af:legacy_detail>Details in 7 temporary files C:\Program Files\Aras\Innovator\Innovator\Server\dll\nauc31yi Line number -23, Error Number: BC30037, invalid character。 </af:legacy_detail>

 <af:exceptionmessage="Details in 7 temporary files C:\Program Files\Aras\Innovator\Innovator\Server\dll\nauc31yi Line number -23, Error Number: BC30037, invalid character。 "type="System.ApplicationException"/>

I useed to apply it ,it works well.Now I apply the same temple code it says wrong.  What should I  do for help? whrere is Line Number -23?

Getting a property value for a related item

$
0
0

I just went through the Developing Solutions class, and am attempting to implement some of the things I learned there. I'm quite new to this level of development, so please bear with me.

I want to get the id of the identity tied to a particular user. I wrote the following code in AML first, with the intent to build the query in a VB method:

 

 

<AML>
  <Item type="User" action="get" where="[User].id='xxxxxxxxxxxxxxxxxxxxxx'">
    <Relationships>
      <Item type="Alias" action="get">
        <related_id>
          <Item type="Identity" action="get" select="id"></Item>
        </related_id>
      </Item>
    </Relationships>
  </Item>
</AML>

This returns the user along with the related identity. I then create the same query in VB:

Dim userID As String = Me.getInnovator().getUserId()
Dim myItem As Item = Me.newItem("User", "get")
myItem.setAttribute("where", "[User].id='" + userID + "'")
Dim relationship As Item = Me.newItem("Alias", "get")
Dim identity As Item = Me.newItem("Identity", "get")
identity.setAttribute("select", "id")
relationship.setRelatedItem(identity)
myItem.addRelationship(relationship)
myItem = myItem.apply()

However, I don't know how to use getProperty here, because the item returned is actually a User item, not the related Identity item. How would I go about getting just the ID of the Identity? Must I return just the Identity item only, or is there a way to reference the nested/related item to get at the needed property?

Thanks.

 

 

Login fails on error - The statement terminated

$
0
0

Normal 0 false 21 false false false FI X-NONE X-NONE

We are running Innovator 9.4.0., build 5804. We've had couple of different 9.x.x version in use for years and each has worked fine until now.

Today we have been unable to login due a script error or an SQL error. Not sure which, or both. Innovator opens a webpage error dialog with a following error:

"The statement terminated. The maximum recursion 100 has been exhausted before statement completion"

I can't figure out what causes the problem. We added couple identities to existing groups and normal work was ongoing as usual. Then a user reports this issue.

Is there any known reason for such error? Suggestions how to fix the issue are welcome. Wouldn’t like to install Aras all over:)

Relationship tab not editable depending on state

$
0
0

Dear community,

I would like that in a certain state a tab and its relationships are not editable.
The relationships in the tab however must be visible.

Previous solutions mentioned in the community like setting tabs invisible or disable tabs will not work for me because I still want to see the relationship items.

I tried to give the relationship itemtype an own permissionset and disabled 'Use Src Access' on the relationship itemtype.

The behaviour on the form was still not what I wanted and not userfriendly. I was still able to add new relationships and could edit existing relationships.
Only when I tried to save the parent Item I got the warning that I did not have permission to save the relationship item.

I just want to have the behavior of the relationship like when the parent item is unlocked.

Who has an idea how to solve this?

Viewing all 1103 articles
Browse latest View live