Darren Liu's Blog

什么是CRM Callout?

with one comment

Callout 是微软给我们提供增加CRM 3.0功能的方法之一。软件开发者可以编写自己的程式 (dll),然后通过订阅的方式,在CRM Save 纪录之前后, 让CRM执行你的代码。Callout有两种:Pre-Callout是在纪录Save之前执行, Post-Callout是在纪录Save后执行。 Pre-Callout一般用来做纪录Save之前的更改,我常勇PreCallout 来检查系统要将Save的纪录是不是已经在系统里等等。。。 Post-Callout 我通常用来做系统的集成。

以下是CRM的Callout大家可以订阅 (Subscribe):

Logical Event – Description

PreCreate – Generated before an entity instance is created.
PostCreate – Generated after an entity instance is created.
PreUpdate – Generated before an entity instance is updated.
PostUpdate – Generated after an entity instance is updated.
PreDelete – Generated before an entity instance is deleted.
PostDelete – Generated after an entity instance is deleted.
PreAssign – Generated before an entity instance is assigned to a new owner.
PostAssign – Generated after an entity instance is assigned to a new owner.
PreSetState – Generated before the state is changed for entity instance.
PostSetState – Generated after the state is changed for an entity instance.
PreMerge – Generated before merging two entity instances.
PostMerge – Generated after merging two entity instances.
PreSend – Generated before sending an e-mail.
PostDeliver – Generated after delivering an e-mail

Pre-Callout 模式

Post-Callout 模式

 

下一个Blog教大家来做一个Post-Callout.

Advertisements

Written by darrenliu

08/08/2007 at 3:54 am

Posted in Uncategorized

One Response

Subscribe to comments with RSS.

  1. 期待ing。。。。 

    Hu

    08/12/2007 at 2:25 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: