I have a value in a string form. The field name is CF$_LMWEQUIMENT
and the output is a single string separated by ^
. Here is an example:
^All_Equipm^Consulting^DITCHCLEANER^Friction_M^
I need to output the real values this way of the the database value like this:
All Equipment, Consulting, Ditch Cleaner, Friction Management.
I have this query to get CF$_LMWEQUIMENT
SELECT T1.OPPORTUNITY_NO AS BO_NUMBER,
T2.CF$_LMWEQUIMENT AS Equiment_Group,
T1.STATE AS Status
FROM BUSINESS_OPPORTUNITY T1 JOIN
BUSINESS_OPPORTUNITY_CFT T2 on (T1.OBJKEY = T2.ROWKEY)
I have the API that can transform to the real value, for instance:
select custom_field_enum_values_api.Get_Client_Value('EQUIGROLMW','DITCHCLEANER')
from dual;
The output from the API will be Ditch Cleaner
. However, my goal is to have all the values in a single string and cell such as I explained in my previous paragraph -> All Equipment, Consulting, Ditch Cleaner, Friction Management
.
You can notice in the picture. The field Equipment_Group has the string separated by (^)
custom_field_enum_values_api.Get_Client_Value('EQUIGROLMW','DITCHCLEANER')
But the API is only allowing me to pass two parameters: the first one is table_name and the second one is the database_value the output from the API is the real name, which is the value that I am looking for. I want my output to be similar to the picture in one cell such as Equiment_group field but I want the values output from the API in a single cell.