Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleExample 02 - simple create
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSaveProjectResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsSaveProjectResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-01-30T19:21:45.0181651Z</ServerTimestampUtc>
            <a:Project i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <a:ProjectIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ProjectCode>P001053-002</b:ProjectCode>
               <b:ProjectId i:nil="true"/>
               <b:ProjectUid>1152921504607411717</b:ProjectUid>
            </a:ProjectIdentity>
            <a:EngagementTimestamp>AAAAAA+IE/Q=</a:EngagementTimestamp>
            <a:LockStolenFromUserIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
         </PwsSaveProjectResult>
      </PwsSaveProjectResponse>
   </s:Body>
</s:Envelope>
Code Block
languagexml
titleExample 03 - complex case of create/update
collapsetrue
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSaveProjectResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsSaveProjectResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:PwsMessage>
                  <b:AdditionalErrorText>Warning 54822: WARNING - Task plan summarization pending</b:AdditionalErrorText>
                  <b:ErrorCode>TaskPlanSummarizationPending</b:ErrorCode>
                  <b:ErrorNumber>54822</b:ErrorNumber>
                  <b:ErrorText>WARNING: Task plan summarization is not complete. Some task plan information (full WBS codes, planned dates) will be missing or invalid.</b:ErrorText>
                  <b:Type>Warning</b:Type>
               </b:PwsMessage>
            </Messages>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-01-31T20:21:21.3968384Z</ServerTimestampUtc>
            <a:Project xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ProjectDetail>
                  <b:ProjectCode>P001053-WS5</b:ProjectCode>
                  <b:ProjectId i:nil="true"/>
                  <b:ProjectUid>1152921504607411807</b:ProjectUid>
                  <b:EngagementIdentity>
                     <b:EngagementCode>P001053</b:EngagementCode>
                     <b:EngagementId i:nil="true"/>
                     <b:EngagementUid>1152921504607090526</b:EngagementUid>
                  </b:EngagementIdentity>
                  <b:ProjectName>Updated using PwsSaveProject</b:ProjectName>
                  <b:CloseDate>2019-07-27T00:00:00Z</b:CloseDate>
                  <b:CostGlccOverride i:nil="true"/>
                  <b:CostPlccMappingType i:nil="true"/>
                  <b:DefaultSchedulingMode>D</b:DefaultSchedulingMode>
                  <b:Description>Updated scription from web service</b:Description>
                  <b:EmEmailFlag>true</b:EmEmailFlag>
                  <b:EngagementTimestamp>AAAAAA+JjCo=</b:EngagementTimestamp>
                  <b:ExpenseApprovalUserIdentity>
                     <b:UserDisplayName>Larry Krakauer</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>097</b:UserReferenceSystemId>
                     <b:UserUid>1152921504606944254</b:UserUid>
                  </b:ExpenseApprovalUserIdentity>
                  <b:ExpenseApproverType>U</b:ExpenseApproverType>
                  <b:ExpenseEntryRestrictedToResourcesAssignedToRolesFlag>false</b:ExpenseEntryRestrictedToResourcesAssignedToRolesFlag>
                  <b:LocationIdentity>
                     <b:LocationId i:nil="true"/>
                     <b:LocationName>London</b:LocationName>
                     <b:LocationUid>1152921504606850976</b:LocationUid>
                  </b:LocationIdentity>
                  <b:ManagerIdentity>
                     <b:UserDisplayName>Larry Krakauer</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>097</b:UserReferenceSystemId>
                     <b:UserUid>1152921504606944254</b:UserUid>
                  </b:ManagerIdentity>
                  <b:MinutesPerDay>420</b:MinutesPerDay>
                  <b:NarrativeRequiredFlag>true</b:NarrativeRequiredFlag>
                  <b:NewProjectCode i:nil="true"/>
                  <b:OpenDate>2011-01-01T00:00:00Z</b:OpenDate>
                  <b:OpenForCostFlag>false</b:OpenForCostFlag>
                  <b:OpenForCostTransferFlag>false</b:OpenForCostTransferFlag>
                  <b:OpenForTimeFlag>false</b:OpenForTimeFlag>
                  <b:OpenForTimeTransferFlag>false</b:OpenForTimeTransferFlag>
                  <b:PercentLikelihood>0</b:PercentLikelihood>
                  <b:PmModuleEnabledFlag>true</b:PmModuleEnabledFlag>
                  <b:ProjectStageIdentity>
                     <b:ProjectStageId i:nil="true"/>
                     <b:ProjectStageName>Delivery</b:ProjectStageName>
                     <b:ProjectStageShortName>Delivery</b:ProjectStageShortName>
                     <b:ProjectStageUid>1152921504606849646</b:ProjectStageUid>
                  </b:ProjectStageIdentity>
                  <b:ProjectWorkspaceEnabledFlag>true</b:ProjectWorkspaceEnabledFlag>
                  <b:Rates>
                     <b:PwsProjectRate>
                        <b:BeginDate i:nil="true"/>
                        <b:BillingAdjustedDiscountPercent>3</b:BillingAdjustedDiscountPercent>
                        <b:ContractDiscountPercent>1</b:ContractDiscountPercent>
                        <b:EndDate>2018-05-31T00:00:00Z</b:EndDate>
                        <b:RateCardIdentity>
                           <b:RateCardId i:nil="true"/>
                           <b:RateCardName>Standard Public Sector Rates (USD)</b:RateCardName>
                           <b:RateCardType>R</b:RateCardType>
                           <b:RateCardUid>1152921504606854737</b:RateCardUid>
                        </b:RateCardIdentity>
                     </b:PwsProjectRate>
                     <b:PwsProjectRate>
                        <b:BeginDate>2018-06-01T00:00:00Z</b:BeginDate>
                        <b:BillingAdjustedDiscountPercent>10</b:BillingAdjustedDiscountPercent>
                        <b:ContractDiscountPercent>5</b:ContractDiscountPercent>
                        <b:EndDate i:nil="true"/>
                        <b:RateCardIdentity>
                           <b:RateCardId i:nil="true"/>
                           <b:RateCardName>Standard Financial Services Rates (USD)</b:RateCardName>
                           <b:RateCardType>R</b:RateCardType>
                           <b:RateCardUid>1152921504606854735</b:RateCardUid>
                        </b:RateCardIdentity>
                     </b:PwsProjectRate>
                  </b:Rates>
                  <b:TimeApprovalUserIdentity>
                     <b:UserDisplayName>Ronni Skerker</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>030</b:UserReferenceSystemId>
                     <b:UserUid>1152921504606944264</b:UserUid>
                  </b:TimeApprovalUserIdentity>
                  <b:TimeApproverType>U</b:TimeApproverType>
                  <b:TimeEntryRestrictedToResourcesAssignedToRolesFlag>false</b:TimeEntryRestrictedToResourcesAssignedToRolesFlag>
                  <b:TimeEntryRestrictedToRolesAssignedToTasksFlag>false</b:TimeEntryRestrictedToRolesAssignedToTasksFlag>
                  <b:TimeGlccOverride i:nil="true"/>
                  <b:TimePlccMappingType i:nil="true"/>
                  <b:UserDefinedFields>
                     <b:PwsUserDefinedFieldDetail>
                        <b:UdfId i:nil="true"/>
                        <b:UdfName>Tentative Start Date</b:UdfName>
                        <b:UdfUid>1152921504606859825</b:UdfUid>
                        <b:BooleanValue i:nil="true"/>
                        <b:DataType>D</b:DataType>
                        <b:DateValue>2018-01-01T00:00:00Z</b:DateValue>
                        <b:IntegerValue i:nil="true"/>
                        <b:ResourceIdentityValue i:nil="true"/>
                        <b:TextValue i:nil="true"/>
                        <b:UdfTreatment>A</b:UdfTreatment>
                        <b:StoplightValues/>
                        <b:NumericValue i:nil="true"/>
                        <b:RelationValue i:nil="true"/>
                     </b:PwsUserDefinedFieldDetail>
                  </b:UserDefinedFields>
                  <b:WorkspaceMessages>This project is created to manage the set and costume production for Met Opera's Don Carlo production</b:WorkspaceMessages>
                  <b:BookExpenseResourceCostCenterIdentity>
                     <b:CostCenterId i:nil="true"/>
                     <b:CostCenterName>RevCorp CA</b:CostCenterName>
                     <b:CostCenterNumber>CA</b:CostCenterNumber>
                     <b:CostCenterUid>1152921504606856647</b:CostCenterUid>
                  </b:BookExpenseResourceCostCenterIdentity>
                  <b:BookExpenseResourcesAllowCode>C</b:BookExpenseResourcesAllowCode>
                  <b:BookTimeResourceCostCenterIdentity i:nil="true"/>
                  <b:BookTimeResourcesAllowCode>A</b:BookTimeResourcesAllowCode>
                  <b:PlccMappings>
                     <b:PwsProjectPlccMappingCostCenter>
                        <b:AllocationFraction>0.85</b:AllocationFraction>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp CA</b:CostCenterName>
                           <b:CostCenterNumber>CA</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856647</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:CostCenterType>S</b:CostCenterType>
                        <b:GlccOverride i:nil="true"/>
                        <b:MappingType>TR</b:MappingType>
                     </b:PwsProjectPlccMappingCostCenter>
                     <b:PwsProjectPlccMappingCostCenter>
                        <b:AllocationFraction>0.15</b:AllocationFraction>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp US</b:CostCenterName>
                           <b:CostCenterNumber>US</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856648</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:CostCenterType>S</b:CostCenterType>
                        <b:GlccOverride>CC-ABC</b:GlccOverride>
                        <b:MappingType>TR</b:MappingType>
                     </b:PwsProjectPlccMappingCostCenter>
                     <b:PwsProjectPlccMappingCostCenter>
                        <b:AllocationFraction>0.55</b:AllocationFraction>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp CA</b:CostCenterName>
                           <b:CostCenterNumber>CA</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856647</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:CostCenterType>S</b:CostCenterType>
                        <b:GlccOverride i:nil="true"/>
                        <b:MappingType>RDC</b:MappingType>
                     </b:PwsProjectPlccMappingCostCenter>
                     <b:PwsProjectPlccMappingCostCenter>
                        <b:AllocationFraction>0.45</b:AllocationFraction>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp US</b:CostCenterName>
                           <b:CostCenterNumber>US</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856648</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:CostCenterType>S</b:CostCenterType>
                        <b:GlccOverride i:nil="true"/>
                        <b:MappingType>RDC</b:MappingType>
                     </b:PwsProjectPlccMappingCostCenter>
                     <b:PwsProjectPlccMappingCostCenter>
                        <b:AllocationFraction>0.53</b:AllocationFraction>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp CA</b:CostCenterName>
                           <b:CostCenterNumber>CA</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856647</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:CostCenterType>S</b:CostCenterType>
                        <b:GlccOverride i:nil="true"/>
                        <b:MappingType>SRDC</b:MappingType>
                     </b:PwsProjectPlccMappingCostCenter>
                     <b:PwsProjectPlccMappingCostCenter>
                        <b:AllocationFraction>0.47</b:AllocationFraction>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp US</b:CostCenterName>
                           <b:CostCenterNumber>US</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856648</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:CostCenterType>S</b:CostCenterType>
                        <b:GlccOverride i:nil="true"/>
                        <b:MappingType>SRDC</b:MappingType>
                     </b:PwsProjectPlccMappingCostCenter>
                     <b:PwsProjectPlccMappingCostCenter>
                        <b:AllocationFraction>0.75</b:AllocationFraction>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp CA</b:CostCenterName>
                           <b:CostCenterNumber>CA</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856647</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:CostCenterType>S</b:CostCenterType>
                        <b:GlccOverride i:nil="true"/>
                        <b:MappingType>OR</b:MappingType>
                     </b:PwsProjectPlccMappingCostCenter>
                     <b:PwsProjectPlccMappingCostCenter>
                        <b:AllocationFraction>0.25</b:AllocationFraction>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp US</b:CostCenterName>
                           <b:CostCenterNumber>US</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856648</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:CostCenterType>S</b:CostCenterType>
                        <b:GlccOverride i:nil="true"/>
                        <b:MappingType>OR</b:MappingType>
                     </b:PwsProjectPlccMappingCostCenter>
                     <b:PwsProjectPlccMappingCostCenter>
                        <b:AllocationFraction>0.65</b:AllocationFraction>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp CA</b:CostCenterName>
                           <b:CostCenterNumber>CA</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856647</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:CostCenterType>S</b:CostCenterType>
                        <b:GlccOverride i:nil="true"/>
                        <b:MappingType>OE</b:MappingType>
                     </b:PwsProjectPlccMappingCostCenter>
                     <b:PwsProjectPlccMappingCostCenter>
                        <b:AllocationFraction>0.35</b:AllocationFraction>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>RevCorp US</b:CostCenterName>
                           <b:CostCenterNumber>US</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606856648</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:CostCenterType>S</b:CostCenterType>
                        <b:GlccOverride i:nil="true"/>
                        <b:MappingType>OE</b:MappingType>
                     </b:PwsProjectPlccMappingCostCenter>
                  </b:PlccMappings>
                  <b:ContractLineItemIdentity>
                     <b:ContractLineItemCode>P001053-CL1</b:ContractLineItemCode>
                     <b:ContractLineItemId i:nil="true"/>
                     <b:ContractLineItemUid>1152921504606877177</b:ContractLineItemUid>
                  </b:ContractLineItemIdentity>
                  <b:ManagementTeam>
                     <b:PwsProjectManagementTeamMember>
                        <b:EmailFlag>true</b:EmailFlag>
                        <b:UpdateFlag>true</b:UpdateFlag>
                        <b:UserIdentity>
                           <b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
                           <b:UserId i:nil="true"/>
                           <b:UserReferenceSystemId i:nil="true"/>
                           <b:UserUid>1152921504606950320</b:UserUid>
                        </b:UserIdentity>
                     </b:PwsProjectManagementTeamMember>
                  </b:ManagementTeam>
                  <b:BdDashboards>
                     <b:PwsProjectBdDashboard>
                        <b:BookedResourcesAllowedFlag>true</b:BookedResourcesAllowedFlag>
                        <b:ClientsAllowedFlag>true</b:ClientsAllowedFlag>
                        <b:DashboardAlias>actual hours</b:DashboardAlias>
                        <b:DashboardName>Actual Hours</b:DashboardName>
                        <b:DashboardParameters>{0}</b:DashboardParameters>
                        <b:EmAllowedFlag>true</b:EmAllowedFlag>
                        <b:LtdBookedResourcesAllowedFlag>false</b:LtdBookedResourcesAllowedFlag>
                        <b:LtdOtherResourcesAllowedFlag>false</b:LtdOtherResourcesAllowedFlag>
                        <b:OtherResourcesAllowedFlag>false</b:OtherResourcesAllowedFlag>
                        <b:PmAllowedFlag>true</b:PmAllowedFlag>
                     </b:PwsProjectBdDashboard>
                  </b:BdDashboards>
                  <b:ExpenseTypeConfigurationIdentity i:nil="true"/>
                  <b:InheritPurchaseOrderNumberFlag>false</b:InheritPurchaseOrderNumberFlag>
                  <b:PurchaseOrderNumber>Met-Don-Carlo</b:PurchaseOrderNumber>
               </b:ProjectDetail>
               <b:RateTypes>
                  <b:PwsProjectRateTypeElement>
                     <b:ProjectRateTypeDetail>
                        <b:ExternalSystemIdentifier i:nil="true"/>
                        <b:ProjectRateTypeId i:nil="true"/>
                        <b:ProjectRateTypeUid>1152921504607348681</b:ProjectRateTypeUid>
                        <b:ProjectRateTypeName>Regular</b:ProjectRateTypeName>
                        <b:BillingAdjustedDiscountPercent i:nil="true"/>
                        <b:BillingAdjustedHourlyRate i:nil="true"/>
                        <b:ContractDiscountPercent i:nil="true"/>
                        <b:ContractHourlyRate i:nil="true"/>
                        <b:SortOrder>1</b:SortOrder>
                        <b:StandardRateTypeIdentity>
                           <b:StandardRateTypeCode>Reg</b:StandardRateTypeCode>
                           <b:StandardRateTypeId i:nil="true"/>
                           <b:StandardRateTypeName>Regular</b:StandardRateTypeName>
                           <b:StandardRateTypeUid>1152921504606847191</b:StandardRateTypeUid>
                        </b:StandardRateTypeIdentity>
                     </b:ProjectRateTypeDetail>
                  </b:PwsProjectRateTypeElement>
                  <b:PwsProjectRateTypeElement>
                     <b:ProjectRateTypeDetail>
                        <b:ExternalSystemIdentifier i:nil="true"/>
                        <b:ProjectRateTypeId i:nil="true"/>
                        <b:ProjectRateTypeUid>1152921504607348682</b:ProjectRateTypeUid>
                        <b:ProjectRateTypeName>Not Chargeable</b:ProjectRateTypeName>
                        <b:BillingAdjustedDiscountPercent i:nil="true"/>
                        <b:BillingAdjustedHourlyRate>0</b:BillingAdjustedHourlyRate>
                        <b:ContractDiscountPercent i:nil="true"/>
                        <b:ContractHourlyRate i:nil="true"/>
                        <b:SortOrder>2</b:SortOrder>
                        <b:StandardRateTypeIdentity>
                           <b:StandardRateTypeCode>NC</b:StandardRateTypeCode>
                           <b:StandardRateTypeId i:nil="true"/>
                           <b:StandardRateTypeName>Not Chargeable</b:StandardRateTypeName>
                           <b:StandardRateTypeUid>1152921504606847193</b:StandardRateTypeUid>
                        </b:StandardRateTypeIdentity>
                     </b:ProjectRateTypeDetail>
                  </b:PwsProjectRateTypeElement>
               </b:RateTypes>
               <b:Roles/>
               <b:TaskTypes>
                  <b:PwsProjectTaskTypeElement>
                     <b:ProjectTaskTypeDetail>
                        <b:ExternalSystemIdentifier i:nil="true"/>
                        <b:ProjectTaskTypeId i:nil="true"/>
                        <b:ProjectTaskTypeUid>1152921504608105007</b:ProjectTaskTypeUid>
                        <b:ProjectTaskTypeName>Design</b:ProjectTaskTypeName>
                        <b:AllowedProjectRateTypeIdentities>
                           <b:PwsProjectRateTypeRef>
                              <b:ExternalSystemIdentifier i:nil="true"/>
                              <b:ProjectRateTypeId i:nil="true"/>
                              <b:ProjectRateTypeUid>1152921504607348681</b:ProjectRateTypeUid>
                           </b:PwsProjectRateTypeRef>
                           <b:PwsProjectRateTypeRef>
                              <b:ExternalSystemIdentifier i:nil="true"/>
                              <b:ProjectRateTypeId i:nil="true"/>
                              <b:ProjectRateTypeUid>1152921504607348682</b:ProjectRateTypeUid>
                           </b:PwsProjectRateTypeRef>
                        </b:AllowedProjectRateTypeIdentities>
                        <b:DefaultProjectRateTypeIdentity>
                           <b:ExternalSystemIdentifier i:nil="true"/>
                           <b:ProjectRateTypeId i:nil="true"/>
                           <b:ProjectRateTypeUid>1152921504607348681</b:ProjectRateTypeUid>
                        </b:DefaultProjectRateTypeIdentity>
                        <b:InactiveFlag>false</b:InactiveFlag>
                        <b:NarrativeRequiredFlag>false</b:NarrativeRequiredFlag>
                        <b:NewExternalSystemIdentifier i:nil="true"/>
                        <b:SortOrder>1</b:SortOrder>
                        <b:StandardTaskTypeIdentity>
                           <b:StandardTaskTypeCode>T4</b:StandardTaskTypeCode>
                           <b:StandardTaskTypeId i:nil="true"/>
                           <b:StandardTaskTypeName>Design</b:StandardTaskTypeName>
                           <b:StandardTaskTypeUid>1152921504606847724</b:StandardTaskTypeUid>
                        </b:StandardTaskTypeIdentity>
                        <b:InheritPurchaseOrderNumberFlag>true</b:InheritPurchaseOrderNumberFlag>
                        <b:PurchaseOrderNumber i:nil="true"/>
                     </b:ProjectTaskTypeDetail>
                  </b:PwsProjectTaskTypeElement>
                  <b:PwsProjectTaskTypeElement>
                     <b:ProjectTaskTypeDetail>
                        <b:ExternalSystemIdentifier i:nil="true"/>
                        <b:ProjectTaskTypeId i:nil="true"/>
                        <b:ProjectTaskTypeUid>1152921504608105008</b:ProjectTaskTypeUid>
                        <b:ProjectTaskTypeName>Implementation</b:ProjectTaskTypeName>
                        <b:AllowedProjectRateTypeIdentities>
                           <b:PwsProjectRateTypeRef>
                              <b:ExternalSystemIdentifier i:nil="true"/>
                              <b:ProjectRateTypeId i:nil="true"/>
                              <b:ProjectRateTypeUid>1152921504607348681</b:ProjectRateTypeUid>
                           </b:PwsProjectRateTypeRef>
                           <b:PwsProjectRateTypeRef>
                              <b:ExternalSystemIdentifier i:nil="true"/>
                              <b:ProjectRateTypeId i:nil="true"/>
                              <b:ProjectRateTypeUid>1152921504607348682</b:ProjectRateTypeUid>
                           </b:PwsProjectRateTypeRef>
                        </b:AllowedProjectRateTypeIdentities>
                        <b:DefaultProjectRateTypeIdentity>
                           <b:ExternalSystemIdentifier i:nil="true"/>
                           <b:ProjectRateTypeId i:nil="true"/>
                           <b:ProjectRateTypeUid>1152921504607348681</b:ProjectRateTypeUid>
                        </b:DefaultProjectRateTypeIdentity>
                        <b:InactiveFlag>false</b:InactiveFlag>
                        <b:NarrativeRequiredFlag>false</b:NarrativeRequiredFlag>
                        <b:NewExternalSystemIdentifier i:nil="true"/>
                        <b:SortOrder>2</b:SortOrder>
                        <b:StandardTaskTypeIdentity>
                           <b:StandardTaskTypeCode>T8</b:StandardTaskTypeCode>
                           <b:StandardTaskTypeId i:nil="true"/>
                           <b:StandardTaskTypeName>Implementation</b:StandardTaskTypeName>
                           <b:StandardTaskTypeUid>1152921504606847728</b:StandardTaskTypeUid>
                        </b:StandardTaskTypeIdentity>
                        <b:InheritPurchaseOrderNumberFlag>true</b:InheritPurchaseOrderNumberFlag>
                        <b:PurchaseOrderNumber i:nil="true"/>
                     </b:ProjectTaskTypeDetail>
                  </b:PwsProjectTaskTypeElement>
                  <b:PwsProjectTaskTypeElement>
                     <b:ProjectTaskTypeDetail>
                        <b:ExternalSystemIdentifier i:nil="true"/>
                        <b:ProjectTaskTypeId i:nil="true"/>
                        <b:ProjectTaskTypeUid>1152921504608105009</b:ProjectTaskTypeUid>
                        <b:ProjectTaskTypeName>Quality Assurance</b:ProjectTaskTypeName>
                        <b:AllowedProjectRateTypeIdentities>
                           <b:PwsProjectRateTypeRef>
                              <b:ExternalSystemIdentifier i:nil="true"/>
                              <b:ProjectRateTypeId i:nil="true"/>
                              <b:ProjectRateTypeUid>1152921504607348681</b:ProjectRateTypeUid>
                           </b:PwsProjectRateTypeRef>
                           <b:PwsProjectRateTypeRef>
                              <b:ExternalSystemIdentifier i:nil="true"/>
                              <b:ProjectRateTypeId i:nil="true"/>
                              <b:ProjectRateTypeUid>1152921504607348682</b:ProjectRateTypeUid>
                           </b:PwsProjectRateTypeRef>
                        </b:AllowedProjectRateTypeIdentities>
                        <b:DefaultProjectRateTypeIdentity>
                           <b:ExternalSystemIdentifier i:nil="true"/>
                           <b:ProjectRateTypeId i:nil="true"/>
                           <b:ProjectRateTypeUid>1152921504607348681</b:ProjectRateTypeUid>
                        </b:DefaultProjectRateTypeIdentity>
                        <b:InactiveFlag>false</b:InactiveFlag>
                        <b:NarrativeRequiredFlag>false</b:NarrativeRequiredFlag>
                        <b:NewExternalSystemIdentifier i:nil="true"/>
                        <b:SortOrder>3</b:SortOrder>
                        <b:StandardTaskTypeIdentity>
                           <b:StandardTaskTypeCode>T10</b:StandardTaskTypeCode>
                           <b:StandardTaskTypeId i:nil="true"/>
                           <b:StandardTaskTypeName>Quality Assurance</b:StandardTaskTypeName>
                           <b:StandardTaskTypeUid>1152921504606847730</b:StandardTaskTypeUid>
                        </b:StandardTaskTypeIdentity>
                        <b:InheritPurchaseOrderNumberFlag>true</b:InheritPurchaseOrderNumberFlag>
                        <b:PurchaseOrderNumber i:nil="true"/>
                     </b:ProjectTaskTypeDetail>
                  </b:PwsProjectTaskTypeElement>
               </b:TaskTypes>
               <b:Tasks>
                  <b:PwsProjectTaskElement>
                     <b:ProjectTaskDetail>
                        <b:ExternalSystemIdentifier i:nil="true"/>
                        <b:ProjectTaskId i:nil="true"/>
                        <b:ProjectTaskUid>1152921504608721383</b:ProjectTaskUid>
                        <b:CompletedFlag>false</b:CompletedFlag>
                        <b:Description i:nil="true"/>
                        <b:DurationMinutes>0</b:DurationMinutes>
                        <b:EarliestStartDate i:nil="true"/>
                        <b:FullWbsCode i:nil="true"/>
                        <b:NewExternalSystemIdentifier i:nil="true"/>
                        <b:OpenForTimeFlag>true</b:OpenForTimeFlag>
                        <b:ParentTaskIdentity i:nil="true"/>
                        <b:PlannedEndDateTime i:nil="true"/>
                        <b:PlannedStartDateTime i:nil="true"/>
                        <b:Predecessors/>
                        <b:PreviousSiblingTaskIdentity i:nil="true"/>
                        <b:ProjectTaskTypeIdentity>
                           <b:ExternalSystemIdentifier i:nil="true"/>
                           <b:ProjectTaskTypeId i:nil="true"/>
                           <b:ProjectTaskTypeUid>1152921504608105007</b:ProjectTaskTypeUid>
                        </b:ProjectTaskTypeIdentity>
                        <b:TaskName>Default Task</b:TaskName>
                        <b:InheritPurchaseOrderNumberFlag>true</b:InheritPurchaseOrderNumberFlag>
                        <b:PurchaseOrderNumber i:nil="true"/>
                        <b:Subscriptions/>
                        <b:UserDefinedFields/>
                     </b:ProjectTaskDetail>
                     <b:ProjectTaskRoles/>
                     <b:TaskTypeInheritPurchaseOrderNumberFlag>true</b:TaskTypeInheritPurchaseOrderNumberFlag>
                  </b:PwsProjectTaskElement>
               </b:Tasks>
               <b:Notes/>
               <b:ProjectCostBaselineSummaries>
                  <b:PwsProjectCostBaselineSummary>
                     <b:ExternalSystemIdentifier i:nil="true"/>
                     <b:ProjectCostBaselineId i:nil="true"/>
                     <b:ProjectCostBaselineUid>1152921504607270412</b:ProjectCostBaselineUid>
                     <b:ActiveProjectCostBaselineFlag>true</b:ActiveProjectCostBaselineFlag>
                     <b:CaMetricActiveFlag>true</b:CaMetricActiveFlag>
                     <b:DaMetricActiveFlag>false</b:DaMetricActiveFlag>
                     <b:Description i:nil="true"/>
                     <b:EaMetricActiveFlag>false</b:EaMetricActiveFlag>
                     <b:PrimaryMetric>C</b:PrimaryMetric>
                     <b:ProjectCostBaselineName>Initial Cost Budget Baseline</b:ProjectCostBaselineName>
                  </b:PwsProjectCostBaselineSummary>
               </b:ProjectCostBaselineSummaries>
               <b:ProjectTimeBaselineSummaries>
                  <b:PwsProjectTimeBaselineSummary>
                     <b:ExternalSystemIdentifier i:nil="true"/>
                     <b:ProjectTimeBaselineId i:nil="true"/>
                     <b:ProjectTimeBaselineUid>1152921504607406510</b:ProjectTimeBaselineUid>
                     <b:ActiveProjectTimeBaselineFlag>true</b:ActiveProjectTimeBaselineFlag>
                     <b:BarMetricActiveFlag>true</b:BarMetricActiveFlag>
                     <b:ChgMetricActiveFlag>false</b:ChgMetricActiveFlag>
                     <b:CrMetricActiveFlag>false</b:CrMetricActiveFlag>
                     <b:Description i:nil="true"/>
                     <b:HrsMetricActiveFlag>false</b:HrsMetricActiveFlag>
                     <b:PrimaryMetric>B</b:PrimaryMetric>
                     <b:ProjectTimeBaselineName>Initial Time Budget Baseline</b:ProjectTimeBaselineName>
                     <b:RdcMetricActiveFlag>false</b:RdcMetricActiveFlag>
                  </b:PwsProjectTimeBaselineSummary>
               </b:ProjectTimeBaselineSummaries>
               <b:ManagementTeamUsers>
                  <b:PwsUserSummary>
                     <b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId i:nil="true"/>
                     <b:UserUid>1152921504606950320</b:UserUid>
                     <b:EmailAddress>bruce@revcorp.doc</b:EmailAddress>
                     <b:FirstName>Bruce</b:FirstName>
                     <b:LastName>Wayne</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </b:PwsUserSummary>
               </b:ManagementTeamUsers>
               <b:Manager>
                  <b:UserDisplayName>Larry Krakauer</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>097</b:UserReferenceSystemId>
                  <b:UserUid>1152921504606944254</b:UserUid>
                  <b:EmailAddress>Larry@revcorp.min.cnv1</b:EmailAddress>
                  <b:FirstName>Larry</b:FirstName>
                  <b:LastName>Krakauer</b:LastName>
                  <b:MiddleName>A</b:MiddleName>
               </b:Manager>
            </a:Project>
            <a:ProjectIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ProjectCode>P001053-WS5</b:ProjectCode>
               <b:ProjectId i:nil="true"/>
               <b:ProjectUid>1152921504607411807</b:ProjectUid>
            </a:ProjectIdentity>
            <a:EngagementTimestamp>AAAAAA+JjBU=</a:EngagementTimestamp>
            <a:LockStolenFromUserIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
         </PwsSaveProjectResult>
      </PwsSaveProjectResponse>
   </s:Body>
</s:Envelope>

PwsSaveProject - Common Errors and Warnings

...

Specified user does not exist.

ErrorNumber

ErrorCode

ErrorText

13020ProjectRateGapOrOverlap

A gap or overlap was detected in the specified project rate date ranges. Project rates must cover all of time with no overlaps.

13023RateCardNotSpecifiedForProjectRateAt least one specified project rate is missing a rate card.
13037WorkspaceMessagesMayNotBeSpecifiedWhenClearFlagSet

The workspace messages may not be specified when the associated clear flag is set.

54039BookedResourceOnlyFlagConflictUse of obsolete booked resources only flags in conflict with booked resources allowed code.
54059EngagementNotSpecifiedA specified engagement identity was incomplete. Each engagement identity must specify either an engagement id, and engagement uid or an engagement code.
54061EngagementNotFoundThe specified engagement does not exist.
54076EngagementIsLockedThe engagement is locked by PPSA Support User and may not be updated.
54083BookResourceCostCenterRequiredBook resource cost center is required when allow code is C
54177InvalidProjectPlccMappingType

Invalid value specified for project PLCC mapping type. Valid values are TR for time card revenue, RDC for resource direct cost, SRDC for subcontractor resource direct cost, OR for ODC revenue and OE for ODC expense.

54178

??? issue #36085

Invalid cost center type specified

54180ProjectPlccMappingsMissingPLCC mappings are incomplete.
54181ProjectPlccMappingsCostCenterInvalid

Cost center is required when cost center type is 'Specific', and may not be specified when cost center type is not 'Specific'.

54182ProjectPlccMappingsAllocationFractionOutOfRangeAllocation percentages must be between 0% and 100%.
54666LocationNotEnabledForProjectsThe specified location is not enabled for projects.
54670ProjectNameRequiredProject name is required for new projects.
54685ProjectDatesCannotBeChangedTimeProject cannot be saved because time cards exist outside of specified open and close dates.
54687ProjectCodeAlreadyInUseThe specified project code is already in use.
54724ProjectsCannotChangeEngagementsProjects may not be moved from one engagement to another.
54876ProjectRateCurrencyMismatch

All project rate cards must be in the same currency as the engagement.

57525CostCenterNotFoundThe specified cost center does not exist.
57540LocationNotSpecifiedLocation is required.
57541LocationNotFoundSpecified location does not exist.

57543

ProjectStageNotFoundThe specified project stage does not exist.
57550UserNotSpecifiedUser is required.
57551UserNotFound