zoukankan      html  css  js  c++  java
  • Product settype acts as a very important role in CRM WebClient UI architecture

    Product settype acts as a very important role in CRM WebClient UI architecture.

    clipboard1

    The GenIL layer knows nothing about attributes modeled in settype. Instead, it only knows product BOL model attributes.
    The API knows nothing about attributes modeled in Genil model. Instead, it only knows attributes modeled in settype.
    clipboard2

    In GenIL implementation, there is a util class CL_CRM_PRODIL_UTIL~GET_REQUEST_INFO which maps the name of requested BOL model node name into the name of settype. The mapping from BOL model name and settype are maintained in configuration table CRMC_PRIL_OBJ. The GenIL implementation will use this table to get settype GUID, and then get the name of corrresponding settype by GUID and pass the settype name to API.

    clipboard3

    Let's review the end-to-end process:
    Product overview page consists of assignment blocks.

    clipboard4

    Each assignment block is technically modeled based on a GenIL model node. There is association modeled in GenIL Model which connects root node to this node used in assignment block view. The picture below shows the technical implementation of assignment block view "Categories".

    clipboard5

    When the product overview page is opened, the data for each assignment block should be queried and displayed in WebClient UI. The GenIL model node name is passed from UI component discussed above to GenIL. GenIL then find the id of settype according to the following logic and pass the settype ID to API:

    clipboard6

    The picture belows shows the GenIL passes the settype id to API:

    clipboard7

    Set types are assigned to categories and not to products directly. By assigning set types to categories, and then in turn assigning the categories to products, you can make available the data you require to describe your products.
    The mechanism is illustrated below:

    clipboard8

    You can assign settypes to a category in GUI tcode COMM_HIERARCHY:

    clipboard9

    or in WebClient UI:

    clipboard10

    要获取更多Jerry的原创文章,请关注公众号"汪子熙":
    公众号截图

  • 相关阅读:
    mvc5+ef6+Bootstrap 项目心得--创立之初
    C# StopWatch的使用
    MVC Form异步请求
    bootstrap-datepicker带中文的js文件
    bootstrap
    mvc5+ef6+Bootstrap 项目心得--WebGrid
    mvc5+ef6+Bootstrap 项目心得--身份验证和权限管理
    关于mvc5+EF里面的db.Entry(model).State = EntityState.Modified报错问题
    将DBF文件导入Sqlserver数据库
    MySQL主从报错解决:Failed to initialize the master info structure
  • 原文地址:https://www.cnblogs.com/sap-jerry/p/12054545.html
Copyright © 2011-2022 走看看