Aras Innovator Get Project task serial number

Source: Internet
Author: User

Method Name: getprojecttasksnumber//function Description: Get project Task serial number//original joe//created: 20141225//All rights reserved (C) JOE. fan//--------------------------------------------------------System.Diagnostics.Debugger.Break (); Innovator inn = This.getinnovator (); string wbsid = "61a469a19b3d422ab47bd3627622afd4"; Item test = Inn.applymethod (" Getactivitiesnumbers "," <rootWBS> "+ wbsid +" </rootWBS> "); XmlDocument resdom= CCO. Xml. Createxmldocument (); string outerxml = Test.dom.outerxml;resdom.loadxml (OuterXml); XmlNode RootNode = Resdom.selectsinglenode ("//result"), if (RootNode = = null) {return Inn.newerror ("Current project has no task Node");} XmlNodeList anodes = rootnode.selectnodes ("/descendant::a"), if (anodes = = null) {return Inn.newerror ("Current project has no task Node");} Number = Anodes[i]. Attributes.item (1). Value;id = Anodes[i]. Attributes.item (0). Value;return This;applymethod ("Getactivitiesnumbers", "<rootWBS>" + wbsid + "</rootWBS>") Rootwbs ID, will return the structure of the Projecttree in XML format

Aras innovator Get project task sequence number

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.