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

Looking to create a new Item and Form with BOM type list of parts for RMAs

$
0
0

Hi,

 

I'm evaluating Innovator 11 for our small company (~25 employees).

One project might be to implement our RMA process using a Workflow in Innovator.  I'm able to create the basic item and form, but need to add a section where we can add a list of parts that will be returned, similar to a BOM.

Are there any resources that will point us in the right direction for implementing this?  I've looked at the Part item to try a decipher how it is done there, but it is not very obvious.

 

Thanks,

 

Clayton Summers


How to edit values of form fields using a button event

$
0
0

Hi,

I'm trying to edit the values of item fields from a button event. Values are being updated but I can't see the updated values on form field directly unless I lock it / save it. 

Here is what I'm doing:

From button event on item's form: 

var thisItem = document.thisItem;
    var thisId = thisItem.getProperty("id");
    var formNd = top.aras.getItemByName("Form", "NewEntriesForClass", 0);
        if (formNd)
         {
           var param = new Object();
           param.title = "Update Class";
           param.formId = formNd.getAttribute("id");
           param.itemId = thisId;
           param.aras = top.aras;
           var width = top.aras.getItemProperty(formNd, "width");
           var height = top.aras.getItemProperty(formNd, "height");
            var options = {
                 dialogWidth: width,
                 dialogHeight: height
              };
 var wnd = top.aras.getMainWindow();
              wnd = wnd === top ? wnd.main : top;
          top.aras.modalDialogHelper.show('DefaultPopup', wnd, param, options, 'ShowFormAsADialog.html');        }

Created an independent form 'NewEntriesForClass' which will be shown as popup with checkboxes and a 'OK' button.

From the 'OK' button of popup: 

var inn = new Innovator();
var thisItem = document.thisItem;

var wnd = top.aras.getMainWindow();
wnd = wnd === top ? wnd.main : top;

var itemId = wnd.dialogArguments.itemId;
var chkCount = 0;
for (var i=0; i<_input.length; i++) {
     if (_input[i].type == 'checkbox') {
         chkCount++;
     }
}

var ChekArray = [];
 for(var k=0;k<chkCount;k++)
  {
var chkIdK = "id"+k;
if(document.getElementById(chkIdK).checked)
 {
ChekArray.push(document.getElementById(chkIdK).value);
 }
  }
   var partItem = inn.getItemById("Part",itemId);
  if(partItem.getItemCount()===1)
  {
   partItem.setAction("edit");
   partItem.setProperty("allowable_classes",ChekArray.toString());
   partItem = partItem.apply();
   }

parent.args.dialog.close();

The new value is set to part but not getting refreshed on opened form. How to refresh the part item or update the value in field directly without using Lock/Save again.

Please help me.

Thank you, Vardh.

get ItemType related to RelationshipType

$
0
0

I have a RelationshipType that has two related ItemTypes.  When my JavaScript method first runs, it has a variable called relatedID that has the value of the field that links it to one ItemType.  I can get the first ITemType using this value.  However, I have not been able to find any way to get the value of the field that links the RelationshipType to the second ItemType.  Is there any way to find this value?

SOAP error when saving file with 11.0 SP2

$
0
0

Hi,

We had no problem with 11.0 but we have this message when saving file with 11.0 SP2 :

Server returned invalid SOAP message.<parsererror xmlns="http://www.mozilla.org/newlayout/xml/parsererror.xml">Erreur d'analyse XML : mal formé
Emplacement : https://myserver/11_0_sp2/Client/X-salt=std_11.0.0.6152-X/scripts/Innovator.aspx
Numéro de ligne 1, Colonne 50 :<sourcetext>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"&gt;
-------------------------------------------------^</sourcetext></parsererror>

Has anyone an issue ?

Thanks in advance.

retrieve password using javascript

$
0
0

Hi

Is there any way to retrieve password from aras database using javascript ? It should be decrypted.

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!

 

How to display only specific items to user on main grid?

$
0
0

Hi,

We have a requirement where the parts displayed to user on main grid should be specific to manufacturer site. We have created separate Identities for the users who work at separate sites. So, users of a site1 Identity should have access to only to the parts that are being manufactured at site1.

Parts that user see on his main grid must be from his site. A property with list of sites is added to part itemtype.I can't use class path as we are already using it for 'Type'.

Is there any way to achieve this? Please help me.

Thank you, Vardh.

 

How to generate new version of a part via AML Studio

$
0
0

Anyone knows how to create a new version of a part using AML Studio?

I've tried below string but it complains with "Object variable or With block variable not set."

<AML>

<Item type="part" action="version" id="09403950349509340590...">

</Item>

</AML>


Unable to import My Exported Package

$
0
0

Hi Everyone,

 

         Recently I have Exported my Data form aras innovator , But I am not able to import it in another Database.While importing data There Are some error like There is no Row at Position 0 and Property Already Exist Violation of primary key constraint or etc.

 

is there any solution. please help,

Thanks

 

Rakesh

 

Innovator 11 doesn't give me any search result in the dialog

$
0
0

Hello,

I'm currently setting up Aras Innovator 11 and having issues with a method to show search results in a dialog. In Innovator 10, this is working without any issues.

var myIds = showModalDialog('searchDialog.html',

 {aras:window.top.aras, itemtypeName:'Document', multiselect:'true'},

  'dialogHeight: 450px; dialogWidth: 700px; status:0; help:0; resizable:1');

When the dialog opens, it is just blank. I need to go to the (in this case) Document main search grid, and have it populated. Then the dialog will be populated when I go back to run the method. It works fine until i log out. Then it's the same issue again.

Just like the "get"-permission doesn't work on the dialog, before I have opened the main search grid for the item type...?

Anyone experience this issue, and knows how to solve it?

Workflow Dynamic ReAssignment Triggers

$
0
0

As described in "Just Ask Innovator", under Innovator Administration->Workflows->Dynamic Assignments, an Activity Manager can change an assignment's "Assigned To" Identity.  This feature works as described.

However, I would like to execute a Server Method when this is done.  I have tried to trigger this method from the "On Assign" or "on Delegate" server event, but my method is not executed when the re-assignment is done.

Does anyone have an idea of how I might trigger my server method when the manager does a re-assignment?

Thanks

Form Size

$
0
0

Hello All

I have created a custom form but form is not rendering the height and width which I am giving in Form Properties.

No matter what I give for width or height, it still comes with some default height and width.

Am I missing something ? 

Add file to Files Client method

$
0
0

Hi,

I'm writin a client method to open a file brower and read a text file line by line until the end of file.
Loop through the text file and use the string from each line to create File item in the Files.

Right now, I'm able to open file brower to select a text file, but could'nt read line by line, instead reads all text.
code:

var inn = this.newInnovator();
var fileName = top.aras.vault.SelectFile();
var str = top.aras.vault.ReadText(fileName);
// need a way to loop through the file and read line by line.

I have also written the code to create file item in the Files.
Code:
File=inn.newItem("File","add");
File.setProperty("filename","Archives_1000bvs2311.pdf");
try{
File.attachPhysicalFile("C:\\file_upload\\Archives_1000bvs2311.pdf");
}catch(e){alert("Error while Attaching file:"+e);}
Res=File.apply();
return this;
// the filename and physicalPath are hardcoded. I would like to pass the str got from the text file to physicalpath and part of string to the filename instead.

sample text file:
C:\file_upload\Archives_1000bvs2311.pdf
C:\file_upload\Archives_1000bvs2311.pdf

filename to be passed:
Archives_1000bvs2311.pdf
Archives_1000bvs2311.pdf

physical path to be passed:
C:\file_upload\Archives_1000bvs2311.pdf
C:\file_upload\Archives_1000bvs2311.pdf

Any sugestions would be helpful.
Thanks.

 

Variants définition

$
0
0

Hi all,

I'm new to aras and I wanted to study the variants package solution. I followed the instructions in the "Aras variants management doc".

After créating the tractor BOM, I wanted to display the "variants" of a part variant but nothing appears. The table is empty and there is no edition option the only action available is export to excel or word.

Thanks for the help

Rachèle

Error New WS Configuration

$
0
0

Hi all,

I am trying to create a new web service configuration and it fails with the following error when I try to load the form. 

2 topics are already talking about my problem but nobody gave a solution : 

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

http://www.aras.com/Community/forums/p/7531/15640.aspx

Could you help me please ? 

Tristan ROQUES


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. 

File Check In and Check Out Missing in 11?

$
0
0

Unless I am missing something, I am unable to figure out how to enable File Checking In and Checking Out in ARAS 11.0 .  It does not appear as a right-click option anymore, nor can I find it on the new file management pop-up window (when you click on the blue paper icon).  

Has this been omitted from this release?  I know file management has been redesigned in this release, but I can't imagine that the ability to check out, and check back in files has been completely removed.  

Thanks for the help.

Event method callilng itself infinitely

$
0
0

I have an onInsertRow event method on a RelationshipType AB.  When the event method runs, it runs an AML script for modifying two properties on ItemType B which is related to RelationshipType AB.  When I do the applyAML() statement, the onInsertRow event method of RelationshipType AB fires itself from the top again, and it repeats this behavior an infinite number of times.

I did check the events for ItemType B.  It has an event for onBeforeUpdate, and I checked this code and it does not do anything that should trigger the event method for RelationshipType AB.  Any ideas as to why this behavior is occurring?  It's almost like a postback in ASP.NET or something that I need to stop.

Very frustrating issue.  Any help greatly appreciated.

Upgrading PLM 9.3 to 11.0

$
0
0

Is there a upgrade/migration path to upgrade from Aras PLM 9.3 to 11.0? We find 9.3 very limiting and unfriendly because of the IE requirement.

Facing error during Aras integration with SharePoint

$
0
0

Problem: I am not able to create External List into SharePoint site. it gives following error:

MethodInstance with Name 'ReadList' on Entity (External Content Type) with Name 'PartEntity' in Namespace 'Rzrlf.SP.Innovator.Bdc.PartBdcModel' failed unexpectedly. The failure occurred in method 'ReadList' defined in class 'Rzrlf.SP.Innovator.Bdc.PartBdcModel.PartEntityService' with the message 'The type initializer for 'Aras.Net.ApplicationRequestProvider' threw an exception.'.

Explanation: I have installed Aras Innovator 11.0 successfully. and then after I had download solution from https://plm.codeplex.com/SourceControl/latest#README.txt here.

and follow the steps as per documentation which is download from Home page under Kit Contents .

I am not able to create external list into SharePoint. It gives me above error.

Please guide me ASAP.

Thanks,

Kripa Dharasandia

Viewing all 1103 articles
Browse latest View live


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