天天看点

使用CDS view获得CRM订单的状态值和描述信息

The final achievement would look like below:

使用CDS view获得CRM订单的状态值和描述信息

Here below are detail steps

(1) Copy a new CDS view by copying the following source code. This view will return all order’s guid together with their process type and status CODE.

使用CDS view获得CRM订单的状态值和描述信息

(2) Get the description of system status CODE by creating this CDS view:

使用CDS view获得CRM订单的状态值和描述信息

(3) Get the description of user status CODE by creating this CDS view:

使用CDS view获得CRM订单的状态值和描述信息

(4) perform an UNION on view created by step 2 and 3, and that’s done.

使用CDS view获得CRM订单的状态值和描述信息

继续阅读