Field not set: ParentEPSObjectId when creating Project.

Hi everyone,
I'm developing .net application and getting data from primavera by using p6 web service. At the moment I stuck on project creation. I'm using following code to create a new project:
Public Function CreateOneProject(pProjectName As String, pProjectId As String, pParentEpsObjectId As Integer, pPlannedStart As Date, pPlannedFinish As Date, pParentOBSObjectId As Integer) As Integer
     Dim vNewProject As Project()
     vNewProject = New Project(0) {}
     Dim vProject As New Project()
     vProject.Name = pProjectName
     vProject.Id = pProjectId
     vProject.ParentEPSObjectId = pParentEpsObjectId
     vProject.StartDate = pPlannedStart
     vProject.FinishDate = pPlannedFinish
     vProject.OBSObjectId = pParentOBSObjectId
     vNewProject(0) = vProject
     Dim retVal As Integer() = gProjectService.CreateProjects(vNewProject)
     Return retVal(0)
End Function
And getting error message: Field not set:ParentEPSObjectId when creating Project.
EPS Object ID i'm selecting from lookup. In this lookup datasource I have following fields from ReadEPS: ObjectId, Name, Id, ParentObjectID.
As I understood, I should to get ObjectID of selected EPS and to set as parameter in CreateOneProject function. But it's not working.
Could someone help me?
Best regards,
Dmitrij

I found what was the problem.
Did not specify following field: ParentEPSObjectIdSpecified = true. With this field I can save.

Similar Messages

  • How to set plant to all WBS when creating Project using Copy Standard Project  (CJ20N)

    Hello
    I have created standard project with several WBS. Now I want t o create operative project in CJ20N by copying standard project. While copying I want that the system allows me to define the plant for which the project is created and it gets automatically copied to project defination and all WBS elements. Since I have around 30 plants, I havent maintained any default plant in Standard project. How I can achive this requirement to specify the plant when creating project so that it is automatically copied to all WBS.
    Murad

    Hi Murad,
    I can see three viable options over here. If you are using the same plant across the project structure (on all the WBS elements) you can then go with the suggestion Saurabh suggested (Defaulting it in the project profile itself).  In addition to writing a substitution rule at the PD level, you can also go ahead with the option of mass change in case you have created a project(by copying from an operative project already with some default plant.)? Is something stopping you from carrying out mass change? Please let me know.
    Thanks
    Varun

  • Test Note (Documentation Type) when creating Test Plan

    Hi Gurus.
    After we upgraded our SolMan 7.0 system from Support Pack (ST component ) level 19 to level 25,  I noticed this new field "Test Note" (Dcoumentation Type) when creating a Test Plan in transaction STWB_2.
    Initially, when I haven't chosen any project yet, this field has a list-of-values (i.e. Test Case Note, iTutor Document) but when I choose a project, the list-of-values only showing "ST". I also tried choosing another project and there is no value in the list.
    Does anyone know where this list is coming from or how I can configure this?
    It looks like project-related and but I couldn't find any settings for this.
    Can this field be turned off so it will not show in the screen?
    Thanks,
    Tess

    Hi Tess,
    The documentation type ST is the standard documentation type for test notes.
    Test notes are needed by testers to document results in detail during/after testing a test case.
    In SOLAR_PROJECT_ADMIN  there is the text menu 'GOTO - Project Template - Implementation Projects'
    and then there to the tap 'Documentation Types' to do the default settings for 'ST' for all implementation projects.
    Otherwise you'll have to change settings in the administration for each project!
    There you can assign your own documentation template for ST in the central settings.
    If you are using other project types for testing you'll have to do the same for each project type.
    Regards,
    Adelbert

  • ERROR When Create Project

    Hello,
    I receive this below error when create project 
    GeneralQueueJobFailed (26000) - CreateWssSite.CreateWssSiteMessage. Details: id='26000' name='GeneralQueueJobFailed' uid='c27f372b-2a35-e311-9420-00155d000806' JobUID='05a50b2a-2a35-e311-9420-00155d000806' ComputerName='cb123222-a0b2-4ad1-bd20-3e4809df7a4a'
    GroupType='CreateWssSite' MessageType='CreateWssSiteMessage' MessageId='1' Stage='' CorrelationUID='58b84c9c-8266-f0a7-f7a4-a41dcfc7411f'. For more details, check the ULS logs on machine
    cb123222-a0b2-4ad1-bd20-3e4809df7a4a for entries with JobUID
    05a50b2a-2a35-e311-9420-00155d000806

    Hi Khaleel,
    Do you see only this message or do you also see something like below:
    CreateWssSiteContent: Creating project site failed! Project Uid=8e180c10-5433-4424-a236-54ea989872fa, site URL=http://PROJECT.test.com/PWA/AAAtest1000, site name=AAAtest1000. Microsoft.SharePoint.SPException: The site template requires that the Feature {e8389ec7-70fd-4179-a1c4-6fcb4342d7a0}
    be installed in the farm or site collection. at Microsoft.SharePoint.Utilities.SPUtility.ThrowSPExceptionWithTraceTag(UInt32 tagId, ULSCat traceCategory, String ......
    So, if you see the above message, its a feature that is missing. How many servers do you have in the farm? Do you have a separate project application service server?
    In that case you will have to copy the feature under "14\TEMPLATE\FEATURES" features folder from WFE to application server also. This is because when creating a project workspace, PSI will refer to this feature on application
    server and since it is not present in application server, it fails creating the site.
    Happy troubleshooting.....
    Vikram Daruru - MSFT

  • Problem when Creating Project (Composite Application Services) in NWDS

    I've seen a few posts regarding this but I don't feel as if any real solution was given.
    I just installed Netweaver Developer Studio (7.0.15) with the current JDK/JRE (1.6.0_07).  When trying to create a new Composite Application Services project within the Studio, using the new project wizard, I get an error: Problem when Creating Project.
    I get the EJB Module and Dictionary to create within my navigator with no problems, however, during the creation of the metadata, the error occurs.  I do have the metadata folder appear within the navigator, but nothing in it.  None of the other three items are created.
    I have tried the attempt at deleting the metadata folder within my workspace directory and trying again but the same exact result occurs.
    Is there any other solution out there for this problem besides attempting to find older versions of NWDS, etc. that are more "stable"?
    Thank you!

    Durga,
    Very simple but effective solution.
    I had tried uninstalling / re-installing NWDS with no effect but uninstalling / re-installing NWDS AND all java related products on my machine did work.
    Note: For anyone else with this issue in the future.  I installed the Java SDK / JRE 1.4.2_18 with NWDS 7.0.15 in case this is also a possible issue with versions.
    Thanks, Durga!

  • "Problem when creating project"

    Hi,
    I am trying to create a new Composite Application Services project using Netweaver studio 7.011. When it came to the final step of the Project creation wizard, an error message pop-up saying "Problem when creating project".
    I have tried the methods posted in the forums, but its doesn't work for me.
    "Problem when creating project"
    Problem creating a composite applications project
    Can advise on how to resolve this?
    I am currently using Java 1.4.10 and NW2004s SP11.
    Thanks a lot.
    Regards,
    aiwei

    Hi Chandan,
    I still encounter the error message and this time, it only create the ejbmodule folder. In mine previous creation, I have dictionary, ejbmodule, metadata and webdynpro.
    I realised that there is some different in the .plugin folder and the previous .plugin folder of the .metadata.
    Not sure whether is it affected by the .plugin folder. Is there a list of .plugin required?
    can advise?
    Thanks again.

  • HT4859 The restore from iCloud was not set up when my iPad was reset

    The restore from iCloud was not set up when my iPad was reset

    Hi ljyjry,
    Thanks for visiting Apple Support Communities.
    See these articles for some information and steps that can help:
    iCloud: Restore your iOS device from iCloud
    http://support.apple.com/kb/ph12521
    iCloud: Troubleshooting restore issues with iCloud Backup
    http://support.apple.com/kb/TS4036
    Cheers,
    Jeremy

  • Does only Adobre Reader "reads" the fields of a PDF when created with Acrobat?

    I created a PDF with several fields and exported it.
    Then I tried to open it with Firefox and the fields didn't appear.
    But it works OK with Adobe Acrobat.
    Does only Adobre Reader "reads" the fields of a PDF when created with Acrobat?

    Adobe software reads form fields. The rules for how to do form fields are a part of the PDF standard (a book available to anyone) but some companies ignore it and others do half a job. To be safe, use only Adobe Reader. And beware of browsers that ignore Adobe Reader even if you have it.

  • Layer mask occasionally does not have link when created

    when addidng a layer mask sometimes it does not have link when created which can get annoying when you dont realize it and you start moving groups.
    its happened a few times already.

    hi, most of my psds have tons of layers and i create the masks in a variety of ways, such as clciking on the mask icon or alt clicking when i have a selection going, i didnt notice anything until i started moving groups and things started getting messed up. today im going to pay attention every time  i make a mask to see if there was a specific task tthat is causing it.

  • Can't find 1:1.85 aspect option when creating Project

    Can't find 1:1.85 aspect option when creating Project.
    I have files shot on Canon C300 in 16:9, but we had the 1:1.85 aspect lines on the camera and I can't figure out how to incorporate those frame lines for editing.
    Is the best way to do it when creating the project? Or is the best way to edit the files in 16:9 and mask the final product?
    Thanks,

    http://www.panavision.com/
    http://www.panavision.com/learn
    http://www.panavision.com/2-perf-explained
    and finally...
    http://www.panavision.com/sites/default/files/docs/documentLibrary/FormatSpecs2010.pdf
    it's PANY

  • Multiple picklist field not showing up when trying to create a custom repor

    I recently have created 4 new fields in CRM, and 3 of the 4 fields can be found to create a report. For some reason, the multiple picklist field has not shown up. Any suggestions or advice on why this is an issue?

    Hi,
    The multi-select picklist should be available in the Analytics reports not in real-time reports.
    Another thing is that there is a delay in metadata refresh in reports, in staging it is about a week, in production it is 1 day, I think. so if you created a multi-select picklist in staging today, it would be available in analytics reports maybe after a week.
    Regards,
    Ani

  • Problem with Buttons/Form Fields in Acrobat PDF when created in InDesign CS4

    So I have been working for quite some time on an interactive form for an internal client at my job. It has two major components, one is the side bar navigation, which I created using buttons in InDesign which link to bookmarks in the document. The second aspect is that I also created "check boxes" accoring to this video: http://www.adobe.com/designcenter/cs4/articles/lrvid4434_ds.html
    I have two major issues:
    1. Whenever I try to convert my boxes to form fields in Acrobat it will not recognize them unless I save out 4 pages at a time (rather than the whole document).
    2. I then have to combine the document and get multiple sets of bookmarks, and some bookamrks are corrupted (not working properly). Even when I try to convert the whole document some of the buttons are corrupted.
    UGH tired of this project, I am really bastardizing the whole thing to get it done, but want to figure out the problem as this is an ongoing document that we will be using over and over again in future years.
    I am attaching the pdf file--this is a pieced together one (saved out 4 pages at a time) (which I did do some fixes to to get buttons to go to proper locations) and the original indesign file (partial file due to size).
    PLEASE OH PLEASE HELP ME!

    Acrobat's Form Wizard is good but not perfect when creating form data from a PDF. I have never encountered Acrobat not able to finish the process of creating all form fields, but have encountered very slugish performance afterwards when there was a lot of forms, buttons, and other elements within the pages. And I would say, from your attached PDF, it is pretty heavy with content. I am going to suggest an idea, but I have not tested this to see if it would work.
    In InDesign, create a layer for your navigation tabs, and a layer for your text with the check boxes. Create two PDFs from ID, one PDF with just your-nav tabs, the second with just your text with check boxes. In Acrobat, perform the Form Wizard on the second PDF and see if this will finish, the idea here is to reduce the cllutter for the Form Wizard to finish. If it does, you can merge the first PDF as a layer with the second to have a completed document. Again, I have not tested this theory.

  • Name does not override correctly when creating a Division from template

    I am still having a problem when creating Divisions with the WebServices API.
    Namely, when I create a Division based on a Template (in order to have a given default thumbnail image and description, etc) the Name parameter (the "title" of the Division, which appears next to its icon on the main site page inside the top level Section boxes) is never set correctly. The Name I specify for the Division never overrides the default.
    In my example, I try to create a Division with name "Food Science and Human Nutrition." It is based on a Division template with handle 1911155332. The Name of that Division template is "Robot Division" and the ShortName is "RobotDivision".
    I am sending the following XML via Web Services:
    <ITunesUDocument>
    <Version>1.1.3</Version>
    <AddDivision>
    <ParentHandle>1945525657</ParentHandle>
    <ParentPath/>
    <TemplateHandle>1911155332</TemplateHandle>
    <Division>
    <Name>Food Science and Human Nutrition</Name>
    <ShortName>FSHN</ShortName>
    <Identifier>RobotCourses:FSHN</Identifier>
    <Permission>
    <Credential>Authenticated@urn:mace:itunesu.com:sites:illinois.edu</Credential>
    <Access>No Access</Access>
    </Permission>
    <Permission>
    <Credential>Student@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:FSHN</C redential>
    <Access>Download</Access>
    </Permission>
    </Division>
    </AddDivision>
    </ITunesUDocument>
    The Division is created and no errors come back. However, when I look at the site, the Name of the newly created Division is "Robot Courses" (not "Food Science and Human Nutrition" as I want). The ShortName IS correctly set to "FSHN" as I specified in the XML.
    Incidentally this was part of creating a Course "FSHN 101," the Course is also based on a Course template, but it creates with the Name and ShortName as I desire and there are no other problems - I can log into the Division and Course as expected.
    *QUESTION #1: Is anyone else out there ever having this problem?*
    *QUESTION #2: Is there anything obviously wrong in my XML?*
    I have tried this multiple times, always with the same result. Creating Divisions not based on a template works (but for various reasons we need to be able to use templates). I have been unable to edit the Name after the fact with MergeDivision either.
    Our campus Apple contact sent in a ticket about this, but the response from Apple was to post here in the forum, which is monitored. I am unsure if I should post questions of this sort here in the Administrators Forum or in the general forum, for this one I will try both.
    Thank you very much for any assistance.

    I am still having a problem when creating Divisions with the WebServices API.
    Namely, when I create a Division based on a Template (in order to have a given default thumbnail image and description, etc) the Name parameter (the "title" of the Division, which appears next to its icon on the main site page inside the top level Section boxes) is never set correctly. The Name I specify for the Division never overrides the default.
    In my example, I try to create a Division with name "Food Science and Human Nutrition." It is based on a Division template with handle 1911155332. The Name of that Division template is "Robot Division" and the ShortName is "RobotDivision".
    I am sending the following XML via Web Services:
    <ITunesUDocument>
    <Version>1.1.3</Version>
    <AddDivision>
    <ParentHandle>1945525657</ParentHandle>
    <ParentPath/>
    <TemplateHandle>1911155332</TemplateHandle>
    <Division>
    <Name>Food Science and Human Nutrition</Name>
    <ShortName>FSHN</ShortName>
    <Identifier>RobotCourses:FSHN</Identifier>
    <Permission>
    <Credential>Authenticated@urn:mace:itunesu.com:sites:illinois.edu</Credential>
    <Access>No Access</Access>
    </Permission>
    <Permission>
    <Credential>Student@urn:mace:itunesu.com:sites:illinois.edu:RobotCourses:FSHN</C redential>
    <Access>Download</Access>
    </Permission>
    </Division>
    </AddDivision>
    </ITunesUDocument>
    The Division is created and no errors come back. However, when I look at the site, the Name of the newly created Division is "Robot Courses" (not "Food Science and Human Nutrition" as I want). The ShortName IS correctly set to "FSHN" as I specified in the XML.
    Incidentally this was part of creating a Course "FSHN 101," the Course is also based on a Course template, but it creates with the Name and ShortName as I desire and there are no other problems - I can log into the Division and Course as expected.
    *QUESTION #1: Is anyone else out there ever having this problem?*
    *QUESTION #2: Is there anything obviously wrong in my XML?*
    I have tried this multiple times, always with the same result. Creating Divisions not based on a template works (but for various reasons we need to be able to use templates). I have been unable to edit the Name after the fact with MergeDivision either.
    Our campus Apple contact sent in a ticket about this, but the response from Apple was to post here in the forum, which is monitored. I am unsure if I should post questions of this sort here in the Administrators Forum or in the general forum, for this one I will try both.
    Thank you very much for any assistance.

  • Error when creating project for ESS

    I am getting the folowing error when creating a project in Dev Studio for the ESS leave application ess~lea. Pls help
    Failed to sync DC "sap.com/ess/lea(sap.com_SAP_ESS_1)" in configuration "JDI_XSSTrack_D". File "C:\Documents and Settings\User\.dtc\0\DCs\sap.com\ess\lea\_comp\.dcdef" does not exist locally after sync but it exists on the serve
    Regds
    Thirur

    Uninstalled and reinstalled the dev studio. Now it works.

  • SRM 7.0 - Unconfirmed PO limit items not showing up when creating Invoice

    Hi Guys,
    For PO standard items, when creating an invoice and is unconfirmed, these items still show up in the invoice screen and the invoice gets created with the status 'Waiting for preceding document'. For unconfirmed limit items, these items do not show up at all in the creation of the invoice and displays an error. My question is how will I make the unconfirmed limit items scenario work just like the standard items scenario whereby instead of the unconfirmed limit items not showing up and generating an error, they will show up and have the invoice created with the status 'Waiting for preceding document'?
    Thanks in advance!

    Is this thread still valid? If not, please close the thread.
    If so, as no response has been submitted, please rephrase your question and/or provide further information to describe your requirement.
    Thanks
    Jason
    SDN SRM Moderator Team

Maybe you are looking for