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

Get value of ItemType when on method for RelationshipType

$
0
0

I have an ItemType Item E that has an associated RelationshipType Item ED that references a third ItemType Item D.  ItemType ED appears as a tab on ItemType E's form, and allows users to select an ItemType D. 

We check that Item D is not related to TWO Item E's when user selects an item D under the Item ED tab.  If it is greater than 2, we want to prevent the third from being entered.  Our check is correct but the third is still listed under Item ED tab even when the client side method returns. 

1) Is there a way to prevent the third from being added?

2) While trying to delete the third from Item ED, we need to reference Item E but cannot find a way to get its ID value.  How can we get its ID value?

 


Workflow Activity Completion window not wide enough

$
0
0

Hello,

 

I am new to the Aras Community forums so please forgive my poor etiquette.

 

I have noticed that the “Workflow Activity Completion window” is not wide enough to allow the reading of long text in the ”Tasks” field, is there a way to increase the width of the ” Workflow Activity Completion window”?

 

Thanks!!

import excel sheet data

$
0
0

Hi all,

   I want to import Excel data to an Item Type..

any solution plz help me

thanks in advance

 

How to get the logged-in Database name using C#

$
0
0

Hi,

Using top.aras.getDatabase() in a client method we can get the logged-in database name. How to do the same in a server method?

Thank you

Get the filepath using custom form.

$
0
0

Hi, 

according to my task I need to import lots of Items from external file. So, I wrote a server-method for import procedure but it uses fixed filepath which was set in the code as a string value. What I'd like to do is to allow a user choose a full filename via custom Form or Dialog Window.

My question is how can I do this? I tried to look at default Forms such as CAD Form, which as I thought has to get a filepath somehow, but I can't get how the Field "File Item" works. Do I need to use some specific Field Type or maybe I can just call a dialog window someway?

Thank you in advance.

How to update Project Plan on project Form

$
0
0

Hello,

I have a Project plan XML ready (i.e. with all WBS Elements,Activities and milestones) in itm.node. Now I have to put this XML in a Project relationship "Project Plan". But it will not update the Project plan.

I used      itm.node = top.aras.updateInCache(itm.node).item;    to update project plan.

But it is not working.

So, Please help me to Solve this.

Thanks in advance.

Anand

Accessing workflow activities using vb.net?

$
0
0

Hi All,

 

Apologies if there is already an answer for this somewhere - but I haven't yet been able to find it!

 

I'm writing a program in vb.net trying to pull some information from our aras database. Starting with an ECO number, I'm trying to get the date that one (any!) of the activities on the workflow was signed off.

 

Ideally, I want a query something like this:

 

                Dim qryItem As Aras.IOM.Item = MyInnovator.newItem("Simple ECO", "get")

                qryItem.setProperty("item_number", "ECO-1234")

                Dim results As Aras.IOM.Item = qryItem.apply()

Dim signoffdate as string

                signoffdate = results.getItemByIndex(0).getRelationships...................... etc etc, until I can get to the activity signoff date

 

Unless there is a better way to do it?

 

I did find this post:

 

http://www.aras.com/Community/forums/t/4146.aspx

 

which gives me the AML for accessing the workflow process activity:

 

<AML>

<Item type="ECR" action="get">

<item_number>Your ECR Number here</item_number>

<Relationships>

<Item type="Workflow" action="get">

<related_id>

<Item type="Workflow Process" action="get">

<Relationships>

<Item type="Workflow Process Activity">

<related_id>

<Item type="Activity" action="get">

<state>Active</state>

</Item>

</related_id>

</Item>

</Relationships>

</Item>

</related_id>

</Item>

</Relationships>

</Item>

</AML>

 

But I can't get the same sort of thing to work from VB.net..

 

Any pointers would be greatly appreciated!

 

Thanks!

Displaying image stored in Vault in Report Builder SSRS

$
0
0

Hi,

Is there any way I can get Report Builder to display images stored in the Aras Vault for a PDF output document?

I can only see the "vault:///?fileID=xxx" in PDF output document.

 

Appreciate any pointers that can lead me to the right path.

 

Many thanks!

 


FMEA And PFMEA in aras 11

$
0
0

hello friends,

i Am new to aras and working on quality planinng

i want to know how do i implement FMEA, PFMEA, Process planner in aras 11 In previous version it was available. 

Import multiple file in one "Document"

$
0
0

Hello everybody,

Is there anybody who know if it is possible to upload more than one file at the same time in the section called "documents" ? If yes, could you please tell me how we can do this ?

Thank you,

Regards,

Daniel

Choose a specific user in a workflow

$
0
0

Hi everyone,

My first post here helped me a lot so I have an other question for the community :).

I made an ItemType called "Study" with a workflow and a life cycle attached. The Study is put in the workflow once the "manager_user" has created it (initial life cycle state: "Created by the manager").

My problem comes just after that. I would like to give the possibility to "manager_user" to choose the "end_user" who will need to complete the study.

Is there anybody here who could help me ? :)

I really appreciate any help you can provide.

Daniel

How to get UserName in C# method

$
0
0

Hello

 

Is there anyway to get username ? All I can see is that we can get user id using the method - getUserID().

Trying to execute custom batch file through Aras

$
0
0

Hello All

I have created an action with a method(server side in c#) to run a batch file located in local system. Here is the code below - 

Innovator inn = this.getInnovator();

string path = CCO.Server.MapPath("temp/test.bat");

try

{

    ProcessStartInfo processInfo = new ProcessStartInfo("CMD.Exe");

    processInfo.Arguments = "/c" + path;

    processInfo.UseShellExecute = false;

    Process.Start(processInfo);

}

catch(Exception e)

{

    return inn.newError(e.Message);

}

return this.getInnovator().newResult("SUCCESS");

 

The above code is compiled and executed successfully and message comes as 'Success' but it is not opening the command prompt and not executing the batch file.

If I take the same code and run it in the console application then it works successfully.

 

Am I missing something in the code so that it runs the batch file from Aras ? Please help !!!!

How To Put System Date Into the AML Query

$
0
0

I have Item Type name "Request" with  one field "date" as datatype. I want to create couple save search.

All Request Generated Today , basically I want to add filter With the System Date.  Is there any provision in Aras to do that. 

I know I can solve this with Action or Report , but my requirement is to have save search. 

 

Guys Please help with this. 

 

 

 

 

How to add dynamic parameter in AML

$
0
0

Is there any way to add system date , as dynamic parameter into the AML.

I want to do something like this, 

<term_date condition=''equal"> system_date </term_date>

System_date has to be taken automatically by server.

 



Multilevel BOM with structure using SQL Server Reporting Services

$
0
0

Hi,

We have just started implementing aras innovator and I would like to use SQL Server Reporting Services as the prefered reporting solution. Can anyone help me with a SQL based alternative for the "Multilevel BOM Report", included in Innovator? I have been experimenting with the multilevelbom1 and multilevelbom2 sql stored procedure and function, but the resulting report is sorted by level. I would like a report where the structure of the BOM is preserved, like the original Multilevel BOM Report. 

Thanks in advance for your help!

Getting access to a form fields/Passing values between them

$
0
0

Hello everyone,

I've created a custom Form for my import function, which must give a possibility to set several settings for exporting, such as folder path, items id settings etc.

For this post let's use simplified scheme: 

I have 3 element on the form. Select Path button, Textbox, Ok button

- User choose a folder path on click Select button;

- Then path sting value goes to a textbox;

- Click on OK button and import procedure starts.

Ok, it looked quite clear for me. Just need to add some field events and it's done. And here appear two problems. 1st one is that I don't get how to pass values between form fields, if events aren't executed in the same time. 2nd one is I need to access several form fields, which I don't know how to do.

The second option I thought about is to write one method as a Form event and use onclick Event. But there is still this problem of access to these different fields.

I will be grateful to any solution.

Thanks.

 

 

Web services - WSDL

$
0
0

Hi,

Where can I find documents about the "out of the box" ARAS web services ? And what is the URL of the WDSL document for a standard ARAS server ?

I'm making some tries on using the ARAS web services and I want to adapt to ARAS the windchill/catia RIALTO macro :

http://www.plmlab.fr/index.php?page=rialto

If you have already done such a work with ARAS and any CAD system, your help will be very welcome.

Regards,

--

Pascal Morenton

pascal.morenton@ecp.fr

 

Revisions Changing from abc to 123

$
0
0

I am working on our development environment testing bulk imports of data. I noticed that parts were coming in at rev A. Our company uses 00 01 ect... so I changed to revision list to 00 01 02 ect... then imports came in fine but it broke the rest of the environment.  I get the following now when ever I try to save something

 

Internal Error: the major revision "A" specified for Identity is invalid.<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><![CDATA[Internal Error: the major revision "A" specified for Identity is invalid.]]></faultstring><detail><af:legacy_detail><![CDATA[Internal Error: the major revision "A" specified for Identity is invalid.]]></af:legacy_detail></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

The browser has failed the minimum browser requirement check

$
0
0

Hi

Can someone please help me with error above. I have check the IE settings and i dont know why is giving the error message above

Regards

Daniel Makama

Viewing all 1103 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>