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

Enable SaveAs on the CAD itemtype list view

$
0
0

Hi,

I am trying to enable the "Save As" on the CAD itemtype to allow copy of existing CAD records to create new, similar records.  A request from our mechanical engineers.

I've added an onBeforeCopy and onAfterCopy event handler to handle the new records creation.

I've removed the two lines that disable the "Save As" for CAD items from C:\Program Files (x86)\Aras\Innovator\Innovator\Client\javascript\disabled_functions.js

However the Save As is still missing from the right click context menu, even after a client and server restart.

I've even tried adding CustomBuildVersion="2" to the InnovatorServerConfig.xml.

What am I doing wrong?

TIA,

Jason


Default template based on form

$
0
0

Hello,

I am trying to set the value of property from_template on form load with no luck.

I have tried many options, one of them below

var innovator = new Innovator();
var docItem = innovator.newItem("Document","get");
docItem.setProperty("from_template", "B3D05E1E601047D1AD8209FCC06A8472");
return docItem;

i want different template for each document form, any advice how to set it?

How to get parent item from child item.

$
0
0

I have child item number and i want to find out its parent item number.

 

Thanks,

Manali

Code for Refreshing the Form

$
0
0

Hello

i want to refresh the form with Code. Will any body tell me how i do that.

 

Raviraj

Aras 11.0SP5 DFMEA module update.

$
0
0

I am using the non-subscription version.  I would like to add the DFMEA module that shows up in the update as free to non subscription users.  It will not install saying the DB is not the correct version (11.0.1006).  Has anyone installed it and has it working?

Problem in Fetching value from SQL

$
0
0

Dear Friends,

I want to fetch value from sql Customer Table, like if i select Customer Name then Customer Segment Automatic fetch.

Test Item Type

Customer Name is list data type, property name is "name"

Customer Segment is String Data type, Property name is "customer_segment"

Customer Item Type

Name is String Data Type , Property name is "name"

Customer Segment is string Data type, Property name is "customer_segment"

Database name is "TESTDB"

So i have written a javascript code but this didn;t work .

function selectColumn()
{
    var pleaseWork = selectColumn("SELECT  [CUSTOMER_SEGMENT] FROM [TESTDB].[innovator].[CUSTOMER] WHERE [NAME] = ' "+name+" ' " );
    handleItemChange("customer_segment", pleaseWork);
    console.log(pleaseWork);
}

Kindly request to guide if anyone have solution.

I need when i select value from dropdown then on customer segment value fetch from DB in Test Item Type

 

Thank You

Abhishek Srivastava

SQL select/where a property is a Foreign data-type??

$
0
0

Does anyone happen to know how to go about building an aras SQL select statement to retrieve properties (rows & columns) when one of the properties (columns) is of Data-Type Foreign?

The property I have, in question, exists on the primary item-type (table) as a Foreign data-type to another item-type (table).  Below is my select that works 100% until I add this property to the where clause:

My Innovator error msg is: invalid column near comp_cat

 

 

var results = inn.applySQL("select 'Complaint Category', comp_type, Month, fiscal_year "+

 

 

"where"+

" month = '"+ curMonth +"'"+ 

" and"+  

" fiscal_year = '"+ curCCYY +"'"

" and" +

" comp_cat = 'Package'");

"from innovator.[AP_Customer_Complaint] "+

Get string value of selected item from dropdown.

$
0
0

Hi all,

     I have created an Itemtype and its form. The form has a dropdown field, values of dropdown are 'first','second','third' and 'final'.
By using VB.net I' m giving a condition based on dropdown selection like,

If choice= "first" Then   'choice is the property name of the field
'Do something 
End If.

  It is not giving the result. I'm not getting the string value of dropdown by using getProperty() and also by getPropertyAttribute(). In the 'list' If I give values to the choices as first=1,second=2..., then I can use like this

If(choice=1) Then
'Do something
Eng If
 Here it working properly but I should use string in the If condition not integer values. How to get the String value from dropdown selection.

Please help me.

Thank You all,
Vardhan

 


Not a Single Item during delete item

$
0
0

Hi Community,

I have Created server side Method to delete item

WHEN DISPENSING ITEM DELETE THEN FM_ITEM SHOULD BE OPEN AND THAT FM_ITEM HAVING A TAB NAME AS SYMBI ITEM RELATION WHEN SINGLE ITEM CAN BE DELETE. WHEN MULTIPLE ITEMS IS THERE I AM UNABLE TO DELETE IT. THE ERROR MESSAGE IS "NOT A SINGLE ITEM"

 

 

Code:

Innovator inn = this.getInnovator();

Item iDispItem = this.newItem("Symbi_Dispensing_Item","get");

iDispItem.setID(this.getID());

Item resDispItem = iDispItem.apply();

int countDispItem = resDispItem.getItemCount();


for(int i=0; i<countDispItem; i++)

{

Item DispItemRel = resDispItem.getItemByIndex(i);

Item rItem = DispItemRel.getRelatedItem();


Item rFMItem = this.newItem(rItem.getType());

rFMItem.setID(rItem.getID());

Item resFMItem = rFMItem.apply("get");


Item rBinItem = this.newItem("Symbi_Item_BinCard");

rBinItem.setProperty("source_id",resFMItem.getID());

rBinItem.getAttribute("select", "related_id");

Item resBinItem = rBinItem.apply("get");

int countBinItem = resBinItem.getItemCount();

string dItemAR = resDispItem.getProperty("symbi_ar_no");


for(int j=0; j<countBinItem; j++)

{

Item BinItemRel = resBinItem.getItemByIndex(j);

Item rBinCardItem = BinItemRel.getRelatedItem();


string binAR = rBinCardItem.getProperty("symbi_ar_no");

if(binAR == dItemAR)

{

Item relBinItemRel = this.newItem(BinItemRel.getType());

relBinItemRel.setID(resBinItem.getID());

Item resrelBinItemRel = relBinItemRel.apply("delete");


Item relBinCardItem = this.newItem(rBinCardItem.getType());

relBinCardItem.setID(rBinCardItem.getID());

Item resBinCardItem = relBinCardItem.apply("delete");

}

else{

return inn.newError("cannot delete");

}

}

}

 

return this;

PLEASE TELL ME SOLUTION

How to hide inbuilt error message "select a relationship first"

$
0
0

Hi all,

I want to hide the error message "select a relationship first".

how can i achieve this.

cheers,

thank you

How to set two filter in a dropdown field in aras

$
0
0

Dear All,

If I want to Set two filter in a dropdown field then how it will done by filter list concept.

1st field : Project Name    (FilterList1)

2nd Field : Department     (FilterList2)

3rd Field: Similar Project Name. (Result)

Now 1st field is 1st filter and 2nd field is 2nd filter. Project Name Data Type is "string" and Department Data Type is Classstructure.

 

So Can you please share solutions if any body have.

 

Thanks in Advance

Abhishek Srivastava

The database is not available.

$
0
0

I'am trying to install Aras Innovator 11 on my Windows 8 Machine. 

 

While running the InstallationWizard i get the first Problem while configuring the databse.

 

After clicking "Ok" the "Next" Button in the Wizard is still not available.

When I open the SQL Server Management Studio i can see a new InnovatorSolution Database.

Therefore i tried to choose tje "Use an existing database". 

With that option I can click the "Next" button and the Wizard finishes the Installation as expected.

 

The issue apppears when I try to log into Aras (using both IE and Firefox):

 

I get the following error. Sorry that the language is German but I will try to explain the German parts.

The Database is not available: running as Databaseprinzipal is not possible,

because the Prinzipal 'aras_innovator' is not there,

for this Type of Prinzipal is no Idetity change possible,

or you have not necessary  rights.

 

Do you have any suggestions what I could do to solve this issue? I tried a couple of things without success.

 

Greetings

Is that Possible to Type on text field and together search on dropdown with same keyword

$
0
0

Project Name is a text field  and Similar Project Name is dropdown field.

when i type on Project Name field then from same keword autosearch on Similar Project Dropdown field

Like :

 

privatevoid textBox5_TextChanged(object sender, EventArgs e)

        {

            comboBox1.Text = textBox5.Text;

        }

So could you please help me out of  this

Thanks

Abhishek Srivastava

modify BOM Quantity Rollup report to only list Components

$
0
0

I'm trying to make a report similar to the BOM Quantity Rollup Report but I only want it to list components.  If I run the report on a part that is an assembly, and has subassemblies, I only want the components of each assembly and subassembly to be listed.

The goal of this is to create a pull list of parts needed to build the assembly

How to Filter dropdown value via code

$
0
0

I have a code to fetch value from Item Type Project. Below is the code:

In this code I fetch all the project name in a dropdown style in similar_project property but i have a query regarding if i want to filter by department wise project name then How will do it via this code or what modification required.

 

Normal 0 false false false EN-US X-NONE X-NONE

 

var div_id = getFieldByName("similar_project").id;

var control_id = div_id.substring(0, div_id.indexOf("span"));

var select = document.getElementById(control_id);

 

//...Replace this with a call to a external datasource...

//get Customer

var returnItm = document.thisItem.newItem("Project", "get");

returnItm.setAttribute("select","name");

returnItm = returnItm.apply();

 

//populate the select list with options

for (var i=0;i < returnItm.getItemCount(); i++)

{

                var project = returnItm.getItemByIndex(i);

                select.options[i]=

                new Option(project.getProperty("name"),

                project.getProperty("id"));

               

}

Thanks in advance

Abhishek Srivastava


how to exclude a value in a filter ?

$
0
0

Hello all,

Does anyone know how to exclude a value in a filter in a simple search?

In advanced search I would select the operation "not like". But I have to use it in a javascript methode where a simple search is used. To set a value in the filter I use the following code:
var Filter=new Object();
Filter["state"]={filterValue:"Released",isFilterFixed:true};
return Filter;

But how can I set the filter to show all states but e.g. "Released"?

Thanks for your help.

How to get values by foriegn property before saving the form.

$
0
0

Hi friends,

Is that possible to get value by foreign property before saving the form, It means just on click

I have a dropdown value that i fetch from customer item type but when i select value from dropdown and click on save then value comes. So is that possible to value comes before saving the form or on click.

 

Thanks in Advance

Abhishek Srivastava

Change color of text that user types

$
0
0

Hello,

I am looking for some way to change the color of the text that a user enters inside of a textbox.  I know there is a setting to change the color of the heading of a label or textbox, but I do not know of a way to change the color of text that a user types in. 

 

Also would there be any possible way to have a setting that takes away all the color off of elements on a form?  I mean in the sense of making the buttons on a form black color instead of the usual blue?  And the drop down lists the arrow on them make that black instead of blue? 

My first thought was to somehow use CSS or JavaScript but I am not sure how to go about this.

Thank you!

 

Create new task and notification on item due date

$
0
0

Hello,

I am trying to create an itemtype which would have a due date, upon that due date i would like to receive a task to my inbasket and notificatoin to my e-mail. Is this possible and how? thank you

How to print Gantt Chart in Aras 11.

$
0
0

How to print Gantt Chart in Aras,

Is there any way to print?

 

If anyone have solution then kindly share ....

Thank You

Abhishek Srivastava

Viewing all 1103 articles
Browse latest View live


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