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

Import Items "Aras.Server.Core.ItemIsNotLockedException" error

$
0
0

Hi evreyone,

I used AML which helps to Imports the Items.
I tried the same way to import those two Itemtypes.
Just some differences of attribute and property, one of them is successful ,
however, the result of the other is mistaken. Like below:

<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>1</faultcode>
<faultactor />
<faultstring>Aras.Server.Core.ItemIsNotLockedException</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Imports AML
<Item isNew="1" isTemp="1" type="Document" action="add" id="8A355B44F544466A98233EAB0C89C88A" doGetItem="0">
<classification>SOP/TEST</classification>
<name>DOCTEST</name>
<description>TestImport1</description>
<owned_by_id>F5CA9C2CCAF04DBA8B48B161344624E1</owned_by_id>
<managed_by_id>F5CA9C2CCAF04DBA8B48B161344624E1</managed_by_id>
<team_id>12BEE1A764844C54B40AB2E71729E1C1</team_id>
</Item>

Id like to know why it's going wrong. Any ideas ? 

(Is it possible that Itemtype setting made it wrong ? (e.g. : server method))

Thanks


How to make an old revision of a Document the 'is_current'

$
0
0

In our Aras solution we want to cancel a Document generation  and make a previous released document generation the 'is_current'.

Just changing the 'is_current' flag is not enough. There are a lot of relationships that need to float back to the previous version. 

Did anybody solved this issue?

Regards

 

Peter

Problem ehile onBeforeUpdate event

$
0
0

Hello all,

I am not able to run this code onBeforeUpdate event..

I want to add total cost of items in FM_FORMULABOM and show that Total in textBox of fm_cost..

 

Innovator inn = this.getInnovator();

string sFormulaId = this.getProperty("id");
//return inn.newError(sFormulaId.ToString());
Item fmbom = inn.newItem("FM_FORMULABOM","get");
fmbom.setAttribute("select","related_id");
fmbom.setAttribute("where","source_id = ' " + sFormulaId+ "  ' ");
Item result =fmbom.apply();
return inn.newError(result.ToString());
int count = result.getItemCount();
return inn.newError(count.ToString());
decimal total = 0 ;
for( int i = 0 ; i<count ; i++)
{
    Item bom = result.getItemByIndex(i);
    Item bompart = bom.getRelatedItem();
    string sCost= bompart.getProperty("cost");
    if( sCost != null )
    {
        total = total + Convert.ToDecimal(sCost);
       
    }
}
this.setProperty("fm_cost", Total.ToString());
return inn.newError(total.ToString());
return this;

 

Please help me..

Using a sequence to automatically assign part numbers

$
0
0

Hi

We are just starting to implement a PLM system using ARAS Innovator.

Can someone point me in the right direction for how to use a 'Sequence' to automatically set the 'Part Number' field for a new part?

Where should I be looking in the documentation to work out how to do this?

The built in Help is not very useful.

Regards

Gavin

Aras 10 with SQL 2014

$
0
0

Hello,

Is anyone using Aras Innovator 10 with an Microsoft SQL 2014 database engine?

I'm aware MSSQL 2014 is not in the official platform specification but is there any particular reason why it would not work? It would be very painful just to install another version of SQL just to run ARAS, as everything else we have will run under our new 2014 SQL database.

Thanks

Russell

copy the URL Of Item(Document for example) to the clipboard

$
0
0

I want to create a button that generates or copy the URL of Item(Document for example) to the clipboard

and when open interest innovator and I want to open that link will not be asked to log back.

Thank you for your help

 

 

Unable to add a new file

$
0
0

Hello,

When I try to add a new file, I have an error message "The operation is not functionnal because the .NET controls are not available.".

Could you explain me how to solve it please ?

Regards,

 

 

Change the height of the Relationships/bottom part of a form with relationships

$
0
0

Hello,

I'd like to give more space to relationships for a Form with few Item data but lots of Relationships data. Taking the standard "Document" Form as an example, I'm OK with the room available for attributes but would like to give more vertical space to Files and Changes.

Customizing the Height of the form only adjusts the Item/top part of a form, not the Relationships/bottom part. Do you know any way to change it?

Thanks!


Action 'Add Item(s) to change' from relationship grid creating multiple items in version 10 and 11

$
0
0

Hi,

In version 10, if we run the action 'Add Item(s) to change' from relationship grid after selecting multiple items then we see the popup multiple times and for each selected item a change item is being added separately. The same happening in 11 also.

Which was working fine in version 9.3 as it was creating one change item and adding all the selected items to same item. 

How to solve this problem in version 10?

Or is there a way to get the selected items' id from relationship grid? Like how we get the ids of selected items from main grid using:

var grid = top.main.work.grid;

var selids = grid.GetSelectedItemIDs(",");

Please help me. Thank you, Ransok

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 Items "Aras.Server.Core.ItemIsNotLockedException" error

$
0
0

Hi evreyone,

I used AML which helps to Imports the Items.
I tried the same way to import those two Itemtypes.
Just some differences of attribute and property, one of them is successful ,
however, the result of the other is mistaken. Like below:

<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>1</faultcode>
<faultactor />
<faultstring>Aras.Server.Core.ItemIsNotLockedException</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Imports AML
<Item isNew="1" isTemp="1" type="Document" action="add" id="8A355B44F544466A98233EAB0C89C88A" doGetItem="0">
<classification>SOP/TEST</classification>
<name>DOCTEST</name>
<description>TestImport1</description>
<owned_by_id>F5CA9C2CCAF04DBA8B48B161344624E1</owned_by_id>
<managed_by_id>F5CA9C2CCAF04DBA8B48B161344624E1</managed_by_id>
<team_id>12BEE1A764844C54B40AB2E71729E1C1</team_id>
</Item>

Id like to know why it's going wrong. Any ideas ? 

(Is it possible that Itemtype setting made it wrong ? (e.g. : server method))

Thanks

Unable to create user ID

$
0
0

Hi there,

I have installed the V10 trial system by requesting a license key, and when I added users, click on Save button, faced below error message, what’s wrong with it?

The "Login Name" field is required. Yo umust provide a value for this field before saving.

for sure I have key in the Login Name - notice that the filed come with grey back ground.

thanks for helping in advance.

JX

Identify Actions

$
0
0

Hello Friends,

When we create a related record as per configuration we can have available options such as 

[1] Create related.

[2] Pick related.

If  we want to write some business logic on Relationship grid [ On insert Row ] that based on the actions which was selected how can we get the value of selected actions.

Thanks in advance :-)

ARAS 10 - setting ARAS logs path

$
0
0

Hi all,

Is there some configration-releated property/ xml file/registry key/  that allows one to enter the path where ARAS xml file logs are save.

I woudl like to change the path from C:\Program Files (x86)\Aras\Innovator10\Innovator\Server\logs to my desired path.

Thanks in advanced.

Chris

Aras in Amazon EC2

$
0
0

Hi All,

 

I have installed Aras 11 in Amazon EC2 instance. But I am not able to connect it from my browser. Can you please let me know how to connect EC2 Aras instance through internet?

 

 


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!

Add a right click context menu in result item

$
0
0

Hi,

I have defined a Item Type say "MyOptions". I have also created few items of this item type. Now when I search for MyOptions item type it displays all the items under it as a search result.

I select a row from the result grid and do a right click it shows basic context menu items such as New, Save as, Print, Delete. I just want to add my own custom menu item say "Send Data" which should call a method defined in ARAS.

Can anyone tell me how do I do this in ARAS software. I don't want to go and change the code.

If changing the code is only solution then please let me know that too.

 

Any help is appreciated.

Facing 'Invalid Search Criteria' with the new installtion

$
0
0

Hi,

I have installed Aras Innovator 11 on a new server, details of the server are:

OS: Windows Server 2008 R2 Standard Service Pack 1

Type : 64-bit

SQL Server : 2012

Installation went smoothly, but when I login into InnovatorSolutions and try to open an ItemType by giving a value into search grid, I faced 'Invalid Search Criteria'.  Irrespective of the whatever the value that I put in search column I am facing this error.

The same error is being thrown all over the application across all items. 

 

Without having a working Search functionality we could not move forward. Please help us in solving this issue.

 

Thanks you.

 

Get selected item property in C#

$
0
0

Hi,

I searched an item type. I want to write a method which will return me few properties of the item type lets say id, name, state.

I want to write this method in C# server side, because I will be calling this method on some action.

Please provide a code snippet.

Any help is appreciated.

How to save comments from MS Office on save and close

$
0
0

I'm having a problem setting the office connector.  I want to save the comments field on save and close.   The comments need to be against the version of the file saved so that with each save we build up a history of comments.  The Admin guide gives me the $MSO_VersionComment but doesn't tell me what property it gets used against.  I'm assuming somehow it needs to go against the document file comments property.  But don't know how to do that. Any help greatly appreciated.

Viewing all 1103 articles
Browse latest View live


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