Skip to Content
author's profile photo Former Member
Former Member

Not able to use RegionCode Datatype in Opportunity Extension BO


I have extended the Opportunity BO and added some custom fields. I need a element "State" with type RegionCode, I'm getting error when I try to activate the xBO that "Code datatypes using listID for value help are not supported". I'm getting this error only for RegionCode. For CountryCode its not giving any error.

I tried both the namespaces Common.DataTypes and AP.Common.GDT where this RegionCode is present. I'm able to use this Datatype in Custom BOs without any error. Is there any specific reason why this datatype is not allowed for use with xBOs ? What are my other alternatives if I need to use RegionCode.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jun 06, 2014 at 06:26 AM

    Hello Srikanth,

    I am sorry but the Extension Framework (which is used for Extension BO) does not support such code list which depend on the values of another code list. 😔

    The BO Framework for Custom BOs does support it. 😊

    So you can not use GDT like RegionCode, TaxRateTypeCode, ... in Extension BOs.

    If you are using only one country you may define your own RegionCode with the regions (states) for this country.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.