本文主要阐述UI组件,genIL和BOL。
先说下这张图。从下往上看,后台具体的表的操作,由CRM包装为一系列的API;这些API再进一步包装为genIL(generic interaction layer);genIL可以在一步由CRM包装出BOL(business object layer),当然开发人员自己也可以建BOL;这些BOL绑定到UI组件MVC架构中的M上;UI组件实例化后就是最终展现到用户浏览器上面的内容。
这两段定义需要准确的理解;
• Business object layer (BOL): The business object layer saves the business
object data, for example of sales orders, at runtime of the SAP CRM session.
This layer guarantees the separation of the CRM WebClient UI and the
underlying business logic.
• Generic interaction layer (genIL): The generic interaction layer handles the
data transfer from the business object layer to the application programming
interfaces (APIs) of the underlying business engine. It is the connection
between the business object layer and the underlying business engine.

本文深入探讨CRM中的UI组件,genIL(通用交互层)和BOL(业务对象层)概念。BOL保存业务对象数据,genIL负责数据传输。UI组件基于MVC架构,事件、方法和页面跳转包含在以_IMPL结尾的类中。理解BOL和genIL的关系至关重要,BOL不直接修改表数据,而是通过genIL调用相应函数处理。文章还介绍了不同类型的BOL对象,如访问对象、依赖对象、根对象、查询对象和动态查询对象,并提供了查询BOL和数据的相关事务代码。
最低0.47元/天 解锁文章
1175

被折叠的 条评论
为什么被折叠?



