Quantcast
Viewing all 1103 articles
Browse latest View live

Automatic Vote in workflow

Hello,

I checked  many same post that ask about the automatic workflow voting like

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

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

But still I am posting the related post as I was not able to clear doubts.

[ 1 ] Scenario 

If the manager of an employee was not able to vote or approve any review task that should be voted automatically after the time [ for example 2 days ] and state of life cycle should be promoted as  Auto Approved so one can easily identify that it was approved by system.

[2] Life cycle :- I have created life cycle with following Details

States                                                                       

  • Draft            
  • Submitted
  • Approved
  • Auto Approved 

[3] Work Flow :- 

Image may be NSFW.
Clik here to view.

My doubts regarding the automatic Activity in workflow are

(1) which activity should be set as Automatic Activity

     [ In review or Auto Approved ]

(2) What are the Activity Properties to verify the time limit ?

      [1] Expected Duration or [2] Time Out Duration

       On which Activity this property should be set?

(3) Promotion for submitted to Auto Approved  can be trigger on which event

      [ on Due ?? ]

(3)  in Review have two path here how it will choice the path of  Sent for auto Approve ? 

(4)  How do Aras calculate Due days ? It starts calculating days on the same day of Creation or the day when task will be in in-basket of manager?

 

Thanks in advance :-)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 


Version Upgradation ...

Hello Friends,

While i m trying to Import a Package From  9.3 to 9.4

I got  an Error Message as per screen given Below.[ String or Binary Data would be Truncated ]

Image may be NSFW.
Clik here to view.

 

When  i Compared the Structure of Property Table in 9.3 & 9.4 i came to know about few Changes in both structure.. [ All changes are related to Data type & the capacity of Field only ]

eg.

9.3                                                             9.4      

CATEGORY_BY   nvarchar(64)               CATEGORY_BY   char(1)

To resolve the issue i tried to Extend the capacity of each field given in Property Table in 9.4

But changes in the Property Table is not Allow.

How to overcome with this Problem?

Thanks in Advance :-)

Sagar Makhesana

Include Aras 10 API into external WebPage (javascript)

Hello,

I am trying to setup my first external application based on HTML5 and DoJo. Has anyone successfully integrated Aras API (IOM.dll, IOM.ScriptSharp.js, IOM.js, aras_object.js) into his HTML5 Webpage?

If yes:
- how?
- Which development environment are you using?

Regards, Jens

Violation of PRIMARY KEY constraint when adding new file using Batch Loader

 I am  editing a part, creating part bom relationship, creating part and adding file relationship using Batch Loader. I don't understand why "PRIMARY KEY" constraint will occur when a new file is added. Can anybody please help me with this error?

 

[1:35:24 AM]: Start batch load

[ *** Worker process for lines 2 - 2 *** ]:
[1:35:24 AM - Worker process for lines up to 1 (Thread #1)]: Logged in
[1:35:24 AM - Worker process for lines up to 1 (Thread #1)]: #1 - <Item type="Part" where="name='LO' and  classification = 'Outfitting Equipment/Group/Detail_Sub_System' and project_number = 'Mar' and is_current='1'" action="edit"><Relationships><Item type="Part BOM" action="add"><related_id><Item type="Part" action="add"><name>/KEY_PLAN</name><classification>Outfitting Equipment/Aveva Drawings/Arrangement</classification><Relationships><Item type="Part Aveva" action="add"><related_id><Item type="Aveva Drawing" action="add"><name>/KEY_PLAN</name><project>Mar</project><mdb>/HADMIN</mdb><module>AVEVA Marine MarineDrafting</module></Item></related_id></Item><Item type="Part File" action="add"><related_id><Item type="File" action="add"><actual_filename>C:\ArasAvevaConnector\67.dxf</actual_filename><filename>/KEY_PLAjjN.dxf</filename><Relationships><Item type="Located" action="add"><related_id>67BBB9204FE84A8981ED8313049BA06C</related_id></Item></Relationships></Item></related_id></Item></Relationships></Item></related_id></Item></Relationships></Item>
[1:35:25 AM - Worker process for lines up to 1 (Thread #1)]: #1 - <Fault>
[1:35:25 AM - Worker process for lines up to 1 (Thread #1)]:     Code: SOAP-ENV:Server
[1:35:25 AM - Worker process for lines up to 1 (Thread #1)]:     Message: File already exists.
[1:35:25 AM - Worker process for lines up to 1 (Thread #1)]:     Details: File already exists.Violation of PRIMARY KEY constraint.

[1:35:26 AM]: Finish batch load: succeeded - 0; failed - 1

Availability of server method to release Assembly(Root line) automatically once it's child parts got released

Is there any server method which helps to release  Assembly(Root line) automatically once it's child parts got released?

how to write a method of Workflow with conditonal loop

i have created one workflow with conditional statement. Example: workflow stages START ,  A ,  B , C , D , END there are six stages. first i am giving condition

(1) if x>=99.99 the workflow will direct stage A to B

(or)

(2) if x>=90 && x<=95.99 the workflow will direct stage A to C 

(or)

(3) if x<=89.99 the workflow will direct stage A to D

 how to write the method for the workflow

Regards,

Krish 

 

Editing records with NASH

Hello Gurus and Gur-ettes,

    I am trying to get my feet wet with version 10, I have had some success with using the NASH interface to import around 2500 Mfg Parts, and around the same number of related Parts. Unfortunately, I missed the 'name' field on the majority of the Part records. Now I am trying to find some variation of using the <Item type="Part" action="get" xml syntax to add missing information to previously imported records:

<AML>

<Item type="Part" action="edit" where="Part.item_number='existing_record'"/><name>missing_name</name>

</AML>

results in malformed XML errors.

<AML>

<Item type="Part.name" action="add" where="Part.item_number='existing_record'"/><name>missing_name</name>

</AML>

results in "Failed to get the Part.name ItemType" errors

but:

<AML>

<Item type="Part" action="get" where="Part.name='part_name'"/>

</AML>

returns a valid record.

So, I tried:

<AML>

<Field type="Part.name" action="get" where="Part.item_number='existing_record'"/>

</AML>

Which leaves me back at malformed XML (<Relationship and <Related don't work either)

Does anyone know the correct callouts/syntax for this type of operation? I would imagine someone has had to resolve a similar situation in the past, any help is appreciated!

Aras 9.3 Cannot identify the UG NX prt filetype properly

Hello, everyone:

I found that the UG NX's prt file is not in the Administration/FileTypes list, and I tried to add an item for this filetype. As the UG NX's prt file has the same extension as the ProE Assembly does, I changed the ProE Assembly's extension field to "prt_disable". But, when I uploaded a UG file, it still shows that it is a ProE Assembly file. 

Does anyone has some ideas about how to let the Aras identifies the UG file properly?

Thanks,

Will Wang


Form Field Dropdown Values Based on Two or More Filtered Values

I've gotten one field in a form to filter values based on the input of another field in the same form.  However, I can't seem to get one field to be filtered based on the inputs of two or more fields.  Below is an example of what I would like to do.

Form Example:

Category (dropdown)

  • Plate
  • Pipe
  • Bolt
  • Nut

Code Standard (dropdown)

  • ASTM
  • ANSI
  • ASME
  • ISO
  • GB/T

Material Specification (dropdown)

  • A307
  • A325
  • 898-1
  • A36
  • Q235B
  • A106B

Selection of Plate and ASTM gives A36 as the only option in the material specification dropdown since Q235B is a GB/T standard.

Selection of Bolt and ISO gives 898-1 as the only option.  If ASTM were selected, A307 and A325 would be the only options.

I added 'filter2' to the 'Filter Value' ItemType so 'Filter2' no appears alongside 'Filter' when creating a list (see screenshot).

Image may be NSFW.
Clik here to view.

I also added 'Pattern2' to the 'Properties' ItemType.  However, 'Pattern' has a dropdown of values that can be selected.  'Patter2' does not have a dropdown of values, thus, I don't think it's linking up.

Image may be NSFW.
Clik here to view.

If this is possible, I may have more than two filters in the future to allow the user to drill down easily into a lot of options.

Adding aspx page as starting page in TOC for an Item Type

Hi,

We are planning to design an aspx page and add it as starting page for an Item Type. I started with this: Test.aspx

<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Web.UI" %>
<%@ Import Namespace="System.Web.UI.HtmlControls" %>
<%@ Import Namespace="System.Web.UI.WebControls" %>
<%@ Import Namespace="System.Web.UI.WebControls.WebParts" %>
<%@ Import Namespace="System.Xml.Linq" %>
<%@ Page Language="C#" %>
<script runat="server">
protected void Button1_Click(object sender, EventArgs e)
    {
        Innovator inn = this.getInnovator();
        Item am = inn.newItem("Part","get");
             int cnt = am.getItemCount();
        Label1.Text = "Parts count is:"+cnt;
    }
</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div></div>
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Test" />
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    </form>
</body>
</html>

Added a button and a Label, button event to get the existing Parts count and display in the label.Finally added this under C:\Program Files\Aras\Innovator10.0\Innovator\Client\scripts and added this page as Start Page under TOC View.

But facing the following error when I click on my ItemType under TOC.

Server Error in '/InnovatorServer/Client' Application

Runtime Error

 

Is it possible to add an aspx page as an ItemType's starting page. If so please help me with the correct way of implementing this.

 

I tried to add IOM namespace, <%@ Import Namespace="Aras.IOM" %> but Error states: 'IOM' does not exist in the namespace 'Aras'

Please help me.

 

Thank you / Vardh.

Error loading JS file in HTML!

Greetings Team,

We are facing some challenges in loading the JS file from HTML(inside form HTML) and unable to  read the value "$" .

Kindly help me out in resolving this.

Thanks
Gowdru

Regarding Form automatic update

Hello,

In the Part form i have added 3 custom fileds State,city and code.so what i want to do is whenever i have selected the value in the state

Eg:state = AP

the city and code values should be automatically updated.how can i  slove this.

For the three properties i have added a list of values in the Part item type properties.

 Thanks &Regards,

reshma.c

 

Failed to get data which is not equal

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

OPC Server Interface

Has anyone created an OPC Server interface for Innovator?  OPC (OLE for Process Control) is an industry standard protocol for exchanging information with factory floor devices (e.g., PLCs, Bar Code Scanners, Instrumentation, etc.).  This capability might allow for distributed Innovator systems to act as Product Traceability systems on the factory floor (track all lots and, where available, serial numbers of components going into an assembly).

- Steve

How to getServerBaseURL from IOM Innovator?

Hi there,

I need to access the Server URL an Innovator instance was logged in to using the IOM. When I use getConnection() there is just methods to get the DatabaseName but nothing to get the ServerURL. Is there any equivalent to the client-side getServerBaseURL in the IOM?

Best regards

Sebastian


how to use jquery.autocomplete in a Form

Hi community,

Do someone have experience how to use JQeury widgets on a Form? Is this possible?

I want to use the autocomplete function to let the user easy pick an item from a list and if it is not available in the list the user can type their own value. The jquery gives an example how to use it on http://jqueryui.com/autocomplete/

I used this example code in a html field on a Form.

<head>
  <metacharset="utf-8">
  <title>jQuery UI Autocomplete - Default functionality</title>
  <linkrel="stylesheet"href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
  <scriptsrc="//code.jquery.com/jquery-1.10.2.js"></script>
  <scriptsrc="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
  <linkrel="stylesheet"href="/resources/demos/style.css">
  <script>
  $(function() {
    var availableTags = [
      "ActionScript",
      "AppleScript",
      "Asp",
      "BASIC",
      "C",
      "C++",
      "Clojure",
      "COBOL",
      "ColdFusion",
      "Erlang",
      "Fortran",
      "Groovy",
      "Haskell",
      "Java",
      "JavaScript",
      "Lisp",
      "Perl",
      "PHP",
      "Python",
      "Ruby",
      "Scala",
      "Scheme"
    ];
    $( "#tags" ).autocomplete({
      source: availableTags
    });
  });
  </script>
</head>
<body>
<divclass="ui-widget">
  <labelfor="tags">Tags: </label>
  <inputid="tags">
</div>
</body>

This did not work. We also tried to install the JQuery library in our codetree and reference to in the code but without succes.

We also tried to move out the script declaration to \Client\javascript\scriptset1.aspx but this gave an error at the startup from Aras (iis was reset after scriptset1 modification)

Any suggestion on this or alternatives to Jquery.Autocomplete?

Regards,

Peter

 

 

 

 

 

AML to add project

Can you help me with minimal AML needed to open a new Project ? I tryed with this one, but it looks I can't handle WBS in a proper way. Probably it should be entered/created as dependency.

 

<AML>

  <Item type="Project" action="add">

   <name>Test</name>

   <date_start_sched>2014-01-01</date_start_sched>

   <date_due_sched>2014-06-01</date_due_sched>

    <wbs_id>Item type="Test"</wbs_id>       

  </Item>

 

</AML>

Change item_info display

In the new version 9.2, the item info for parts and documents (item_info) on the forms call this function

document.getElementById("ITEM_INFO_INTERNAL_SPAN").innerHTML = top.aras.uiDrawItemInfoTable(document.itemType);

    top.aras.uiPopulateInfoTableWithItem(document.item, document);

 

I would like to change the what info is called from the function, how can I select or de-select the properties it calls?

 

Thanks

 

Ron

upgradation

Hello Friends,

I am facing an issue while upgrading from 9.3 to 9.4.

"I have imported all related packages of "Project" to 9.4.

In 9.4 i can

                   Add project

                   update Project 

But while i tried to Unlock it gives error as per below.

Image may be NSFW.
Clik here to view.

The function "Business_day_number" is having some Difference in both Schema.

Procedure  "Get_pending_ready_activity2" is same .

What changes i should make to resolve above error.

Thanks in Advance :-)

Sagar Makhesana

 

How to localize the Workflow History Report?

Hi,

I'm trying to do some development on Aras Innovator 10.0, and I got stuck on the Workflow History Report. I had installed the official Chinese language pack, but the Workflow History Report page is still in English. I want to translate this Report page, but I don't have any idea about how to do this. I have checked the Workflow Process History item under Administration/Reports and the Workflow History Report method, but I can only translate the page title up to now. 

Does any one has some idea about how to translate this page?

Thanks,

Will Wang

Viewing all 1103 articles
Browse latest View live


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