数据库表CRMD_ORDERADM_I里字段OBJECT_TYPE的计算逻辑

In order to resolve one issue I need to figure out the logic how field OBJECT_TYPE is populated in table CRMD_ORDERADM_I.

For example, I have the following opportunity line item:

In table this field is marked as BUS20000130. How this value is determined?

First of all, the item category OPPT is determined by the following customizing:

In my example, my opportunity type is OPPT and item category configured in product “JerryWang" is NORM, so OPPT is determined as customizing.

for item category OPPT, BUS20000130 is configured as item object type here:

The type determination logic could be understod by debugging function module CRM_ORDER_ITEM_TYPE_SELECT_CB.

# keyword

CRMD_ORDERADM_I, OBJECT_TYPE, CRM_ORDER_ITEM_TYPE_SELECT_CB

完整实例:http://github.crmeb.net/u/defu

来自 “开源世界 ” ,链接:http://ym.baisou.ltd/post/648.html,如需转载,请注明出处,否则将追究法律责任。