Thanks for your reply.
Yes the custom type is sub type of dm_document.Query used is as below
change dm_document objects to <custom_type> where r_object_id='090505cd800005394'
Yes one aspect is associated with this custom type.Could you please suggest what can be the bug for the aspect? We are on Documentum 7.1.
Am waiting for your reply.