Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
sumeetvaidya
sumeetvaidya
18 Posts
ACCEPTED ANSWER

Pinned topic Unable to update CreatedDate using updateOrganization transaction.

‏2013-01-25T18:18:22Z |
I am using OOTB updateOrganization transaction to set the CreatedDate attribute to a new value. The CreatedDate is an attribute in PARTY entity. The transaction executes successfully but the value is not updated. The following is the TCRMService request. Any ideas to resolve this are greatly appreciated.

<?xml version="1.0" encoding="UTF-8"?> <!-- ***************************************************** {COPYRIGHT-TOP} *** * Licensed Materials - Property of IBM * "Restricted Materials of IBM" * * 5724-S78 * * (C) Copyright IBM Corp. 2008 All Rights Reserved. * * US Government Users Restricted Rights - Use, duplication, or * disclosure restricted by GSA ADP Schedule Contract with IBM Corp. ********************************************************** {COPYRIGHT-END} -->
<TCRMService xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ZZZRequest.xsd">
<RequestControl>
<requestID>22456</requestID>
<DWLControl>
<requesterName>manualupdate</requesterName>
<requesterLanguage>100</requesterLanguage>
</DWLControl>
</RequestControl>
<TCRMTx>
<TCRMTxType>updateOrganization</TCRMTxType>
<TCRMTxObject>TCRMOrganizationBObj</TCRMTxObject>
<TCRMObject>
<TCRMOrganizationBObj>
<PartyId>151635887942453831</PartyId>
<PartyType>O</PartyType>
<CreatedDate>1970-01-01 00:00:00.000</CreatedDate>
<AlertIndicator>Y</AlertIndicator>
<SourceIdentifierType>20002</SourceIdentifierType>
<PartyLastUpdateDate>2013-01-25 12:01:23.396</PartyLastUpdateDate>
<OrganizationType>1113</OrganizationType>
<EstablishedDate></EstablishedDate>
<OrganizationLastUpdateDate>2013-01-25 12:01:23.396</OrganizationLastUpdateDate>
</TCRMOrganizationBObj>
</TCRMObject>
</TCRMTx>
</TCRMService>

Thanks,
Sumeet