cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a 'Percent' datatype extension field

Former Member
0 Kudos

Hi there,


I am trying to create a new extension field inside an Opportunity Header, called 'Probability go'.

It should be the same property/data type as the out-of-the-box Probability field, which is a 'Percent' type.

Eventually i will create another extension field which is the product of both fields above.

When i go to create a new field in KUT, the type 'Percent' is not available in the list of Types.

How can i make a 'Percent' type field?

thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

arun02_12
Contributor
0 Kudos

Hello Sandico,

Extension framework within C4C does not have a special data type for "%" fields. You can use the field type "Decimal Number" for percentage fields.

You will not get the % indicator with the field. You will have to indicate it as a part of the field label.

Best Regards,

Arun

Former Member
0 Kudos

The problem is i need to allow values 0-100. If i use 'decimal' type, and use 2 places, it will not allow '100'. If i specify 3 places, i can put invalid values, like '655'

JayantSaini
Active Participant

Hi Sandico,

You can create extension field of type Percent from PDI as it is not available via KUT.

Thanks,

Jayant

arun02_12
Contributor
0 Kudos

If you plan to do it via KUT, use 3 places and set up a rule modal validation that will throw an error whenever the entered value is greater than 100.

Answers (2)

Answers (2)

Hey !

You can use the type "Global Data Type" then the Global Data Type "Percent":

You will then have the % field desired :

Hope it will help.

Best Regards;

Former Member
0 Kudos

Thx both of you