最近做的另外一个问题。
客户是这样的business scenario, 在CRM这边做了一个quotation, 这个quotation传到R/3也作为一个quotation,在R/3那边客户参照这个quotation做了sales order 和delivery. 在crm系统,他登上Web GUI去查看这张quotation的Transaction history,
除了传到R/3的quotation, 什么也没有。这是一个在CRM2007的一个系统设计,也就是我们说的Standard design.
看一下CL_CRM_DOCFLOW_RUN_BTIL->INTERACTION_HISTORY的hard coding, 就明白了。
WHEN gc_object_type-sales.
CHECK ls_doc_flow_target-objtype = gc_object_type-task OR
ls_doc_flow_target-objtype = gc_object_type-businessactivity
ls_doc_flow_target-objtype = gc_object_type-activity OR
ls_doc_flow_target-objtype = gc_object_type-opportunity OR
ls_doc_flow_target-objtype = gc_object_type-lead OR
ls_doc_flow_target-objtype = gc_object_type-complaint OR
ls_doc_flow_target-objtype = gc_object_type-sales OR
ls_doc_flow_target-objtype = gc_object_type-service OR
*do not show replication documents for sales in history
ls_doc_flow_target-objtype = gc_r3_objtype-order OR
ls_doc_flow_target-objtype = gc_object_type-settledoc OR
ls_doc_flow_target-objtype = gc_object_type-contract_sales O
ls_doc_flow_target-objtype = gc_object_type-contract_service
ls_doc_flow_target-objtype = gc_object_type-contract_finance
WHEN gc_object_type_item-sales.
CHECK ls_doc_flow_target-objtype = gc_object_type-task OR
ls_doc_flow_target-objtype = gc_object_type-businessactivity
ls_doc_flow_target-objtype = gc_object_type-activity OR
ls_doc_flow_target-objtype = gc_object_type_item-opportunity
ls_doc_flow_target-objtype = gc_object_type_item-lead OR
ls_doc_flow_target-objtype = gc_object_type_item-complaint OR
ls_doc_flow_target-objtype = gc_object_type_item-sales OR
ls_doc_flow_target-objtype = gc_object_type_item-cust_contra
如果大家需要ERP的哦Order传到web gui的Transaction history,就需要做modification.
至于为什么要设计成这样,我再跟开发确认,还没有答复。
希望有帮助!
昭杰