Filter code WBS by project

Hello world

I develop application in .net using the service web p6ws. And I want to get the list of all the WBS to the selected project.

I'm filtering WBs with project id by following the path:

Public Function GetWBSs (pProjectID As String, wildcard As Boolean) As List (Of WBS)

Var vReadWBSs As ReadWBS = DefaultFields()

vReadWBSs.Filter = [string]. Format ("ProjectObjectId = '{0}'", pProjectID)

If generic then

vReadWBSs.Filter = [string]. Format ("ProjectObjectId LIKE '{0} %'", pProjectID)

End If

Var vWBSs As List(Of WBS) = GetWBSs (vReadWBSs)

Return If (vWBSs.Count = 0, List (Of WBS) (), vWBSs) new

End Function

Public Function DefaultFields() As ReadWBS

Var fields = New List (Of WBSFieldType) From {})

WBSFieldType.ObjectId _

WBSFieldType.Name _

WBSFieldType.Status _

WBSFieldType.StartDate _

WBSFieldType.FinishDate _

WBSFieldType.ProjectId _

WBSFieldType.ProjectObjectId

DefaultFields__1 = New ReadWBS() With {.} Field = fields. ToArray()}

Return defaultFields__1

End Function

Public Function GetWBSs (pReadWBSs As ReadWBS) As List (Of WBS)

Dim retVal = New List (Of WBS) (gWBSService.ReadWBS (pReadWBSs))

Return retVal

End Function

As a result, I have 7 files, but if I will execute select suite in DB: SELECT TOP 30 * [P6]. [dbo]. [PROJWBS] where proj_id = '3575', I have 8 drives.

What could be wrong?

Best regards

Dmitrij

Probably get you the list of projects.  As the WBS code table the table contains records that are not of 'projects '.  For example, all the lines of project appear in the project table.

The flow is so use project server to get a list of projects - you might what to return only 'Active', unless you want your utility to view all projects.  You link your windows component (say a drop-down list) with the short or long name with the id of the project. I noticed that you were using DevExpress, so you could link the short and long names.

The select event from the drop-down list, you get the WBSObjectID through project server (you could shoot that with your first call to populate the drop-down list) and this will be the root of your tree.

Then, you remove all the object of WBS code of the GetWBSs from the selected user.

This returns the elements of WBS code for the project.

Then you fill your tree using your WBSObjectID as the seed very probably a recursive routine as your collection of code WBS element.

V/r,

Gene

Tags: Oracle Applications

Similar Questions

  • Where code HTML5 webworks project?

    Where to encode a webworks project?

     

    I installed the cordova and git

    I usually built a project too.

    now I want to code the my project with JS and HTML 5

    where should I code that?

     

    You can remove the following lines from the index.html:


    BlackBerry WebWorks



    Thank you

    Naveen M

  • How to combine code C++ of Cascade with the native C code in a project?

    Purpose: Using C++ Cascade camera video sample with native C sensor log.

    and function by using Cascade C++ user interface with native C detection function.

    Problem: After putting code of Cascade C++ native code C, the library shows unresolved inclusion.

    Question: How do I combine code C++ of Cascade with the native C code in a project?

    Minimal code:

    #include
    #include

    #include 'printf.h.

    #include
    #include
    #include

    #include "hellovideocameraapp.hpp".

    to: bb::cascades:Application;

    int main (void) {app app (argc, argv);

    New HelloVideoCameraApp (&app);)

    Return app.exec ();

    printfhw();
    printf ("Hello new %d", hwnum);
    Return EXIT_SUCCESS;
    }

    You just add the header and call the function as you would normally call a C in C++ function.

    You will need to provide clarification as to what you are trying to accomplish.  In its current form it looks like you want to run C code in an application of cascades.  You are more that welcome to do so, there is nothing to stop you.

    Waterfalls of projects are default C++ projects.  You do not even need to use QML and can do everything straight c++.

    Cascades IS C++ and C and C++ get along very well, so the answer that was given to us.

    We cannot give exmamples because all you need to do is create a new project of cascades in the IDE and it will generate the default files for you who are C++.  Just add your headers and other whatnot and start coding.

  • What is the process when the code signing a project

    Hello

    In fact, what is happening in the background when I code sign a project? Y at - it online documentation that explains this?

    Thank you and my apologies if this has been asked before.

    I don't know the exact process, but I guess the BB has the public key of the signature server and can check its signature.
    only the signature server has the private key and can create a signature.

  • How to get the instance name in the custom filter code

    Hello

    I want to read the name of the instance from custom filter code, I tried to use the below code but its do not receive

    String instanceName = binder.getLocal ("IDC_Name");

    Is there a way to read the name of the Instance?


    Thank you...

    Use this:

    String instanceName = binder.getEnvironmentValue ("IDC_Name");

  • How many lines of code in a project?

    Is it possible to know how many lines of code in a project contains FlashBuilder? Somewhere fast for searching in a menu somewhere, a button to press?  Or even with technology the way it is now adays we must resort to open all files and count the lines?

    Here are a few suggestions:

    http://www.EclipseZone.com/Eclipse/forums/t83296.html

  • How can I add this css code to my project?

    I know there is an easy way to do it, but I can't understand it. I want to change the default text selection highlight color, and this is the css code. How can I add to my animated site of edge?

    Highlight the Code:

    : - moz - selection {}

    background-color: #BA9EB0;

    color: #ffffff;

    }

    : selection {}

    background-color: #BA9EB0;

    color: #ffffff;

    }

    Very well thought of her. Here's what I did:

    I added this line of compositionready in the scene:

    SYM $(" ") .appendTo ("#Stage");

    Then, I created a .css file with the css for color selection and saved as mystyle. CSS and placed the file in the folder where the project animate has been stored.

    Works like a charm now!

  • Delete a source code control RoboHelp project, without opening HR

    Hello

    I use HR 11 and Visual Studio source code control.

    I need to take an archived version of my HR project and open it to the changes that are not in the current project.

    When I unpack my archive, it automatically links to the source code control and downloads the latest version of the project.

    It supersedes the current source code control project and even change the mapping of the source control path must match the project archives.

    So what I need to be able to do, is open my archives project without source code control interface. Is there a file I can edit linking the project to source code control? I can't even open the project in HR because it distracts the mapping of source control.

    Thank you.

    It is fairly easy to do. See Rick's excellent post: October 2004 - ban witchcraft do not forget to remove the CPD file however.

    Kind regards

    Willam

  • Change the sql filter code trade name

    All,

    one of my filters is a "Term" Advanced sql code "' Code word ' = VALUEOF (NQ_SESSION. CSA_Analysis_Term)
    When I add the filter to the report (add a filter) the user does not understand the code above,
    and I can't seem to find a way to add a name to make it more useful to users.

    anyone tried it with that

    Thank you

    I see your problem...

    When you have used this session variable in filters part you are able to see the session instead of the value variable last rite?

    You have guest of dashboard set to "Term". "' Term Code ' to the dashboard page?
    If so, why by default the session here filters variable part of the report? by default it prompt default dashboard section...

    just say guest is on the code term column in your report

    Published by: Kishore Guggilla, November 29, 2010 23:38

  • Help me to integrate the generated code in a project of ndk/cascades

    Please ignore my expert status because it is only related to java, my knowledge of c / c ++ is mainly going back to University.

    My goal:

    Call a function on the services Web Microsoft Exchange (EWS).

    What I'm trying:

    (1) I downloaded Wsutil.exe, a tool for generating a wsdl c code

    See http://msdn.microsoft.com/en-us/library/windows/desktop/dd430644(v=vs.85).aspx

    (it's in the windows SDK

    (2) I call the utility with the Exchange webservice wsdl/xsd, it generates several c-h-files and

    (3) I have open Momentics with sample hellocascades

    (4) I throw all files c/h in the CBC hellocascades folder, add #include to the three h files generated and press compilation

    (5) I get a lot of mistakes, for example 'WCHAR' does not designate a type

    Is it possible that the generated code is only for Visual Studio and Momentics needs of other imports or something like that?

    I have attached the thus generated code classes (wsdl and xsd) Web services, but no Wsutil.exe and wsutilhelper.dll I don't like executables sent by unknown people myself.

    I know this isn't the best way to start, but I need a real target and compile helloworld does not give me a thing.

    If someone had a little bit of time to give me some advice here, I would be grateful.

    I have renounced the wws, does dependency after dependency, and even with the full SDK installed, I have not found all the required files h.
    opening a new thread for gsoap now

  • How can I change the separator cost Code (Code WBS)?

    Hello

    I thought this cost code separator is always hyphen ' - '.

    But in our demo database, I saw this code separator is the slash ' / '.

    Where can I put the separator for cost codes?

    There is a definition of data called separator cost Code. You can change the default value to whatever you want the separator to be.

  • Common organisation of the project in real time Code

    Hi people,

    I'm working on a project of RT using several cRIO chassis.

    I common code RT I want to use with the different cRIOs.

    What is a good way to organize the common code within the project?

    For example. I have the folder called "common RT.

    It seems that I have to put the folder this folder under a cRIO special so that the screws to be recognized as RT

    Are there other options?

    Thank you

    Steve

    Laughing out loud

    They will all point in the same VI and location but since each CRIO has its own compiler you must place the code under each cRIO.

    But if you make a change to the VI under the cRIO it will update for the rest also.

  • You can embed HTML code in a Captivate project?

    Hello.

    Is it possible to include HTML code in a project? I can't find any option to do. I use 7 Captivate.

    Thank you.

    I don't think that it would be possible to put the html code for this kind of function to call a css page and other things to get in shape.  Basically what I can pull the HTML that Captivate kicks just outside allows to establish the size of the viewport, resolution and basic information.  As I manipulate it so that I don't get a button "play" when I publish html5 on an I device and to make the address bar disappear a I device.

    I have a suggestion though.  If you could publish the timeline to an independent web address from captivate, you can call it as a web object from the captivate (another widget).  It opens just a Web page in captivate, or another possibility would be to have a call from both key page you have opened a new window of the browser of captivate.  Once the user has seen the chronology and closes the browser, they are immediately in the captivate project where they had left him.

    Hope this is useful,

    Brian

  • How do I get the instance name in the code to filter using different filters

    Hello

    I tried to read the name of the instance in my filter code using the code below

    String instanceName = binder.getEnvironmentValue ("IDC_Name");

    It worked very well for the validateStandard filter, but when using the afterExportBatch filter or afterImportBatch it gives null as a value. Could someone suggest a solution to read this value...


    Thank you...

    afterImportBatch recovered the value without problems for me in gR 10, 3.

    afterExportBatch is not a valid filter; afterArchiveBatchFile is the correct filter, but I got a null so...

    Try to use the afterDoArchivingExport and afterDoArchivingImport filters to see if they serve your purpose. You won't get a null value for the latter.

  • Location of projects Oracle - reusable codes and impact assessment

    Hi all

    We have a new requirement in Oracle projects-

    Our Client is implementing a new unit of operation for localization in a geographical area. He has been before, working unit and organization for this geographical area. What they want - there will be a relationship one between the new agencies and previous organizations (i.e. projects in old_org1 will be transferred to new_org1). So, to implement this.

    All projects (as well as the members of task and key) must be copied with the same project number and name (old ones must be invalidated by prefixing a code in the project number and the name of the project)
    Agreement and Budgets need to be copied. (The amount referenced against the budget should be same in all nine)
    Events must be copied with bill existing and amount of income. If the events are billed / income distributions, this should be changed.
    We are not yet decided if we will need to copy the expenses and other elements of the transaction (such as invoice or income lines lines).

    We are looking for APIs to accomplish these tasks.

    If anyone can help us with the reusable codes and guidance on Impact assessment in this scenario. We would especially like to know will there will be no impact on OTL if we copy the projects using the above method.

    Please let me know if detailed description is necessary.

    Kind regards
    Anand

    Hello

    I understood that you plan to create a new operating unit and move the activity of the existing control unit to the new. The solution that you plan to take is very risky and complex. It is compared to reimplementation and lose a large part of the integration with purchasing, accounts payable, accounts receivable, etc. OTL.
    You can compare that with the alternative, which allows localization on the existing control unit features.

    If this is not possible, you might consider letting all existing projects and their links to the existing po, ap, otl, ar etc within the existing control unit. After you create the new unit with its localization features, allow existing projects which will be charged by the new operating unit, or update the Organization owner of existing projects to the new localaized operating unit.

    Dina

Maybe you are looking for

  • Automatic downloads

    On my iPhone, if I go to: Settings > ITunes and App Store and look in the section DOWNLOADS AUTOMATIC, what is the difference between applications and updates?  Updates include the updates in iOS?  Apps DO includes Apps that I bought (or got for free

  • HP spectrum x 360 G1 H9W43EA: Question random BSOD HP spectrum x 360

    Nice dayA few weeks ago my laptop had against accidental damage to the display. I immediately sent it in repairs to ensure IT Services in South Africa, they're a HP authorized repair center. They sent me a quote asserting that the RAM is faulty as we

  • TOSHIBA HDD STOR. E partner 750Go PA4280E - 1 HG 5 - problem with the backup software

    Hello everyone I recently bought an external hard drive TOSHIBA HDD STOR. E partner 750Go (PA4280E - 5 1HG) with preinstalled backup software Nero BackItUp & Essentials. Unfortunately the software does not work. When I double-click on it to start it,

  • Equium A60 - noise emissions

    I had a problem with irritating noise since getting my A60. Whenever I start one of the games I have installed on the laptop the sound effect Manager always changes the setting 'Career' and I have to minimize the game and restore manually. It is done

  • Satellite M broken case series

    I have a 106 and 107 and both arrived with cracks on the side of the case to the monitor. (3-4 years ago) now less than a week apart, the hinges have completely broke and the screen must be held manually.Is this a common fault? Is - fixable? We are c