I am try to give private permission to item , for that I use cookbook of programmer guide .
but when I try code given in cookbook , it is not working.
Thanks in advance
I am try to give private permission to item , for that I use cookbook of programmer guide .
but when I try code given in cookbook , it is not working.
Thanks in advance
New install of Innovator 11.0 SP5 Build 6296. Client access via Mozilla Firefox 38.8.0 ESR.
When using simple search on any itemtype, Innovator displays "invalid search criteria" pop-up error. Same error no matter what I enter as search criteria (e.g. not using wildcards, using wildcards). If I do not enter search criteria then search works as expected.
I cleared all search criteria in Innovator, deleted Firefox cookies, deleted Firefox cached web pages. But this did not solve the problem when I re-enter any search criteria.
AML search does work, but Advanced search results in same "invalid search criteria"
Is there a solution for this problem
I need to have a html form with upper and lower sections, each section has multiple tabs.
The ARAS form builder seems not supporting this layout, if I have to develop a customized form, how to make it work with ARA.
What I need to do is --> when the workflow goes to the last step, the user clicks the assigned task in his/her basket, then this customized form will be displayed with all data fields populated from server.
I am new to ARAS, any suggestion would be helpful.
Thanks
Hello, i have a question/suggestion
Is it possible to populate properties of itemtype from completion dialog? Lets say a user receives a task to analyze something, and the property analysis_results would show up in his completion dialog, so he would not have to open up the form for the item type.
On the workflow process map it is possible to assign a variable which show's up on the completion dialog, it would be amazing if the type of variable could be a property.
Hope you can understand the idea
Thanks
How to call External WSDL (SOAP request) to inside Aras Server side method.
Hello friends,
I am try to create a project from other item type name "TestItem" by creating a custom method name "Create a Project" on Action menu So when i click then it prompts error
" error=TypeError: srcNode is null"
Method as shown below
try{
var inn=this.newInnovator();
var TestItem=this.newItem("TestItem","get");
TestItem.setAttribute("select","id","project_name");
TestItem.setID(this.getID());
var TestItems=TestItem.apply();
if(TestItems.isError())
{
top.aras.AlertError("Error:"+TestItems.getErrorDetail());
}
var Project=top.aras.newItem("Project","add");
top.aras.setItemProperty(Project,"name",this.getProperty("project_name"))
top.aras.uiShowItemEx(Project,"tab view",true);
}
catch(e)
{
top.aras.AlertError("error="+e);
}
So if anybody have a solution on above query so please help.
Thanks in advance
Abhishek Srivastava
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
Is there a way to multi-select items and promote versus having to promote one item at a time?
I have a JavaScript method that runs on the OnInsertRow event of a RelationshipType. My question is, are C# methods allowed to be run on ReltationshipType events? Or are client side JavaScript methods only allowed?
Normal 0 21 false false false FR X-NONE X-NONE
Hello everyone,
After launching Aras Innovator 11.0 SP5 Build: 6296, most sections of the "Contents" menu displays the error below.
Normal 0 21 false false false FR X-NONE X-NONE
In English, that given below (for
the start) :
"The name of the column'LABEL' is specified multiple times in the SET clause. It isn't possible to
assign multiple values to a column in the same SET clause. Modify the SET clause so that a column is updated only once. If the SET clause
updates columns of a view, the name of the column 'LABEL' may appear twice in
the view definition. in SQL: INSERT INTO..."
In your opinion, where do I change set SET clause for resolve this error?
Thanks for your help and suggestions
Regards
Hello,
I am attempting to programmatically add a user into the Administrators group using C#. My goal for doing this is to place the user into the Administrators group, then execute an AML statement, and then revoke the user's administrative rights after the AML runs.
Any help would be very much appreciated.
Hello, I have a doubt about how I create for example a module to import a .CSV file to the program.
For example,and I would like to Add to Aras using a button and selecting the file.
It is possible?
Hello all - this is my very first post on here but I am sure it wont be my last :)
is it possible to rename a document using a method?
The reason behind this is because I want the user defined document name to be overwritten by an automated name. I cant use a sequence to do the document naming for me as I have different sequences defined based on classification but can only define one sequence for the document property.
As a result a user will create a document and select the classification and name the document as they wish. On close I would like a method to run that uses the classification to rename the document based on a sequence linked to classification
thanks
Hello Guys,
I use below code to get total man hours of employee but it will take too much time too respond, So is there any way to get report on less time.
Report Query
<Item type="TimeSheet" action="get" select=""/>
StyleSheet =
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:aras="http://www.aras-corp.com" version="1.0">
<xsl:output method="html" encoding="utf-8"/>
<xsl:template match="/">
<html>
<head/>
<style type="text/css" userData="Global">
table {empty-cells:show; border-collapse:collapse;}
th {font-family:helvetica; font-size:8pt; padding:2px; border:1px #000000 solid; background-color:#CCCCCC; text-transform:capitalize;}
td {font-family:helvetica; font-size:8pt; padding:2px; border:1px #000000 solid;}
td.noBorder {font-family:helvetica; font-size:8pt; padding:2px; border-width:0;}
.cellHeader {background-color:#CCCCCC;border-top:1px #000000 solid;border-right:1px #000000 solid;border-bottom:1px #000000 solid;padding:2px;text-align:center;
text-transform:capitalize;text-align:left;font-family:helvetica;font-weight:bold;font-size:8pt;}
table
{
border-collapse:collapse;
}
table, td, th
{
border:1px solid black;
}
</style>
<body bgcolor="#E6E6FA">
<table>
<body topmargin="50" leftmargin="50">
<table border="0" cellspacing="0" cellpadding="0" width="1000">
<tr valign="top">
<td class="cellHeader" uniqueID="ms__id13" align="left" colspan="" rowspan="" height="" width="30%" style="font-family:helvetica;font-size:12pt;padding:2px;">User Name</td>
<td class="cellHeader" uniqueID="ms__id13" align="left" colspan="" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">IEC</td>
<td class="cellHeader" colspan="" uniqueID="ms__id14" align="left" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">EoS</td>
<td class="cellHeader" colspan="" uniqueID="ms__id15" align="left" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">CAE</td>
<td class="cellHeader" colspan="" uniqueID="ms__id16" align="left" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">STP</td>
<td class="cellHeader" colspan="" uniqueID="ms__id16" align="left" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">RP</td>
<td class="cellHeader" uniqueID="ms__id13" align="left" colspan="" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">STM</td>
<td class="cellHeader" colspan="" uniqueID="ms__id14" align="left" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">BPM</td>
<td class="cellHeader" colspan="" uniqueID="ms__id15" align="left" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">JGF</td>
<td class="cellHeader" colspan="" uniqueID="ms__id16" align="left" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">MC</td>
<td class="cellHeader" colspan="" uniqueID="ms__id16" align="left" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">MIND</td>
<td class="cellHeader" uniqueID="ms__id13" align="left" colspan="" rowspan="" height="" width="10%" style="font-family:helvetica;font-size:12pt;padding:2px;">Total</td>
</tr>
<tr>
<td class="cellHeader" uniqueID="ms__id13" align="left" colspan="" rowspan="" height="" width="30%" style="font-family:helvetica;font-size:12pt;padding:2px;">Ashis Kumar Naik</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id1">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and department='IEC' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me1" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id1').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me1') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id2">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and department='EoS' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me2" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id2').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me2') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id3">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and department='CAE' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me3" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id3').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me3') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id4">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and department='STP' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me4" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id4').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me4') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id5">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and department='RP' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me5" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id5').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me5') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id6">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and department='STM' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me6" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id6').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me6') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id7">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and department='BPM' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me7" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id7').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me7') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id8">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and department='JGF' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me8" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id8').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me8') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id9">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and department='MC' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me9" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id9').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me9') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id10">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and department='MIND' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me10" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id10').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me10') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
<td width="10%">
<table border="0" cellspacing="0" cellpadding="0" width="67" id="id11">
<xsl:for-each select="//Item[@type='TimeSheet']">
<variable name="effDate" select="created_on" as="xs:date"/>
<xsl:variable name="year" select="substring(created_on,1,4)"/>
<xsl:variable name="month" select="substring(created_on,6,2)"/>
<xsl:variable name="day" select="substring(created_on,9,2)"/>
<xsl:if test="$month='03' and employee_name='Ashis Kumar Naik'">
<tr valign="top" style="display: none;">
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="project_number"/>
</td>
<td class="cellSolidRightBottom" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="name"/>
</td>
<td class="count-me11" style="font-family:helvetica; font-size:8pt; padding:2px;" uniqueID="ms__id17">
<xsl:value-of select="man_hours"/>
</td>
</tr>
</xsl:if>
</xsl:for-each>
<tr valign="top">
<td colspan="2" align="center">
<script language="javascript" type="text/javascript">
var tds = document.getElementById('id11').getElementsByTagName('td');
var sum = 0;
for(var i = 0; i < tds.length; i ++) {
if(tds[i].className == 'count-me11') {
sum += isNaN(tds[i].innerHTML) ? 0 : parseInt(tds[i].innerHTML);
}
}
document.write(sum);
</script>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script src="../../javascript/PopupMenu.js"/>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Thank You
Abhishek Srivastava
Dear Sirs,
I'm using Aras Innovator 11 SP5.
CAD Document Form has Part Relationship Tab.
When the CAD Document is referred by some Parts, the Part Relationship Tab shows these parts.
But, I set Browser's language Japanese, the Relationship Tab doesn't show any parts.
This problem occur with IE and Firefox.
Does anybody have solution?
Best Regards,
Yonosuke TAKAJO
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.
hiii
I am new to aras i want to show relatonship item data to grid on form so i write following code in that i write jd code to add relationship to parent item (for selected item from search dialog) but i am not able to add relationship it ives error="Insufficient permission to add item " but i gave write permission to item i Can Add and Permission peroperty of item
i code is-
<script type="text/javascript" src="../javascript/include.aspx?classes=ScriptSet2"></script>
<script type="text/javascript" src="../javascript/include.aspx?classes=XmlDocument"></script>
<script type="text/javascript" src="../javascript/include.aspx?classes=/dojo.js"
data-dojo-config="isDebug: false, parseOnLoad: false, baseUrl:'../javascript/dojo'"></script>
<script>
var gridControl = null;
var gridXML = '' +
'<table>' +
getHeaderForPackRecon() +
' <tr>' +
' <td>Test</td>' +
' <td>test2</td>' +
' </tr>' +
'</table>';
alert(gridXML);
window.addEventListener("DOMContentLoaded", function () {
clientControlsFactory.createControl("Aras.Client.Controls.Public.GridContainer", {id: "grid", connectId: "gridTD"}, function(control)
{
gridControl = grid = control;
clientControlsFactory.on(grid, {
"gridClick": onClick,
"gridKeyPress": onKeyPressed,
"gridEditCell": OnEditCell,
"gridMenuClick": onMenuClick,
"gridMenuInit": InitMenu,
"gridDoubleClick": onDoubleClick
});
gridControl.Delimeter="|";
gridControl.InitXML(gridXML);
});
});
function getHeaderForPackRecon()
{
// Create this String <th align="c">Name</th>
alert("test1");
var aml = "<Item type='Symbi_PackRecons_Item' action='get' ><source_id>" + document.itemID + "</source_id></Item>";
var res = top.aras.soapSend("ApplyItem", aml);
var nodes = res.getResult();
var nodesCount = nodes.childNodes.length ;
alert(nodesCount);
var tHeadStart = "<thead>";
var theadEnd = "</thead>";
var header = "";
var colStart = "<columns>";
var colEnd = "</columns>";
var col = "";
for (var i = 0; i < nodesCount; i++) {
var node = nodes.childNodes[i];
var relItemID = node.getAttribute("id");
var relItem = top.aras.getItemById("Symbi_PackRecons_Item", relItemID);
var fmItemID = top.aras.getItemProperty(relItem, "related_id");
var fmItem = top.aras.getItemById("FM_Item", fmItemID);
var itemNo = top.aras.getItemProperty(fmItem, "item_id");
header = header + "<th align='c'>"+ itemNo + "</th>";
col = col + "<column width='130' order='"+i+ "'/>" ;
}
var ret = tHeadStart + header + theadEnd + colStart + col + colEnd ;
alert(ret);
return ret;
}
function onClick(row, col)
{
return;
}
function onKeyPressed(kEv)
{
return;
}
function OnEditCell(event, row, col)
{
return;
}
function onMenuClick(menuChoice)
{
return;
}
function InitMenu(row, col)
{
return;
}
function onDoubleClick(rId)
{
return;
}
function doheader()
{
var itemtypeID = top.aras.getItemTypeId("FM_Item");
var param = { aras: top.aras, itemtypeID: itemtypeID, multiselect: true };
var options = { dialogWidth: 700, dialogHeight: 450 };
var results= top.aras.modalDialogHelper.show('DefaultModal', window, param, options, 'searchDialog.html');
for (var i = 0; i < results.length; i++)
{
var result = results[i];
}
var item = document.thisItem;
alert(item);
var vpack = item.newItem("Symbi_Pack_MterialRecons","add");
var fmi=item.newItem("FM_Item","get");
fmi.setProperty("id",result);
var resfm=fmi.apply();
var vATRPara = item.newItem("Symbi_PackRecons_Item","add");
vATRPara.setProperty("source_id",item.getID());
vATRPara.setProperty("related_id",result);
vATRPara.setRelatedItem(fmi);
vpack.addRelationship(vATRPara);
var res=vATRPara.apply();
alert(res);
}
function dostandarddetail()
{
var itemtypeID = top.aras.getItemTypeId("Symbi_PackMaterialRcons_Detail");
var param = { aras: top.aras, itemtypeID: itemtypeID, multiselect: true };
var options = { dialogWidth: 700, dialogHeight: 450 };
//getHeaderForPackRecon();
var results= top.aras.modalDialogHelper.show('DefaultModal', window, param, options, 'searchDialog.html');
for (var i = 0; i < results.length; i++)
{
var result = results[i];
}
var item = document.thisItem;
alert(item);
var vpack = item.newItem("Symbi_Pack_MterialRecons","add");
var fmi=item.newItem("Symbi_PackMaterialRcons_Detail","get");
fmi.setProperty("id",result);
var resfm=fmi.apply();
var vATRPara = item.newItem("Symbi_PackRecons_Detail","add");
vATRPara.setProperty("source_id",item.getID());
vATRPara.setProperty("related_id",result);
vATRPara.setRelatedItem(fmi);
vpack.addRelationship(vATRPara);
var res=vATRPara.apply();
alert(res);
}
</script>
<div id="ButtonSection" class="logicalSubSection" align="center" style="padding-bottom: 15px;">
<input type="button" class="btn" id="Button1" name="headerbutton" value="Add Header Item" onclick="doheader()" />
<input type="button" class="btn" id="Button2" name="detailbutton" value="Add Standard Details" onclick="dostandarddetail()" />
<input type="button" class="btn" id="completeButton" name="Complete" value="Add Details" onclick="" />
</div>
<table>
<tr>
<td style="width:800px; height: 800px;" valign="top" id="gridTD">
</td>
</tr>
</table>
this code is written in html field code of form
please help me as early as possible
Hello
We're a startup company and I'm the only user of Innovator.
I've created the database of parts, assemblies, manufacturers, documents etc and that all does what I need it to - basically just to record reference numbers and links between them.
Everything is in state 'preliminary'.
I'd like to be able to advance through the states to 'released' and 'superseded' or 'obsolete', but I don't want to have to use a complex ECO/ECN/MCO... etc system.
We have a change management process - printed, signed documents - outside of Innovator and that's not going to change any time soon.
So, my question is this - what's the very simplest way of being able to change state? (for parts & documents)
(note when I select 'promote' on a part right now I get an error 'no promotions available' and don't know why)
Cheers
Bob
Hello, i have a question/suggestion
Is it possible to populate properties of itemtype from completion dialog? Lets say a user receives a task to analyze something, and the property analysis_results would show up in his completion dialog, so he would not have to open up the form for the item type.
On the workflow process map it is possible to assign a variable which show's up on the completion dialog, it would be amazing if the type of variable could be a property.
Hope you can understand the idea
Thanks