How to delete outline code value using PDS

  • Thread starter How to delete outline code value - PDS
  • Start date
H

How to delete outline code value - PDS

Hello all!
Help me somebody, if you can...

I get list of outline code using PDS:
<Request>
<EnterpriseOutlineCodes>
</EnterpriseOutlineCodes>
</Request>

Reply such is:
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>admin</UserName>
<OutlineCodes>
<MaxUsedCodeUID>60</MaxUsedCodeUID>
<OutlineCode>
<UID>188744618</UID>
<Name>Program</Name>
<Warpable>0</Warpable>
<SelectLeafOnly>0</SelectLeafOnly>
<SelectionRequired>0</SelectionRequired>
<Nodes>
<Node>
<UID>45</UID>
<Description>
</Description>
<Value>SE</Value>
<Node>
<Node>
<UID>60</UID>
<Description>
</Description>
<Value>SE</Value>
<Node>
</Nodes>
<Masks>
....
</Masks>
</OutlineCode>
</OutlineCodes>
</Reply>

I want to know UID of EnterpriseGlobal:
<Request>
<ProjectsStatus>
<ProjectType>2</ProjectType>
</ProjectsStatus>
</Request>

Reply is:
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>admin</UserName>
<ProjectsStatus>
<Project>
<ProjectID>278</ProjectID>
<ProjectName>global20051209181200</ProjectName>
<ProjectType>2</ProjectType>
<ProjectPrefix>
</ProjectPrefix>
<ProjectVersion>
</ProjectVersion>
<ProjectCheckedout>0</ProjectCheckedout>
<Access>1</Access>
<ProjectUserWrite>1</ProjectUserWrite>
<LastModified>20051209181200</LastModified>
<ReplyStatus>0</ReplyStatus>
</Project>
</ProjectsStatus>
</Reply>

I check out EnterpriseGlobal:
<Request>
<ProjectsCheckout>
<Project>
<ProjectID>278</ProjectID>
</Project>
</ProjectsCheckout>
</Request>

Reply is:
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>admin</UserName>
</Reply>

I delete value with UID 60:
<Request>
<OutlineCodeDeleteValues>
<UID>188744618</UID>
<Values>
<Value>
<UID>60</UID>
</Value>
</Values>
</OutlineCodeDeleteValues>
</Request>

Reply is (!!!):
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>admin</UserName>
</Reply>

I check in EnterpriseGlobal:
<Request>
<ProjectsCheckin>
<Project>
<ProjectID>278</ProjectID>
</Project>
</ProjectsCheckin>
</Request>

Reply is:
<Reply>
<HRESULT>0</HRESULT>
<STATUS>0</STATUS>
<UserName>admin</UserName>
</Reply>

That' s all - deleted of value completed. But, when I check list of values
(EnterpriseOutlineCodes), I find out what value with UID 60 is in a list!

What is it mean???
Truly yours, Alexander.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top