[SalesForce] Lookup Relationship question

I'm still new-ish to SF, so sorry if this is a stupid question.

Set-up

I create an object, test, and at creation I allow activities to be associated with that object. Test has a lookup relationship with activities via the related to field. Say I create a record for test and an activity related to it.

Question:
when I delete the test object record, why is the activity record deleted? according to SF look-up relationships have "no effect on deletion or security."

http://www.salesforce.com/us/developer/docs/api/Content/relationships_among_objects.htm

Help!

Das Noobre

(Not sure which tag to use here for general SF questions, so sorry in advance)

Best Answer

The relationship fields on Activity aren't actually Lookups, but polymorphic relationship fields. This is a special field type that the platform uses when a child record can have a relationship to more than one type of Parent. They aren't available as a field type to Salesforce users when defining new relationships in the database but they do show up on a few Standard objects.

They behave more like Master/Detail relationship fields when it comes to parent deletion.