ERP和C4C中的function location

简介:

SAP ERP里的Functional Locations,下载到SAP Cloud for Customer后成为类型为‘Functional Location’的Installation Points:

C4C Installation Point UI: /BYD_COD/ServiceOnDemand/InstallationPoint/UI/COD_IPoint_TI.TI.uicomponent

在C4C里辨认一个installation point是从ERP下载的,还是从C4C直接创建的,只需看external ID字段是否为空即可。如果不为空,说明该installation point是从ERP下载的,该字段维护的是ERP的function location ID。

可以看到控制External ID是否Enabled的字段名称为Can_Add_Remove. 这个字段在UI Designer里为黄色,说明它没有绑到BO node上,而是通过动态计算出来的。

计算逻辑:

InstallationPoint的status字段绑定到BO的字段:

/Root/LifeCycleStatusCode->http://sap.com/xi/AP/FO/IBase/Global->Root-~Status-~LifeCycleStatusCode

这个LifeCycleStatusCode字段的事件onValueChanged有个事件处理函数SetIPointParams:

我们可以把这个事件处理函数的逻辑看成一个switch case语句:

当IPointStatus的值为1时,执行名为InPrep的操作。

操作的明细就是把X(true)赋给字段Can_Add_Remove

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

相关文章
|
3月前
|
JavaScript 前端开发 安全
document.domain 与 window.location
document.domain 与 window.location
|
5月前
|
JavaScript 前端开发
location.href和 window.location的区别有这些!
location.href和 window.location的区别有这些!
897 1
thinkphp报错Call to undefined method app\index\controller\Index::fetch()
thinkphp报错Call to undefined method app\index\controller\Index::fetch()
152 0
|
移动开发 Android开发
解决移动端页面window.location.replace不生效的问题
解决移动端页面window.location.replace不生效的问题
1710 0
|
数据挖掘
SAP PM 入门系列 - IL03显示Function Location主数据
SAP PM 入门系列 - IL03显示Function Location主数据
SAP PM 入门系列 - IL03显示Function Location主数据
SAP CRM product attachment的document template功能
SAP CRM product attachment的document template功能
132 0
SAP CRM product attachment的document template功能
SAP C4C基于Thing Type和BO Object两种跳转方式介绍
SAP C4C基于Thing Type和BO Object两种跳转方式介绍
SAP C4C基于Thing Type和BO Object两种跳转方式介绍
why my SAP CRM One Order custom callback is not called
why my SAP CRM One Order custom callback is not called
why my SAP CRM One Order custom callback is not called