CM: Relationship between Note created in Fiori UI and webclient UI
Created by Jerry Wang, last modified on Jan 13, 2015
Fiori UI上給Opportunity創建一個Note:
?
?
?
HTTP post的request payload里就只有opp guid和user輸入的note內容:?
?
?
?
后臺返回的response也只有這兩個attribute:
?
?
?
最后到webclient UI上卻發現兩條只讀的text,類型為Description和Preparation
?
?
?
?
后臺實現:
?
?
直接用OPEN SQL 找當前創建的opportunity的transaction type對應的text determination 信息。
?
?
Opportunity 對應的text object type hardcode成CRM_ORDERH,changeable的屬性也寫死成P,因此當前的實現,通過Fiori UI創建出來的note 類型都為log ( changeable = P )
?
最后Opportunity OData的實現并沒有call 底層的text API,而是直接call One order的modification,
?
只需要把text determination ID和待創建的note content和language傳入 modify FM:
?
在webclient UI上看到兩個不同text type的note的原因是因為backend system 配置里,指定類型為P的text的content會自動transfer到 changes = R的text里,即Description和Preparation。
?
?
?
?
總結
以上是生活随笔為你收集整理的CM: Relationship between Note created in Fiori UI and webclient UI的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 女子28万买两车位涂鸦被要求复原 物业:
- 下一篇: Document Builder: RE