ECO Item in Browser changes after voting it from Planning and to In Work
Hi all, Currently setting up a new production environment with V31 and have gotten a very special error on our ECO item. The ECO is slightly modified, but uses the EHT module from Minerva for dynamical assignment. Everything is going as planned until the ECO is voted to In Work. When the ECO refreshes it has changed its keyed_name to the affected_part keyed_name, and has gotten a new item ID. When trying to seach in the database after the ECO with the new item ID it does not exists. It seems that the ECO is now trying to be the afffected part, but the signoff tab still works, and we are able to finish the voting and release of the ECO and its affected parts. If we close the ECO tab and open it again its back to its normal state. It seems like its a client/browser issue, but I*m now at a miss to where troubleshoot. I have excluded server and client methods, but the issue is still present. We are using Edge (Version 131.0.2903.112 (Official build) (64-bit)) Any tips and help is greatly appreciated!0Views1like10CommentsHow to find ECR, ECO, EDR associated with PR using API GET call?
Hi, I need the data for all the PRs and ECR, ECO, EDR etc associated with the PR. By associated I mean the ones that show in the "where used" section of PR and not the relationships. In other words, what is the "where used' equivalent in a GET call? I then need the properties of the Affected Items under each ECR, ECO, EDR. I can get the properties of the relationshipships. GET call in Postman: https://nmg.dev.aras-cloud.com/staging/server/odata/PR?$expand=NMG_PR_AffectedItem This only gets the Affected Items under PR, I can get other relationships and their properties but the issue is there isn't a relationship between PR and ECR under PR item typeSolved0Views0likes2CommentsAras - ECO Impact Matrix - Email body additional fields mapping
Hello Aras experts, I am currently working on customizing the Aras ECO e-Mail settings. Currently, the workflow triggers fields such as Activity, Instructions, Eco number, and Title in the email content. However, I've received a request from our business users to incorporate more information from the ECO impact matrix. Integrating fields like ChangeReason and Description was straightforward, as they are available in the same API call as the email query string. On the other hand, attempting to retrieve details from the ECO Impact matrix (ECO-PartBOM) presents a challenge. This requires a separate API that takes the ECO's ID as input and responds with the associated ECO PartBOM information. This matrix includes data like PartBOM number, PartBOM name, Classification, subClass, Unit, and more. I've constructed an AML query string, but I've encountered difficulty when trying to insert the Indexed xPath Item ID, specifically using the format id="${Item[2]/@id}". This action results in an exception, leading to the failure of the API execution. I have a couple of inquiries: 1) Could someone kindly assist me in accessing the ECO ID or provide a potential solution for achieving this dynamic parameter insertion? 2) Is there a method to view the complete API RESPONSE and xPath directly on the page? My query String: ( The bold AML ID has the problem in Xpath access ) <Item type="Activity" id="${Item/ActivityId}" action="get" select="name,message"/> <Item type="${Item/@type}" id="${Item/@id}" action="get" select="item_number,title,id,change_reason,description"/> <Item type="ItemType" id="${Item/@typeId}" action="get" select="label,name"/> <Item type="Express ECO" id="${Item[2]/@id}" relName="Express ECO Affected Item" action="getItemRelationships"> <related_id> <Item> <Relationships> <Item type="Affected Item Property" action="get" select="new_item_id"></Item> </Relationships> </Item> </related_id> </Item> My HTML body: <BODY> <font size="+1"> <p>You have been assigned a new change management activity in Aras Innovator (details below). Please log in to Aras to complete the work.</p> <p><font size="+0" style="font-variant: small-caps">Activity:</font> ${Item[@type="Activity"]/name}<br/> <font size="+0" style="font-variant: small-caps">Instructions:</font> ${Item[@type="Activity"]/message}</p> <p><font size="+0" style="font-variant: small-caps">${Item[@type="ItemType"]/label}:</font> ${Item[2]/item_number}<br/> <font size="+0" style="font-variant: small-caps">Title:</font> ${Item[2]/title}<br/> <font size="+0" style="font-variant: small-caps">Change Reason:</font> ${Item[2]/change_reason}<br/> <font size="+0" style="font-variant: small-caps">Description:</font> ${Item[2]/description}</p><br/> </font> <B> ${substring("Some information needed to form this email was not found. Please contact your system administrator to ensure that the sender has privileges to view the items.", 1, (1-count(Item[2]))*158)} </B> <query_string>Type: ${Item/@type}</query_string></br> <query_string>ID : ${Item/@id}</query_string> </br> <query_string> ECO ID : ${Item[2]/id} <query_string> </BODY> Notification details: Item[2]/@id error screen shot(xpath doesnot support for such index) ECO Impact matrix screenshot ( these fields needs to access through AML and map HTML body. Regards, S. Senthurpari0Views0likes5Comments"Aras.Server.Core.ItemNotFoundException" When transitioning from "In Work" to "Preliminary" with ECO Express's WF Activity
Hi Community I'm having an issue and I'm hoping the community can help me solve it! In normal ECO Express WF of the Creator's operation goes to " Start--> Preliminary --> In Work" ,but what I'm trying to do is " In Work --> Preliminary" In other words, moving the workflow back one step. Therefore I'm using the following peice of code for dynamic voting of workflow : Dim sbVoteXml As New Text.StringBuilder("") sbVoteXml.Append("<Item type=""Activity"" action=""EvaluateActivity"">") sbVoteXml.Append(" <Activity>{0}</Activity>") sbVoteXml.Append(" <ActivityAssignment>{1}</ActivityAssignment>") sbVoteXml.Append(" <Paths>") sbVoteXml.Append(" <Path id=""{2}"">{3}</Path>") sbVoteXml.Append(" </Paths>") sbVoteXml.Append(" <DelegateTo>0</DelegateTo>") sbVoteXml.Append(" <Tasks />") sbVoteXml.Append(" <Variables />") sbVoteXml.Append(" <Authentication mode="" \ "" />") sbVoteXml.Append(" <Comments></Comments>") sbVoteXml.Append(" <Complete>1</Complete>") sbVoteXml.Append("</Item>") Dim itmVote As Item = Inn.newItem() itmVote.loadAML(String.Format(sbVoteXml.ToString(), sActivityID, sAssignID, sPathID, In_REVIEW)) itmVote = itmVote.apply()However, I got the error "Aras.Server.Core.ItemNotFoundException"...The "Preliminary" activity state is "closed", which may be the cause, but I don't know how to solve it. Do you know how to move the activity back one by using a server method etc.? In addition, should I think about "PE_ChangeItemTransition" too?(This Aras's standard method perform validation of Change item(ECN, ECO, etc..) which situated in state or promoted to another state)Could someone please let me know why this error is happening. I will be happy to help you with other information as needed. Thank you.1.7KViews1like1CommentChanges Pending checkbox still showing after ECO closed
Getting some really weird behavior on a few parts (only a handful) where after an ECO has been closed, the Part and CAD record still show the "Changes Pending" checkbox checked. We have been running into some situations where the CAD gets re-released but the older, Superseded version of the CAD remains on the Part Record BOM instead of the latest, released version floating into place where it is used.2.2KViews1like1CommentECO Validation
Good day all. I am trying to set up a validation (C#) for a field to make sure it is completed before moving to the next step in the Workflow Process. I have seen some information for validating a checkbox in C# and some form of validation with VB (I don't know VB). I can't seem to get this to work. The coding I have tried either stop everything or don't stop anything. I added the method to the Workflow Map Path as a Pre Method. I would appreciate any help with identifying what I have missed. Thank you. Change Request - sm_DEMO_NDR (it is a testing ground for me) Property - sm_change_end_state Innovator inn = this.getInnovator(); Item controlledItem = this.apply("s_Get Controlled Item"); string is_completed = controlledItem.getProperty("sm_change_end_state"); if (is_completed =="") return inn.newError("Must be complete!"); return this; Innovator inn = this.getInnovator(); // Set up the query Item. Item qryItem = this.newItem("sm_DEMO_NDR","get"); qryItem.setAttribute("select","sm_change_end_state"); //qryItem.setID(endState); if (qryItem = "") return inn.newError("Please select appropriate End State."); return this; Innovator inn = this.getInnovator(); Item endState = this.newItem("sm_DEMO_NDR","get"); string state = endState.getProperty("select","sm_change_end_state"); if (this.endState == "") {return inn.newError("Please select appropriate End State.");};Solved3.5KViews0likes2CommentsECO Closed, But Workflow is in Start
Good day all. I am new to ARAS and have been going through how our system is set up. There is a lot of customization done to the database by the previous contractor. Currently I have ECOs that have been marked as Completed, Canceled, Released, etc., but the Workflow is still in the Start status. When I try to step through the Workflow I am given a message stating the ECO is not in the correct state. How do I fix this problem? Thank you for your help.1.7KViews0likes0CommentsPart Number removed from ECO during mid workflow
A user has mistakenly removed a part number that was previously in a "Released" state from an ECO and now the part has multiple generations in a preliminary state. I need to correct this issues so that all previous versions of this part # is attached to the ECO and that only the latest generation of the part # is in a released state. Can you please provide steps for a fix?8.1KViews0likes5CommentsECO Workflow tasks according to Project Item type
Hi, I want to relate Express ECO with Project Item type. I will define the Review assignment for Project Manager. Then the workflow task is created for Jack (Project Manager of A Project), or for Mary (Project Manager of B Project). How can I achieve this? thanks Duygu1.8KViews0likes0Comments