Where do these fields in the Status field of service order come from? We may assume that it is from the status profile of the backend configuration. This is not the case.
This transaction type does not allocate any status profile at all, but three optional status values can still be seen on the UI.
The value in the Status field is not exactly from system status profile and user status profile as we imagined. The latter is only one of the data sources.
The values in the drop-down menu are retrieved using the following method: The result of the method execution is the three records that are displayed on the UI.
The specific logic of get_status_info:
Retrieve all 47 States from crmc_status_proc,
The 47 states perform a join with the range field of crnc_bo_ranges according to their range field, filter out the statuses in which the object_type field in the join result is not equal to bus2000116, and only open is left, in process and completed.
For more original Jerry technical articles, follow the Public Account "Wang zixi" or scan the following QR code:
Where do the open, in process, and completed entries in CRM order status come from?