Quantcast
Channel: CRM Development 論壇
Viewing all articles
Browse latest Browse all 10280

Updating statecode of Activitypointer using SQL - CRM 4.0

$
0
0

I'm trying to update the statecode of a number of ActivityPointer records. They are currently set to open, but need to be set to 'Completed'. I was thinking of doing this via directly changing the database using SQL. I tried it for one record, and while it changed the Activity status to 'Completed', I then got an error saying that 'length' couldn't be defined. So I'm presuming that there needs to be some sort of start & end times filled in and length is probably calculated from those times. However, the fields on the Activity are read only (as is the status, that's why I'm trying to update them directly in the database). I don't know muc about Activitypointer, so I'm presuming it's a 'special' entity? There's no form associated with it.

The reason I'm trying to update these records, is because the users want them closed off so they can close the associated communications. Maybe it's not possible/advisable to do this though?

Thanks.


Viewing all articles
Browse latest Browse all 10280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>